styles.css 177 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633
  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-source.diagnosis { color: #276b4d; background: #e9f6ef; }
  204. .task-status { color: #3565a4; background: #edf5ff; }
  205. .task-status.done { color: #2d7a4d; background: #edf8f1; }
  206. .task-status.blocked, .task-status.dismissed { color: #8a5c22; background: #fff5e8; }
  207. .task-status.suggested { color: #6953a5; background: #f1edfb; }
  208. .task-audience { color: #237344; background: #eaf7ee; }
  209. .unified-task-actions { min-width: 135px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: center; gap: 7px; }
  210. .unified-task-actions > span, .task-promoted { color: #76808d; font-size: 11px; align-self: center; }
  211. .diagnosis-feedback-summary { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 2.2fr); gap: 18px; align-items: center; padding: 14px 16px; border: 1px solid #d9e7df; border-radius: 12px; background: #f7fbf9; }
  212. .diagnosis-feedback-summary > header { display: grid; gap: 3px; }
  213. .diagnosis-feedback-summary > header strong { color: #244d3a; font-size: 13px; }
  214. .diagnosis-feedback-summary > header span { color: #72847a; font-size: 11px; }
  215. .diagnosis-feedback-summary > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  216. .diagnosis-feedback-summary > div > span { min-width: 0; display: grid; gap: 2px; color: #748078; font-size: 10px; }
  217. .diagnosis-feedback-summary > div strong { color: #263c31; font-size: 17px; }
  218. .diagnosis-feedback-form { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px, 1.25fr) minmax(260px, 1fr) auto; gap: 10px; align-items: end; margin-top: 4px; padding: 12px; border: 1px solid #dfe8e3; border-radius: 10px; background: #f8fbf9; }
  219. .diagnosis-feedback-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  220. .diagnosis-feedback-head > div { display: grid; gap: 2px; }
  221. .diagnosis-feedback-head strong { color: #2a4337; font-size: 12px; }
  222. .diagnosis-feedback-head span, .diagnosis-feedback-head > em { color: #7a8880; font-size: 10px; font-style: normal; }
  223. .diagnosis-outcome { border-radius: 999px; padding: 4px 8px; font-weight: 650; }
  224. .diagnosis-outcome.effective { color: #217148; background: #e6f5ec; }
  225. .diagnosis-outcome.partially_effective { color: #7b6421; background: #fff7df; }
  226. .diagnosis-outcome.ineffective { color: #a3473f; background: #fff0ee; }
  227. .diagnosis-outcome.unknown { color: #52616d; background: #edf1f3; }
  228. .diagnosis-outcome-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #d8e1dc; border-radius: 8px; overflow: hidden; background: #fff; }
  229. .diagnosis-outcome-options label { min-width: 0; min-height: 40px; display: grid; place-items: center; padding: 0 8px; border-right: 1px solid #e2e8e4; color: #59685f; font-size: 11px; cursor: pointer; transition: color .18s, background-color .18s; }
  230. .diagnosis-outcome-options label:last-child { border-right: 0; }
  231. .diagnosis-outcome-options label:hover { background: #f0f7f3; }
  232. .diagnosis-outcome-options label.selected, .diagnosis-outcome-options label:has(input:checked) { color: #216d48; background: #e7f5ed; font-weight: 650; }
  233. .diagnosis-outcome-options input { position: absolute; opacity: 0; pointer-events: none; }
  234. .diagnosis-outcome-options label:focus-within { outline: 2px solid #4d8f70; outline-offset: -2px; }
  235. .diagnosis-feedback-note { min-width: 0; display: grid; gap: 4px; }
  236. .diagnosis-feedback-note > span { color: #66766d; font-size: 10px; }
  237. .diagnosis-feedback-note input { width: 100%; min-height: 40px; border: 1px solid #d8e1dc; border-radius: 8px; padding: 0 10px; background: #fff; color: #26352e; }
  238. .diagnosis-feedback-form > .btn { min-height: 40px; }
  239. @media (max-width: 1500px) {
  240. .task-create-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  241. .task-create-form > div { grid-column: 1 / -1; }
  242. .task-filterbar { grid-template-columns: minmax(200px, 1fr) 180px 130px auto; }
  243. .task-filterbar > span { display: none; }
  244. .diagnosis-feedback-form { grid-template-columns: 1fr auto; }
  245. .diagnosis-outcome-options { grid-column: 1 / -1; }
  246. }
  247. @media (max-width: 760px) {
  248. .task-stat-row, .task-policy-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  249. .task-create-form, .task-filterbar { grid-template-columns: 1fr; }
  250. .unified-task-card { grid-template-columns: 4px minmax(0, 1fr); }
  251. .unified-task-actions { grid-column: 2; justify-content: flex-start; }
  252. .unified-task-main > header { align-items: flex-start; flex-direction: column; gap: 6px; }
  253. .diagnosis-feedback-summary { grid-template-columns: 1fr; }
  254. .diagnosis-feedback-summary > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  255. .diagnosis-feedback-form { grid-template-columns: 1fr; }
  256. .diagnosis-outcome-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  257. .diagnosis-outcome-options label { min-height: 44px; border-bottom: 1px solid #e2e8e4; }
  258. .diagnosis-feedback-note, .diagnosis-feedback-form > .btn { grid-column: 1; }
  259. }
  260. * { box-sizing: border-box; }
  261. html, body {
  262. margin: 0;
  263. padding: 0;
  264. height: 100%;
  265. font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  266. background: var(--page-bg);
  267. color: var(--text-primary);
  268. }
  269. .app {
  270. display: flex;
  271. min-height: 100vh;
  272. }
  273. .sidebar {
  274. width: 220px;
  275. background: var(--sidebar-bg);
  276. display: flex;
  277. flex-direction: column;
  278. position: fixed;
  279. top: 0;
  280. left: 0;
  281. bottom: 0;
  282. z-index: 100;
  283. transition: transform 0.25s ease;
  284. color: #fff;
  285. }
  286. .sidebar.hidden {
  287. transform: translateX(-100%);
  288. }
  289. .sidebar-backdrop { display: none; }
  290. .brand {
  291. display: flex;
  292. align-items: center;
  293. gap: 10px;
  294. padding: 22px 18px;
  295. border-bottom: 1px solid rgba(255,255,255,0.08);
  296. }
  297. .brand-icon {
  298. width: 36px;
  299. height: 36px;
  300. background: rgba(250, 140, 22, 0.18);
  301. color: var(--brand);
  302. border-radius: var(--radius-sm);
  303. display: flex;
  304. align-items: center;
  305. justify-content: center;
  306. }
  307. .brand-icon svg { width: 22px; height: 22px; }
  308. .brand-text {
  309. font-size: 17px;
  310. font-weight: 700;
  311. letter-spacing: 0.5px;
  312. }
  313. .nav {
  314. padding: 16px 12px;
  315. overflow-y: auto;
  316. flex: 1;
  317. }
  318. .nav-group { margin-bottom: 24px; }
  319. .nav-label {
  320. font-size: 11px;
  321. color: rgba(255,255,255,0.45);
  322. text-transform: uppercase;
  323. letter-spacing: 1px;
  324. padding: 0 12px;
  325. margin-bottom: 8px;
  326. }
  327. .nav-item {
  328. display: flex;
  329. align-items: center;
  330. gap: 10px;
  331. padding: 11px 12px;
  332. border-radius: var(--radius-sm);
  333. color: rgba(255,255,255,0.75);
  334. text-decoration: none;
  335. font-size: 14px;
  336. transition: all 0.2s;
  337. margin-bottom: 4px;
  338. }
  339. .nav-item svg {
  340. width: 20px;
  341. height: 20px;
  342. fill: currentColor;
  343. flex-shrink: 0;
  344. }
  345. .nav-item:hover {
  346. color: #fff;
  347. background: rgba(255,255,255,0.08);
  348. }
  349. .nav-item.active {
  350. color: #fff;
  351. background: var(--brand);
  352. box-shadow: 0 4px 14px rgba(250, 140, 22, 0.35);
  353. }
  354. .main {
  355. flex: 1;
  356. min-width: 0;
  357. margin-left: 220px;
  358. display: flex;
  359. flex-direction: column;
  360. min-height: 100vh;
  361. }
  362. .topbar {
  363. height: 68px;
  364. background: var(--panel-bg);
  365. border-bottom: 1px solid var(--border);
  366. display: flex;
  367. align-items: center;
  368. gap: 16px;
  369. padding: 0 32px;
  370. position: sticky;
  371. top: 0;
  372. z-index: 50;
  373. box-shadow: var(--shadow);
  374. }
  375. .menu-btn {
  376. display: none;
  377. background: none;
  378. border: none;
  379. padding: 6px;
  380. cursor: pointer;
  381. color: var(--text-secondary);
  382. border-radius: var(--radius-sm);
  383. }
  384. .menu-btn:hover { background: var(--brand-bg); color: var(--brand); }
  385. .menu-btn svg { width: 22px; height: 22px; fill: currentColor; }
  386. .page-title {
  387. font-size: 20px;
  388. font-weight: 700;
  389. margin: 0;
  390. flex: 1;
  391. }
  392. .account-switcher {
  393. position: relative;
  394. }
  395. .account-btn {
  396. display: flex;
  397. align-items: center;
  398. gap: 8px;
  399. background: var(--page-bg);
  400. border: 1px solid var(--border);
  401. border-radius: var(--radius-sm);
  402. padding: 8px 12px;
  403. cursor: pointer;
  404. font-size: 14px;
  405. color: var(--text-primary);
  406. transition: all 0.15s;
  407. }
  408. .account-btn:hover { border-color: var(--brand); background: var(--brand-bg); }
  409. .account-dot {
  410. width: 8px;
  411. height: 8px;
  412. border-radius: 50%;
  413. }
  414. .account-dot.online { background: var(--success); box-shadow: 0 0 0 3px rgba(82,196,26,0.15); }
  415. .account-dot.offline { background: var(--text-muted); }
  416. .account-chevron { width: 16px; height: 16px; fill: var(--text-muted); }
  417. .account-dropdown {
  418. position: absolute;
  419. top: calc(100% + 8px);
  420. right: 0;
  421. min-width: 220px;
  422. background: var(--panel-bg);
  423. border: 1px solid var(--border);
  424. border-radius: var(--radius-md);
  425. box-shadow: var(--shadow-hover);
  426. padding: 8px 0;
  427. display: none;
  428. z-index: 60;
  429. animation: scaleIn 0.2s ease;
  430. }
  431. .account-dropdown.open { display: block; }
  432. .dropdown-header {
  433. padding: 8px 16px;
  434. font-size: 12px;
  435. color: var(--text-muted);
  436. text-transform: uppercase;
  437. letter-spacing: 0.5px;
  438. }
  439. .account-list { max-height: 240px; overflow-y: auto; }
  440. .account-option {
  441. display: flex;
  442. align-items: center;
  443. gap: 10px;
  444. width: 100%;
  445. padding: 10px 16px;
  446. border: none;
  447. background: none;
  448. cursor: pointer;
  449. text-align: left;
  450. font-size: 14px;
  451. color: var(--text-primary);
  452. transition: background 0.15s;
  453. }
  454. .account-option:hover { background: var(--brand-bg); }
  455. .account-option.active { color: var(--brand); font-weight: 600; }
  456. .account-option .account-info {
  457. display: flex;
  458. flex-direction: column;
  459. flex: 1;
  460. min-width: 0;
  461. }
  462. .account-option .account-info strong {
  463. font-weight: 600;
  464. white-space: nowrap;
  465. overflow: hidden;
  466. text-overflow: ellipsis;
  467. }
  468. .account-option .account-info span {
  469. font-size: 12px;
  470. color: var(--text-muted);
  471. }
  472. .dropdown-divider {
  473. height: 1px;
  474. background: var(--border);
  475. margin: 8px 0;
  476. }
  477. .dropdown-item {
  478. display: flex;
  479. align-items: center;
  480. gap: 10px;
  481. width: 100%;
  482. padding: 10px 16px;
  483. border: none;
  484. background: none;
  485. cursor: pointer;
  486. font-size: 14px;
  487. color: var(--text-primary);
  488. transition: background 0.15s;
  489. }
  490. .dropdown-item:hover { background: var(--brand-bg); }
  491. .dropdown-item svg { width: 18px; height: 18px; fill: currentColor; }
  492. .content {
  493. flex: 1;
  494. padding: 28px 32px 48px;
  495. max-width: 1480px;
  496. width: 100%;
  497. margin: 0 auto;
  498. }
  499. /* ==================== Intelligent Conversations ==================== */
  500. .agent-page {
  501. --agent-ink: #182126;
  502. --agent-soft: #f5f7f6;
  503. --agent-line: #e5e9e7;
  504. --agent-green: #137a5b;
  505. --agent-green-soft: #eaf6f1;
  506. --agent-orange: #fa8c16;
  507. }
  508. .agent-loading {
  509. min-height: 420px;
  510. display: grid;
  511. place-items: center;
  512. color: var(--text-muted);
  513. }
  514. .agent-hero {
  515. position: relative;
  516. overflow: hidden;
  517. display: flex;
  518. align-items: center;
  519. justify-content: space-between;
  520. gap: 32px;
  521. padding: 30px 34px;
  522. margin-bottom: 16px;
  523. color: #fff;
  524. border-radius: 18px;
  525. background:
  526. radial-gradient(circle at 80% -20%, rgba(250,140,22,.35), transparent 38%),
  527. linear-gradient(125deg, #152622 0%, #164c3e 58%, #1a6e55 100%);
  528. box-shadow: 0 20px 44px rgba(20, 67, 54, .18);
  529. }
  530. .agent-hero::after {
  531. content: '';
  532. position: absolute;
  533. width: 220px;
  534. height: 220px;
  535. border: 1px solid rgba(255,255,255,.14);
  536. border-radius: 50%;
  537. right: 32%;
  538. top: -150px;
  539. }
  540. .agent-eyebrow {
  541. margin-bottom: 8px;
  542. color: #a9dec9;
  543. font-size: 11px;
  544. font-weight: 800;
  545. letter-spacing: 1.8px;
  546. }
  547. .agent-hero h2 {
  548. margin: 0 0 8px;
  549. font-size: 27px;
  550. line-height: 1.3;
  551. letter-spacing: .2px;
  552. }
  553. .agent-hero p {
  554. margin: 0;
  555. color: rgba(255,255,255,.72);
  556. font-size: 14px;
  557. }
  558. .agent-safety-card {
  559. position: relative;
  560. z-index: 1;
  561. min-width: 330px;
  562. display: grid;
  563. grid-template-columns: auto 1fr auto;
  564. align-items: center;
  565. gap: 12px;
  566. padding: 14px 16px;
  567. border: 1px solid rgba(255,255,255,.14);
  568. border-radius: 14px;
  569. background: rgba(255,255,255,.09);
  570. backdrop-filter: blur(14px);
  571. }
  572. .agent-safety-card .btn {
  573. padding: 8px 12px;
  574. white-space: nowrap;
  575. }
  576. .agent-safety-actions {
  577. display: flex;
  578. flex-direction: column;
  579. align-items: stretch;
  580. gap: 6px;
  581. }
  582. .agent-safety-card .btn-secondary {
  583. color: #fff;
  584. background: transparent;
  585. border-color: rgba(255,255,255,.28);
  586. }
  587. .agent-safety-card strong,
  588. .agent-safety-card small {
  589. display: block;
  590. }
  591. .agent-safety-card strong { font-size: 14px; }
  592. .agent-safety-card small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 11px; }
  593. .agent-live-dot {
  594. width: 10px;
  595. height: 10px;
  596. border-radius: 50%;
  597. background: #8d9b96;
  598. box-shadow: 0 0 0 5px rgba(141,155,150,.14);
  599. }
  600. .agent-live-dot.online {
  601. background: #5de0a4;
  602. box-shadow: 0 0 0 5px rgba(93,224,164,.14), 0 0 16px rgba(93,224,164,.4);
  603. }
  604. .agent-modebar {
  605. display: grid;
  606. grid-template-columns: minmax(180px, 1fr) auto minmax(220px, 1fr);
  607. align-items: center;
  608. gap: 20px;
  609. padding: 14px 18px;
  610. margin-bottom: 16px;
  611. border: 1px solid var(--agent-line);
  612. border-radius: 14px;
  613. background: #fff;
  614. box-shadow: 0 4px 16px rgba(27,49,42,.05);
  615. }
  616. .agent-mode-copy strong,
  617. .agent-mode-copy span { display: block; }
  618. .agent-mode-copy strong { font-size: 14px; }
  619. .agent-mode-copy span { margin-top: 2px; color: var(--text-muted); font-size: 11px; }
  620. .agent-mode-switch {
  621. display: flex;
  622. gap: 4px;
  623. padding: 4px;
  624. border-radius: 10px;
  625. background: #f1f3f2;
  626. }
  627. .agent-mode-btn {
  628. padding: 8px 15px;
  629. border: 0;
  630. border-radius: 8px;
  631. background: transparent;
  632. color: #6d7773;
  633. font: inherit;
  634. font-size: 12px;
  635. cursor: pointer;
  636. }
  637. .agent-mode-btn:hover { color: var(--agent-green); }
  638. .agent-mode-btn.active { color: var(--agent-green); background: #fff; box-shadow: 0 2px 8px rgba(20,60,48,.1); font-weight: 700; }
  639. .agent-mode-btn.danger.active { color: #b44b26; background: #fff1eb; }
  640. .agent-guard {
  641. justify-self: end;
  642. color: #78827e;
  643. font-size: 11px;
  644. }
  645. .agent-guard span {
  646. margin-right: 7px;
  647. padding: 4px 7px;
  648. color: var(--agent-green);
  649. border-radius: 5px;
  650. background: var(--agent-green-soft);
  651. font-weight: 700;
  652. }
  653. .response-monitor {
  654. margin: 0 0 16px;
  655. overflow: hidden;
  656. border: 1px solid #dfe8e4;
  657. border-radius: 16px;
  658. background: #fff;
  659. box-shadow: 0 6px 20px rgba(27,49,42,.06);
  660. }
  661. .response-monitor.has-urgent { border-color: #efc1ad; }
  662. .response-monitor-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; border-bottom: 1px solid #e8eeeb; background: linear-gradient(135deg, #f8fbfa, #fff); }
  663. .response-monitor.has-urgent .response-monitor-header { background: linear-gradient(135deg, #fff7f2, #fff); }
  664. .response-monitor-header > div:first-child span,
  665. .response-monitor-header > div:first-child strong,
  666. .response-monitor-header > div:first-child small { display: block; }
  667. .response-monitor-header > div:first-child span { color: #44816b; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
  668. .response-monitor-header > div:first-child strong { margin-top: 4px; color: #33443e; font-size: 15px; }
  669. .response-monitor-header > div:first-child small { margin-top: 3px; color: #89958f; font-size: 9px; }
  670. .response-monitor-kpis { display: flex; gap: 7px; }
  671. .response-monitor-kpis span { min-width: 70px; padding: 8px 10px; border-radius: 10px; color: #708079; background: #eef4f1; font-size: 8px; text-align: center; }
  672. .response-monitor-kpis b { display: block; color: #2f745c; font-size: 15px; }
  673. .response-monitor-kpis span.danger { color: #9b4c2e; background: #fff0e9; }
  674. .response-monitor-kpis span.danger b { color: #c85e39; }
  675. .response-monitor-body { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(360px, 1.15fr); gap: 16px; padding: 15px 18px 18px; }
  676. .response-monitor-section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
  677. .response-monitor-section-title strong { color: #4a5b54; font-size: 10px; }
  678. .response-monitor-section-title span { color: #96a19c; font-size: 8px; }
  679. .response-scope-list { display: flex; flex-wrap: wrap; gap: 6px; }
  680. .response-scope-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid #e1e9e5; border-radius: 9px; color: #5e6e67; background: #fafcfb; font-size: 8px; }
  681. .response-scope-chip i { display: grid; place-items: center; min-width: 24px; height: 19px; padding: 0 5px; border-radius: 6px; color: #2f795f; background: #e7f3ed; font-size: 7px; font-style: normal; font-weight: 800; }
  682. .response-scope-chip em { color: #98a39e; font-size: 7px; font-style: normal; }
  683. .response-scope-chip.overdue { border-color: #f0c8b6; background: #fff8f4; }
  684. .response-scope-chip.awaiting_sync { border-style: dashed; }
  685. .response-reminder-list { min-width: 0; }
  686. .response-reminder { display: grid; grid-template-columns: minmax(150px, .65fr) minmax(160px, 1fr) auto; align-items: center; gap: 12px; margin-top: 6px; padding: 9px 10px; border: 1px solid #ecd6a7; border-left: 3px solid #d4a548; border-radius: 10px; background: #fffaf0; }
  687. .response-reminder.urgent { border-color: #efc0ab; border-left-color: #d9633c; background: #fff5f0; }
  688. .response-reminder > div { display: flex; align-items: center; gap: 6px; min-width: 0; }
  689. .response-reminder > div i { width: 22px; height: 22px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 7px; color: #996c25; background: #f5e5bc; font-size: 8px; font-style: normal; font-weight: 800; }
  690. .response-reminder.urgent > div i { color: #a84c2d; background: #f8d9cb; }
  691. .response-reminder > div strong { overflow: hidden; color: #536059; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  692. .response-reminder > div em { padding: 2px 5px; border-radius: 6px; color: #9b712c; background: rgba(255,255,255,.8); font-size: 7px; font-style: normal; }
  693. .response-reminder.urgent > div em { color: #b34e2c; }
  694. .response-reminder p { margin: 0; overflow: hidden; color: #79847f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  695. .response-reminder footer { display: flex; align-items: center; gap: 8px; }
  696. .response-reminder footer span { color: #a1603d; font-size: 8px; font-weight: 700; white-space: nowrap; }
  697. .response-reminder footer .btn { padding: 5px 8px; font-size: 8px; }
  698. .response-monitor-empty { display: block; padding: 12px; border-radius: 9px; color: #8d9993; background: #f5f8f6; font-size: 9px; text-align: center; }
  699. .response-monitor-empty.success { color: #3c8067; background: #edf7f2; }
  700. .agent-runtime-alert {
  701. display: flex;
  702. align-items: center;
  703. gap: 12px;
  704. margin: 0 0 16px;
  705. padding: 12px 16px;
  706. border: 1px solid #f2c7b4;
  707. border-radius: 12px;
  708. color: #8b4429;
  709. background: #fff5f0;
  710. font-size: 11px;
  711. }
  712. .agent-runtime-alert strong { flex: 0 0 auto; }
  713. .agent-runtime-alert span { line-height: 1.5; }
  714. .agent-runtime-alert.notice { border-color: #b9dfcf; color: #256b54; background: #eff9f4; }
  715. .agent-workspace {
  716. min-height: 650px;
  717. display: grid;
  718. grid-template-columns: 245px minmax(420px, 1fr) 330px;
  719. border: 1px solid var(--agent-line);
  720. border-radius: 18px;
  721. overflow: hidden;
  722. background: #fff;
  723. box-shadow: 0 12px 38px rgba(24,54,45,.08);
  724. }
  725. .agent-conversation-list,
  726. .agent-insight-panel {
  727. min-width: 0;
  728. background: #fbfcfb;
  729. }
  730. .agent-conversation-list { border-right: 1px solid var(--agent-line); }
  731. .agent-insight-panel { border-left: 1px solid var(--agent-line); overflow-y: auto; max-height: 760px; }
  732. .agent-panel-heading {
  733. min-height: 72px;
  734. display: flex;
  735. align-items: center;
  736. justify-content: space-between;
  737. padding: 16px 18px;
  738. border-bottom: 1px solid var(--agent-line);
  739. }
  740. .agent-panel-heading strong,
  741. .agent-panel-heading small { display: block; }
  742. .agent-panel-heading strong { color: var(--agent-ink); font-size: 14px; }
  743. .agent-panel-heading small { margin-top: 3px; color: var(--text-muted); font-size: 10px; }
  744. .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; }
  745. .agent-list-tabs {
  746. display: grid;
  747. grid-template-columns: repeat(2, minmax(0, 1fr));
  748. gap: 5px;
  749. padding: 8px;
  750. border-bottom: 1px solid var(--agent-line);
  751. background: #f5f8f6;
  752. }
  753. .agent-list-tabs button {
  754. min-width: 0;
  755. display: flex;
  756. align-items: center;
  757. justify-content: center;
  758. gap: 5px;
  759. min-height: 34px;
  760. padding: 6px;
  761. border: 1px solid transparent;
  762. border-radius: 7px;
  763. color: #69756f;
  764. background: transparent;
  765. font: inherit;
  766. font-size: 10px;
  767. cursor: pointer;
  768. }
  769. .agent-list-tabs button.active { color: #245f4d; border-color: #cfe1d9; background: #fff; box-shadow: 0 2px 7px rgba(30,65,54,.07); font-weight: 700; }
  770. .agent-list-tabs b { min-width: 18px; padding: 2px 4px; border-radius: 8px; color: #68746f; background: #e5ebe8; font-size: 8px; }
  771. .agent-list-tabs button.active b { color: #fff; background: var(--agent-green); }
  772. .agent-list-scroll { padding: 8px; }
  773. .agent-conversation-item {
  774. width: 100%;
  775. display: grid;
  776. grid-template-columns: auto minmax(0, 1fr) auto;
  777. align-items: start;
  778. gap: 10px;
  779. padding: 12px 10px;
  780. margin-bottom: 5px;
  781. border: 0;
  782. border-radius: 10px;
  783. text-align: left;
  784. color: var(--agent-ink);
  785. background: transparent;
  786. cursor: pointer;
  787. }
  788. .agent-conversation-item:hover { background: #f1f6f3; }
  789. .agent-conversation-item.active { background: var(--agent-green-soft); box-shadow: inset 3px 0 0 var(--agent-green); }
  790. .agent-conversation-item.group.active { background: #fff5ea; box-shadow: inset 3px 0 0 #d97b2f; }
  791. .agent-avatar {
  792. width: 34px;
  793. height: 34px;
  794. display: grid;
  795. place-items: center;
  796. color: #fff;
  797. border-radius: 11px;
  798. background: linear-gradient(145deg, #2f9b78, #145d49);
  799. font-size: 13px;
  800. font-weight: 800;
  801. }
  802. .agent-avatar.group { color: #8a4f20; background: #f4d8bd; }
  803. .agent-conversation-copy { min-width: 0; }
  804. .agent-conversation-name { min-width: 0; display: flex; align-items: center; gap: 5px; }
  805. .agent-conversation-name strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  806. .agent-channel-badge { flex: 0 0 auto; padding: 2px 4px; border-radius: 4px; font-size: 7px; font-style: normal; font-weight: 800; }
  807. .agent-channel-badge.private { color: #267057; background: #e6f3ed; }
  808. .agent-channel-badge.group { color: #9a571f; background: #fff0df; }
  809. .agent-conversation-copy strong,
  810. .agent-conversation-copy small,
  811. .agent-conversation-copy em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  812. .agent-conversation-copy strong { font-size: 12px; }
  813. .agent-conversation-copy small { margin-top: 4px; color: #76817d; font-size: 10px; }
  814. .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; }
  815. .agent-conversation-item time { color: #9aa29f; font-size: 9px; white-space: nowrap; }
  816. .agent-chat-panel {
  817. min-width: 0;
  818. display: grid;
  819. grid-template-rows: auto auto auto minmax(320px, 1fr) auto;
  820. background: #fff;
  821. }
  822. .agent-chat-panel.group-mode { grid-template-rows: auto auto minmax(320px, 1fr) auto; }
  823. .agent-chat-header {
  824. min-height: 72px;
  825. display: flex;
  826. align-items: center;
  827. justify-content: space-between;
  828. gap: 16px;
  829. padding: 13px 20px;
  830. border-bottom: 1px solid var(--agent-line);
  831. }
  832. .agent-chat-header strong,
  833. .agent-chat-header span { display: block; }
  834. .agent-chat-header strong { color: var(--agent-ink); font-size: 14px; }
  835. .agent-chat-header span { margin-top: 3px; color: var(--text-muted); font-size: 10px; }
  836. .agent-chat-header .btn { padding: 7px 11px; font-size: 11px; }
  837. .agent-chat-header.group { background: #fffaf4; }
  838. .agent-group-mode-danger.active { color: #fff; border-color: #b94b3c; background: #b94b3c; }
  839. .agent-group-mode-danger.active:hover { background: #9f3d31; }
  840. .agent-group-auto-send { border-color: #b94b3c !important; background: #b94b3c !important; }
  841. .agent-group-auto-send:hover { background: #9f3d31 !important; }
  842. .agent-flow {
  843. padding: 12px 20px 13px;
  844. border-bottom: 1px solid var(--agent-line);
  845. background: #fbfcfb;
  846. }
  847. .agent-flow-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  848. .agent-flow-heading strong { color: #45554f; font-size: 10px; }
  849. .agent-flow-heading span { color: #88938e; font-size: 8px; }
  850. .agent-flow ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
  851. .agent-flow.group ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  852. .agent-flow li { position: relative; min-width: 0; display: flex; align-items: center; gap: 7px; padding-right: 14px; }
  853. .agent-flow li:not(:last-child)::after { content: ''; position: absolute; z-index: 0; top: 11px; right: 2px; width: 10px; height: 1px; background: #d8dfdc; }
  854. .agent-flow li i { position: relative; z-index: 1; width: 22px; height: 22px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #d7dedb; border-radius: 50%; color: #89928f; background: #fff; font-size: 8px; font-style: normal; font-weight: 800; }
  855. .agent-flow li strong,
  856. .agent-flow li small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  857. .agent-flow li strong { color: #69736f; font-size: 9px; }
  858. .agent-flow li small { margin-top: 2px; color: #9aa19e; font-size: 7px; }
  859. .agent-flow li.done i { color: #fff; border-color: var(--agent-green); background: var(--agent-green); }
  860. .agent-flow li.done strong { color: #2c6f59; }
  861. .agent-flow li.current i { color: #fff; border-color: #d47a32; background: #d47a32; box-shadow: 0 0 0 4px rgba(212,122,50,.1); }
  862. .agent-flow li.current strong { color: #98501b; }
  863. .agent-flow li.error i { color: #fff; border-color: #c65043; background: #c65043; }
  864. .agent-flow li.error strong { color: #a13d33; }
  865. .agent-group-monitor-view { min-height: 430px; display: grid; align-content: start; gap: 14px; padding: 22px; background: #fbfcfb; }
  866. .agent-group-status,
  867. .agent-group-latest,
  868. .agent-group-boundary { padding: 16px; border: 1px solid #e2e7e4; border-radius: 8px; background: #fff; }
  869. .agent-group-status { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; border-left: 4px solid #5f8c79; }
  870. .agent-group-status.overdue { border-left-color: #cf603c; }
  871. .agent-group-status.warning { border-left-color: #d49b37; }
  872. .agent-group-status span,
  873. .agent-group-latest > span { color: #8b9490; font-size: 8px; }
  874. .agent-group-status strong { color: #405049; font-size: 15px; }
  875. .agent-group-status small { grid-column: 2; grid-row: 1 / 3; color: #8c5a37; font-size: 9px; }
  876. .agent-group-latest blockquote { margin: 9px 0 7px; color: #34413c; font-size: 13px; line-height: 1.65; }
  877. .agent-group-latest small { color: #929a97; font-size: 8px; }
  878. .agent-group-boundary { display: flex; align-items: center; gap: 12px; color: #796248; background: #fffaf3; }
  879. .agent-group-boundary strong { flex: 0 0 auto; font-size: 10px; }
  880. .agent-group-boundary span { font-size: 9px; line-height: 1.5; }
  881. .agent-intent-card.group { border-color: #f0d8bd; background: #fff7ed; }
  882. .agent-intent-card.group > strong { color: #965521; }
  883. .agent-intent-card.group.auto { border-color: #efbeb6; background: #fff1ef; }
  884. .agent-intent-card.group.auto > strong { color: #a13d33; }
  885. .agent-group-sla { padding: 12px; border: 1px solid #e5e9e7; border-radius: 8px; background: #fff; }
  886. .agent-group-sla strong,
  887. .agent-group-sla span { display: block; }
  888. .agent-group-sla strong { color: #46534e; font-size: 15px; }
  889. .agent-group-sla span { margin-top: 4px; color: #8e9693; font-size: 8px; }
  890. .agent-boundary-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
  891. .agent-boundary-list li { padding-left: 13px; position: relative; color: #69746f; font-size: 9px; line-height: 1.45; }
  892. .agent-boundary-list li::before { content: ''; position: absolute; left: 1px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: #d47a32; }
  893. .agent-boundary-list.danger li { color: #8f4036; }
  894. .agent-boundary-list.danger li::before { background: #bd4d3f; }
  895. .agent-conversation-modes {
  896. display: flex;
  897. flex-wrap: wrap;
  898. justify-content: flex-end;
  899. gap: 5px;
  900. }
  901. .agent-session-strip {
  902. display: grid;
  903. grid-template-columns: auto minmax(0, 1fr) auto;
  904. align-items: center;
  905. gap: 10px;
  906. padding: 9px 20px;
  907. color: #6f7874;
  908. border-bottom: 1px solid var(--agent-line);
  909. background: #f8faf9;
  910. }
  911. .agent-session-strip.ready { color: #245d4b; background: #f0f8f5; }
  912. .agent-session-strip strong,
  913. .agent-session-strip small { display: block; }
  914. .agent-session-strip strong { color: inherit; font-size: 11px; }
  915. .agent-session-strip small { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #89918e; font-size: 9px; }
  916. .agent-session-dot { width: 8px; height: 8px; border-radius: 50%; background: #b3bbb8; box-shadow: 0 0 0 4px rgba(137,145,142,.1); }
  917. .agent-session-strip.ready .agent-session-dot { background: #22b981; box-shadow: 0 0 0 4px rgba(34,185,129,.12); }
  918. .agent-message-stream {
  919. max-height: 440px;
  920. overflow-y: auto;
  921. padding: 20px;
  922. background:
  923. linear-gradient(rgba(244,247,245,.75), rgba(244,247,245,.75)),
  924. radial-gradient(circle at 1px 1px, rgba(20,87,66,.1) 1px, transparent 0);
  925. background-size: auto, 18px 18px;
  926. }
  927. .agent-message-stream.group { background-color: #fbfaf8; }
  928. .agent-message { max-width: 86%; margin-bottom: 18px; }
  929. .agent-message.customer { margin-right: auto; }
  930. .agent-message.agent,
  931. .agent-message.human { margin-left: auto; }
  932. .agent-message-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; color: #8b9491; font-size: 9px; }
  933. .agent-message.agent .agent-message-meta,
  934. .agent-message.human .agent-message-meta { flex-direction: row-reverse; }
  935. .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; }
  936. .agent-message.agent .agent-message-body { color: #164e3d; border-color: #cfe8de; border-radius: 14px 4px 14px 14px; background: #eef8f4; }
  937. .agent-message.human .agent-message-body { color: #6d431b; border-color: #f3d9bd; border-radius: 14px 4px 14px 14px; background: #fff6eb; }
  938. .agent-composer {
  939. padding: 14px 18px 16px;
  940. border-top: 1px solid var(--agent-line);
  941. background: #fff;
  942. }
  943. .agent-composer.manual { background: #fffaf4; }
  944. .agent-composer.group { background: #fffaf4; }
  945. .agent-composer.group .agent-composer-label strong { color: #9a571f; }
  946. .agent-composer-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  947. .agent-composer-label strong { color: var(--agent-green); font-size: 11px; }
  948. .agent-composer.manual .agent-composer-label strong { color: #b06c2a; }
  949. .agent-composer-label span { color: var(--text-muted); font-size: 9px; }
  950. .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; }
  951. .agent-composer textarea:focus { border-color: var(--agent-green); box-shadow: 0 0 0 3px rgba(19,122,91,.08); }
  952. .agent-composer-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
  953. .agent-composer-actions span { color: #9aa29f; font-size: 9px; }
  954. .agent-composer-actions .btn { padding: 8px 14px; background: var(--agent-green); border-color: var(--agent-green); font-size: 11px; }
  955. .agent-review-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
  956. .agent-review-actions .btn-secondary { color: #5f6d68; border-color: #d7e0dc; background: #fff; }
  957. .agent-tool-trace details {
  958. margin-bottom: 6px;
  959. border: 1px solid #e2e9e6;
  960. border-radius: 8px;
  961. background: #f8faf9;
  962. }
  963. .agent-tool-trace summary {
  964. padding: 8px 9px;
  965. color: #315e50;
  966. cursor: pointer;
  967. font-size: 9px;
  968. font-weight: 700;
  969. }
  970. .agent-tool-trace pre {
  971. max-height: 120px;
  972. margin: 0;
  973. overflow: auto;
  974. padding: 0 9px 9px;
  975. color: #67736f;
  976. white-space: pre-wrap;
  977. word-break: break-all;
  978. font-size: 8px;
  979. line-height: 1.45;
  980. }
  981. .agent-audit-list { display: grid; gap: 5px; }
  982. .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; }
  983. .agent-audit-list time { flex: 0 0 auto; color: #9aa39f; }
  984. .agent-insight-section { padding: 17px 18px; border-bottom: 1px solid var(--agent-line); }
  985. .agent-section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
  986. .agent-section-title > span { color: #9bb7ae; font: 700 9px/1 monospace; }
  987. .agent-section-title strong,
  988. .agent-section-title small { display: block; }
  989. .agent-section-title strong { color: var(--agent-ink); font-size: 12px; }
  990. .agent-section-title small { margin-top: 2px; color: var(--text-muted); font-size: 9px; }
  991. .agent-intent-card { padding: 11px 12px; border: 1px solid #d7ebe3; border-radius: 10px; background: var(--agent-green-soft); }
  992. .agent-intent-card > strong { color: var(--agent-green); font-size: 13px; }
  993. .agent-intent-card > span { float: right; color: #60756e; font-size: 9px; }
  994. .agent-intent-card > div { clear: both; height: 4px; margin-top: 10px; overflow: hidden; border-radius: 4px; background: rgba(19,122,91,.12); }
  995. .agent-intent-card i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22a579, #73cfae); }
  996. .agent-reasoning { margin: 9px 0 0; color: #75807c; font-size: 9px; line-height: 1.55; }
  997. .agent-demand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  998. .agent-demand-grid > div { padding: 8px 9px; border: 1px solid #e8ecea; border-radius: 8px; background: #fff; }
  999. .agent-demand-grid small,
  1000. .agent-demand-grid strong { display: block; }
  1001. .agent-demand-grid small { color: #9aa29f; font-size: 8px; }
  1002. .agent-demand-grid strong { margin-top: 3px; overflow: hidden; color: #37443f; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  1003. .agent-customer-task-list,
  1004. .agent-customer-alert-list { display: grid; gap: 8px; }
  1005. .agent-customer-task,
  1006. .agent-customer-alert { padding: 10px; border: 1px solid #e3e9e6; border-radius: 9px; background: #fff; }
  1007. .agent-customer-task.high,
  1008. .agent-customer-task.urgent { border-left: 3px solid #ed8a2e; }
  1009. .agent-customer-task.done,
  1010. .agent-customer-task.dismissed,
  1011. .agent-customer-alert.acknowledged,
  1012. .agent-customer-alert.resolved,
  1013. .agent-customer-alert.dismissed { opacity: .62; }
  1014. .agent-customer-task strong,
  1015. .agent-customer-task small { display: block; }
  1016. .agent-customer-task strong { color: #30423b; font-size: 10px; }
  1017. .agent-customer-task small { margin-top: 3px; color: #8d9692; font-size: 8px; }
  1018. .agent-customer-task p,
  1019. .agent-customer-alert p { margin: 6px 0 0; color: #68746f; font-size: 9px; line-height: 1.5; }
  1020. .agent-task-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
  1021. .agent-task-meta span { padding: 2px 5px; border-radius: 4px; color: #68746f; background: #f0f3f2; font-size: 8px; }
  1022. .agent-task-meta span.synced { color: #26745e; background: #e8f5ef; }
  1023. .agent-task-meta span.error { color: #a83831; background: #fff0ee; }
  1024. .agent-customer-alert.high { border-left: 3px solid #ed8a2e; background: #fffaf3; }
  1025. .agent-customer-alert.critical { border-left: 3px solid #d94f45; background: #fff5f4; }
  1026. .agent-alert-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  1027. .agent-alert-heading strong { color: #3e4844; font-size: 10px; }
  1028. .agent-alert-heading em { padding: 2px 5px; border-radius: 4px; color: #966023; background: rgba(237,138,46,.12); font-size: 8px; font-style: normal; }
  1029. .agent-customer-alert.critical .agent-alert-heading em { color: #a83831; background: rgba(217,79,69,.12); }
  1030. .agent-customer-alert > small { display: block; margin-top: 5px; color: #929a97; font-size: 8px; line-height: 1.4; }
  1031. .agent-intelligence-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 8px; }
  1032. .agent-intelligence-actions .btn { padding: 4px 7px; font-size: 8px; }
  1033. .agent-intelligence-actions span { color: #7d8783; font-size: 8px; }
  1034. /* ==================== Dashboard Motion System ==================== */
  1035. :root {
  1036. --motion-fast: 160ms;
  1037. --motion-base: 240ms;
  1038. --motion-slow: 320ms;
  1039. --motion-ease-out: cubic-bezier(.2, .72, .24, 1);
  1040. --motion-ease-soft: cubic-bezier(.22, .61, .36, 1);
  1041. }
  1042. /* 模块切换:页面立即出现,内容以短距离错峰进入,不延长数据加载。 */
  1043. .content > .page {
  1044. animation: dashboardPageIn var(--motion-base) var(--motion-ease-out) both;
  1045. }
  1046. .content > .page > * {
  1047. animation: dashboardSectionIn var(--motion-slow) var(--motion-ease-out) both;
  1048. }
  1049. .content > .page > *:nth-child(2) { animation-delay: 35ms; }
  1050. .content > .page > *:nth-child(3) { animation-delay: 70ms; }
  1051. .content > .page > *:nth-child(4) { animation-delay: 105ms; }
  1052. .content > .page > *:nth-child(5) { animation-delay: 140ms; }
  1053. .content > .page > *:nth-child(n+6) { animation-delay: 165ms; }
  1054. @keyframes dashboardPageIn {
  1055. from { opacity: 0; transform: translate3d(8px, 0, 0); }
  1056. to { opacity: 1; transform: translate3d(0, 0, 0); }
  1057. }
  1058. @keyframes dashboardSectionIn {
  1059. from { opacity: 0; transform: translate3d(0, 10px, 0); }
  1060. to { opacity: 1; transform: translate3d(0, 0, 0); }
  1061. }
  1062. /* 侧边导航:新模块图标轻微弹入,文字与底色保持原有品牌风格。 */
  1063. .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; }
  1064. .nav-item:hover { transform: translate3d(2px, 0, 0); }
  1065. .nav-item.active svg { animation: dashboardNavIconIn var(--motion-base) var(--motion-ease-out) both; }
  1066. @keyframes dashboardNavIconIn {
  1067. 0% { opacity: .55; transform: scale(.78) rotate(-5deg); }
  1068. 100% { opacity: 1; transform: scale(1) rotate(0); }
  1069. }
  1070. /* 关键指标与状态卡:错峰进入,并提供稳定、不改变布局的悬停反馈。 */
  1071. .kpi-row > .kpi-card,
  1072. .status-cards > .status-card,
  1073. .workspace-stat-row > div,
  1074. .customer-master-stats > div,
  1075. .task-stat-row > div {
  1076. animation: dashboardMetricIn var(--motion-slow) var(--motion-ease-out) both;
  1077. transition: transform var(--motion-base) var(--motion-ease-out), border-color var(--motion-fast) ease, box-shadow var(--motion-base) ease;
  1078. }
  1079. .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; }
  1080. .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; }
  1081. .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; }
  1082. .kpi-row > :nth-child(5), .workspace-stat-row > :nth-child(5) { animation-delay: 180ms; }
  1083. .kpi-row > :nth-child(6), .workspace-stat-row > :nth-child(6) { animation-delay: 225ms; }
  1084. .kpi-card:hover,
  1085. .status-card:hover,
  1086. .customer-master-stats > div:hover,
  1087. .task-stat-row > div:hover {
  1088. transform: translate3d(0, -2px, 0);
  1089. border-color: #d5dde2;
  1090. box-shadow: 0 10px 28px rgba(28,45,59,.075);
  1091. }
  1092. @keyframes dashboardMetricIn {
  1093. from { opacity: 0; transform: translate3d(0, 8px, 0) scale(.985); }
  1094. to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  1095. }
  1096. /* 页签、筛选结果和局部工作区切换。 */
  1097. [data-group-ops-panel]:not([hidden]),
  1098. .agent-knowledge-view,
  1099. .customer-master-detail,
  1100. .meeting-detail,
  1101. .doc-detail,
  1102. .todo-detail {
  1103. animation: dashboardPanelIn var(--motion-base) var(--motion-ease-soft) both;
  1104. }
  1105. @keyframes dashboardPanelIn {
  1106. from { opacity: 0; transform: translate3d(6px, 0, 0); }
  1107. to { opacity: 1; transform: translate3d(0, 0, 0); }
  1108. }
  1109. /* 常用列表与操作卡仅在悬停时轻移,避免数据密集页面持续运动。 */
  1110. .skill-capability-card,
  1111. .property-card,
  1112. .customer-master-list-item,
  1113. .meeting-list-item,
  1114. .office-list-item,
  1115. .unified-task-card,
  1116. .group-ops-playbooks article,
  1117. .group-ops-task-list article {
  1118. transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, background-color var(--motion-fast) ease, box-shadow var(--motion-base) ease;
  1119. }
  1120. .skill-capability-card:hover,
  1121. .property-card:hover,
  1122. .customer-master-list-item:hover,
  1123. .meeting-list-item:hover,
  1124. .office-list-item:hover,
  1125. .unified-task-card:hover,
  1126. .group-ops-playbooks article:hover,
  1127. .group-ops-task-list article:hover {
  1128. transform: translate3d(0, -1px, 0);
  1129. }
  1130. /* Hero 装饰只做低频漂移,主体文字与操作按钮保持稳定。 */
  1131. .customer-workspace-hero::before { animation: dashboardHeroFloat 8s ease-in-out infinite alternate; }
  1132. .customer-workspace-hero::after { animation: dashboardHeroFloatReverse 10s ease-in-out infinite alternate; }
  1133. @keyframes dashboardHeroFloat {
  1134. from { transform: translate3d(0, 0, 0); }
  1135. to { transform: translate3d(-10px, 8px, 0); }
  1136. }
  1137. @keyframes dashboardHeroFloatReverse {
  1138. from { transform: translate3d(0, 0, 0); }
  1139. to { transform: translate3d(9px, -6px, 0); }
  1140. }
  1141. .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; }
  1142. .agent-match-card:last-child { border-bottom: 0; }
  1143. .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; }
  1144. .agent-match-card strong,
  1145. .agent-match-card small,
  1146. .agent-match-card em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  1147. .agent-match-card strong { color: #34413c; font-size: 10px; }
  1148. .agent-match-card small { margin-top: 3px; color: #6f7b76; font-size: 9px; }
  1149. .agent-match-card em { margin-top: 3px; color: #9a7a51; font-size: 8px; font-style: normal; }
  1150. .agent-match-card b { color: var(--agent-orange); font: 800 13px/1 monospace; }
  1151. .agent-insight-section.knowledge ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
  1152. .agent-insight-section.knowledge li { padding: 6px 7px; border-radius: 6px; color: #5c6c66; background: #f0f3f2; font-size: 8px; }
  1153. .agent-insight-section.knowledge li::before { content: '✓'; margin-right: 4px; color: var(--agent-green); font-weight: 800; }
  1154. .agent-muted { margin: 0; color: var(--text-muted); font-size: 10px; }
  1155. .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); }
  1156. .agent-empty.large { min-height: 560px; }
  1157. .agent-empty strong { color: #53605b; font-size: 13px; }
  1158. .agent-empty span { max-width: 360px; font-size: 10px; line-height: 1.5; }
  1159. @media (max-width: 1320px) {
  1160. .agent-workspace { grid-template-columns: 220px minmax(390px, 1fr) 300px; }
  1161. }
  1162. @media (max-width: 1050px) {
  1163. .agent-modebar { grid-template-columns: 1fr auto; }
  1164. .agent-guard { display: none; }
  1165. .response-monitor-body { grid-template-columns: 1fr; }
  1166. .agent-workspace { grid-template-columns: 210px minmax(0, 1fr); }
  1167. .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; }
  1168. }
  1169. @media (max-width: 760px) {
  1170. .agent-hero { align-items: stretch; flex-direction: column; padding: 24px; }
  1171. .agent-safety-card { min-width: 0; }
  1172. .agent-modebar { grid-template-columns: 1fr; }
  1173. .agent-mode-switch { justify-self: stretch; }
  1174. .agent-mode-btn { flex: 1; }
  1175. .response-monitor-header { align-items: stretch; flex-direction: column; }
  1176. .response-monitor-kpis { width: 100%; }
  1177. .response-monitor-kpis span { flex: 1; }
  1178. .response-monitor-body { padding: 12px; }
  1179. .response-reminder { grid-template-columns: 1fr; }
  1180. .response-reminder footer { justify-content: space-between; }
  1181. .agent-workspace { display: block; }
  1182. .agent-conversation-list { border-right: 0; border-bottom: 1px solid var(--agent-line); }
  1183. .agent-flow { padding: 12px; overflow-x: auto; }
  1184. .agent-flow-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  1185. .agent-flow ol,
  1186. .agent-flow.group ol { min-width: 560px; }
  1187. .agent-chat-panel { min-height: 620px; }
  1188. .agent-insight-panel { display: block; }
  1189. }
  1190. .page {
  1191. animation: fadeInUp 0.4s ease both;
  1192. }
  1193. @keyframes fadeInUp {
  1194. from { opacity: 0; transform: translateY(16px); }
  1195. to { opacity: 1; transform: translateY(0); }
  1196. }
  1197. .section-title {
  1198. font-size: 14px;
  1199. color: var(--text-secondary);
  1200. margin: 0 0 14px;
  1201. font-weight: 600;
  1202. }
  1203. .card {
  1204. background: var(--panel-bg);
  1205. border: 1px solid var(--border);
  1206. border-radius: var(--radius-lg);
  1207. padding: 24px;
  1208. margin-bottom: 24px;
  1209. box-shadow: var(--shadow);
  1210. transition: box-shadow 0.2s, transform 0.2s;
  1211. animation: fadeInUp 0.4s ease both;
  1212. }
  1213. .card:hover { box-shadow: var(--shadow-hover); }
  1214. .card-header {
  1215. display: flex;
  1216. align-items: center;
  1217. justify-content: space-between;
  1218. margin-bottom: 20px;
  1219. flex-wrap: wrap;
  1220. gap: 12px;
  1221. }
  1222. .card-title {
  1223. font-size: 16px;
  1224. font-weight: 700;
  1225. margin: 0;
  1226. display: flex;
  1227. align-items: center;
  1228. gap: 8px;
  1229. }
  1230. .card-title svg { width: 20px; height: 20px; fill: var(--brand); }
  1231. .card-subtitle {
  1232. font-size: 13px;
  1233. color: var(--text-muted);
  1234. margin-top: 4px;
  1235. }
  1236. .form-row {
  1237. display: flex;
  1238. flex-wrap: wrap;
  1239. gap: 20px;
  1240. margin-bottom: 20px;
  1241. }
  1242. .form-group {
  1243. display: flex;
  1244. flex-direction: column;
  1245. gap: 8px;
  1246. flex: 1;
  1247. min-width: 180px;
  1248. }
  1249. .form-group label {
  1250. font-size: 13px;
  1251. color: var(--text-secondary);
  1252. font-weight: 500;
  1253. }
  1254. .form-group input,
  1255. .form-group select,
  1256. .form-group textarea {
  1257. padding: 10px 12px;
  1258. border: 1px solid var(--border);
  1259. border-radius: var(--radius-sm);
  1260. font-size: 14px;
  1261. outline: none;
  1262. transition: border-color 0.15s, box-shadow 0.15s;
  1263. font-family: inherit;
  1264. background: var(--panel-bg);
  1265. }
  1266. .form-group input:focus,
  1267. .form-group select:focus,
  1268. .form-group textarea:focus {
  1269. border-color: var(--brand);
  1270. box-shadow: 0 0 0 3px rgba(250, 140, 22, 0.1);
  1271. }
  1272. .form-group input[type="checkbox"] {
  1273. width: auto;
  1274. margin: 0;
  1275. }
  1276. .checkbox-row {
  1277. display: flex;
  1278. align-items: center;
  1279. gap: 8px;
  1280. font-size: 14px;
  1281. color: var(--text-secondary);
  1282. }
  1283. .checkbox-row input { width: 16px; height: 16px; accent-color: var(--brand); }
  1284. .btn {
  1285. display: inline-flex;
  1286. align-items: center;
  1287. justify-content: center;
  1288. gap: 8px;
  1289. border: none;
  1290. background: var(--brand);
  1291. color: #fff;
  1292. font-size: 14px;
  1293. font-weight: 600;
  1294. padding: 10px 20px;
  1295. border-radius: var(--radius-sm);
  1296. cursor: pointer;
  1297. transition: all 0.15s;
  1298. font-family: inherit;
  1299. box-shadow: 0 4px 12px rgba(250, 140, 22, 0.25);
  1300. }
  1301. .btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
  1302. .btn:active { transform: translateY(0); }
  1303. .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
  1304. .btn-sm { padding: 7px 14px; font-size: 13px; }
  1305. .btn-secondary {
  1306. background: var(--panel-bg);
  1307. color: var(--text-secondary);
  1308. border: 1px solid var(--border);
  1309. box-shadow: none;
  1310. }
  1311. .btn-secondary:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-bg); }
  1312. .btn-danger { background: var(--error); box-shadow: 0 4px 12px rgba(255,77,79,0.25); }
  1313. .btn svg { width: 16px; height: 16px; fill: currentColor; }
  1314. .spinner {
  1315. width: 16px;
  1316. height: 16px;
  1317. border: 2px solid rgba(255,255,255,0.4);
  1318. border-top-color: #fff;
  1319. border-radius: 50%;
  1320. animation: spin 0.8s linear infinite;
  1321. }
  1322. @keyframes spin { to { transform: rotate(360deg); } }
  1323. .stats-grid {
  1324. display: grid;
  1325. grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  1326. gap: 16px;
  1327. margin-bottom: 24px;
  1328. }
  1329. .stat-card {
  1330. background: var(--panel-bg);
  1331. border: 1px solid var(--border);
  1332. border-radius: var(--radius-md);
  1333. padding: 20px 16px;
  1334. text-align: center;
  1335. transition: all 0.2s;
  1336. box-shadow: var(--shadow);
  1337. }
  1338. .stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
  1339. .stat-value {
  1340. font-size: 32px;
  1341. font-weight: 800;
  1342. color: var(--brand);
  1343. line-height: 1.2;
  1344. }
  1345. .stat-label {
  1346. font-size: 13px;
  1347. color: var(--text-muted);
  1348. margin-top: 6px;
  1349. }
  1350. .table-wrap {
  1351. overflow-x: auto;
  1352. border: 1px solid var(--border);
  1353. border-radius: var(--radius-md);
  1354. }
  1355. table {
  1356. width: 100%;
  1357. border-collapse: collapse;
  1358. font-size: 13px;
  1359. }
  1360. th, td {
  1361. padding: 14px 16px;
  1362. text-align: left;
  1363. border-bottom: 1px solid var(--border);
  1364. }
  1365. th {
  1366. background: var(--page-bg);
  1367. color: var(--text-secondary);
  1368. font-weight: 600;
  1369. font-size: 12px;
  1370. text-transform: uppercase;
  1371. letter-spacing: 0.5px;
  1372. }
  1373. tr:last-child td { border-bottom: none; }
  1374. tr:hover td { background: var(--brand-bg); }
  1375. .badge {
  1376. display: inline-flex;
  1377. align-items: center;
  1378. padding: 4px 10px;
  1379. border-radius: 999px;
  1380. font-size: 12px;
  1381. font-weight: 600;
  1382. }
  1383. .badge-success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
  1384. .badge-error { background: var(--error-bg); color: var(--error); border: 1px solid var(--error-border); }
  1385. .badge-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid #ffe58f; }
  1386. .badge-info { background: var(--info-bg); color: var(--info); border: 1px solid #91d5ff; }
  1387. .badge-default { background: var(--page-bg); color: var(--text-muted); border: 1px solid var(--border); }
  1388. .confidence-bar {
  1389. width: 80px;
  1390. height: 6px;
  1391. background: var(--border);
  1392. border-radius: 3px;
  1393. overflow: hidden;
  1394. }
  1395. .confidence-bar-fill {
  1396. height: 100%;
  1397. background: linear-gradient(90deg, var(--brand) 0%, #ffc53d 100%);
  1398. border-radius: 3px;
  1399. transition: width 0.5s ease;
  1400. }
  1401. .filter-bar {
  1402. display: flex;
  1403. flex-wrap: wrap;
  1404. gap: 10px;
  1405. align-items: flex-end;
  1406. }
  1407. .filter-bar input,
  1408. .filter-bar select {
  1409. padding: 8px 12px;
  1410. border: 1px solid var(--border);
  1411. border-radius: var(--radius-sm);
  1412. font-size: 13px;
  1413. outline: none;
  1414. background: var(--panel-bg);
  1415. }
  1416. .filter-bar input:focus,
  1417. .filter-bar select:focus { border-color: var(--brand); }
  1418. .empty-state {
  1419. text-align: center;
  1420. padding: 56px 20px;
  1421. color: var(--text-muted);
  1422. }
  1423. .empty-state svg {
  1424. width: 56px;
  1425. height: 56px;
  1426. fill: var(--border);
  1427. margin-bottom: 16px;
  1428. }
  1429. .empty-state-title { font-size: 15px; color: var(--text-secondary); margin-bottom: 6px; }
  1430. .empty-state-desc { font-size: 13px; }
  1431. .progress-wrap { margin: 18px 0; }
  1432. .progress-bar {
  1433. height: 8px;
  1434. background: var(--border);
  1435. border-radius: 4px;
  1436. overflow: hidden;
  1437. }
  1438. .progress-bar-fill {
  1439. height: 100%;
  1440. background: linear-gradient(90deg, var(--brand) 0%, #ffc53d 100%);
  1441. border-radius: 4px;
  1442. 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);
  1443. background-size: 20px 20px;
  1444. animation: progressStripes 1s linear infinite;
  1445. transition: width 0.3s ease;
  1446. }
  1447. @keyframes progressStripes {
  1448. from { background-position: 0 0; }
  1449. to { background-position: 20px 0; }
  1450. }
  1451. .job-log {
  1452. background: #fafafa;
  1453. border: 1px solid var(--border);
  1454. border-radius: var(--radius-sm);
  1455. padding: 14px;
  1456. font-size: 13px;
  1457. color: var(--text-secondary);
  1458. max-height: 180px;
  1459. overflow-y: auto;
  1460. white-space: pre-wrap;
  1461. margin-top: 14px;
  1462. }
  1463. .toast-container {
  1464. position: fixed;
  1465. top: 24px;
  1466. right: 24px;
  1467. z-index: 200;
  1468. display: flex;
  1469. flex-direction: column;
  1470. gap: 12px;
  1471. }
  1472. .toast {
  1473. min-width: 280px;
  1474. max-width: 400px;
  1475. padding: 14px 18px;
  1476. border-radius: var(--radius-md);
  1477. font-size: 14px;
  1478. box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  1479. animation: slideIn 0.3s ease;
  1480. display: flex;
  1481. align-items: flex-start;
  1482. gap: 12px;
  1483. }
  1484. @keyframes slideIn {
  1485. from { opacity: 0; transform: translateX(100%); }
  1486. to { opacity: 1; transform: translateX(0); }
  1487. }
  1488. .toast.success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
  1489. .toast.error { background: var(--error-bg); color: var(--error); border: 1px solid var(--error-border); }
  1490. .toast.warning { background: var(--warning-bg); color: #d48806; border: 1px solid #ffe58f; }
  1491. .modal-overlay {
  1492. position: fixed;
  1493. inset: 0;
  1494. background: rgba(0,0,0,0.45);
  1495. backdrop-filter: blur(2px);
  1496. display: flex;
  1497. align-items: center;
  1498. justify-content: center;
  1499. z-index: 150;
  1500. animation: fadeIn 0.2s ease;
  1501. }
  1502. @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  1503. .modal {
  1504. background: var(--panel-bg);
  1505. border-radius: var(--radius-lg);
  1506. padding: 28px;
  1507. width: 90%;
  1508. max-width: 440px;
  1509. animation: scaleIn 0.25s ease;
  1510. box-shadow: var(--shadow-hover);
  1511. }
  1512. @keyframes scaleIn {
  1513. from { opacity: 0; transform: scale(0.96); }
  1514. to { opacity: 1; transform: scale(1); }
  1515. }
  1516. .modal-title {
  1517. font-size: 18px;
  1518. font-weight: 700;
  1519. margin: 0 0 18px;
  1520. }
  1521. .modal-actions {
  1522. display: flex;
  1523. justify-content: flex-end;
  1524. gap: 12px;
  1525. margin-top: 24px;
  1526. }
  1527. body.modal-open { overflow: hidden; }
  1528. /* Customer portrait detail */
  1529. .portrait-modal-overlay {
  1530. align-items: flex-start;
  1531. padding: 24px;
  1532. overflow-x: hidden;
  1533. overflow-y: auto;
  1534. }
  1535. .portrait-modal {
  1536. width: min(100%, 960px);
  1537. max-width: 960px;
  1538. max-height: calc(100vh - 48px);
  1539. padding: 0;
  1540. overflow-x: hidden;
  1541. overflow-y: auto;
  1542. border: 1px solid rgba(255,255,255,.75);
  1543. border-radius: 20px;
  1544. box-shadow: 0 28px 80px rgba(20,34,44,.24);
  1545. }
  1546. .portrait-modal > .modal-title {
  1547. position: sticky;
  1548. top: 0;
  1549. z-index: 3;
  1550. margin: 0;
  1551. padding: 21px 26px 18px;
  1552. border-bottom: 1px solid #e9eeec;
  1553. color: #1f3029;
  1554. background: rgba(255,255,255,.96);
  1555. backdrop-filter: blur(10px);
  1556. font-size: 20px;
  1557. }
  1558. .portrait-profile { padding: 24px 26px 18px; background: linear-gradient(145deg, #f4faf7, #fff 72%); }
  1559. .portrait-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 15px; }
  1560. .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; }
  1561. .portrait-identity { min-width: 0; }
  1562. .portrait-name { color: #20342b; font-size: 20px; font-weight: 750; }
  1563. .portrait-subtitle { margin-top: 4px; overflow-wrap: anywhere; color: #75847d; font-size: 11px; line-height: 1.55; }
  1564. .portrait-chip-row, .portrait-tags, .portrait-evidence { display: flex; flex-wrap: wrap; gap: 6px; }
  1565. .portrait-chip-row { margin-top: 8px; }
  1566. .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; }
  1567. .portrait-meta { min-width: 132px; padding-left: 14px; text-align: right; }
  1568. .portrait-meta div { color: #89958f; font-size: 9px; }
  1569. .portrait-meta strong { display: block; margin-top: 4px; color: #496057; font-size: 11px; }
  1570. .portrait-tags { margin-top: 16px; padding-top: 14px; border-top: 1px solid #dfeae5; }
  1571. .portrait-highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
  1572. .portrait-section { margin: 0 26px 18px; padding: 17px; border: 1px solid #e1e8e4; border-radius: 14px; background: #fff; }
  1573. .portrait-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
  1574. .portrait-section-head h3 { margin: 0; color: #293b33; font-size: 14px; }
  1575. .portrait-section-head span { padding: 3px 7px; border-radius: 999px; color: #6f7e77; background: #f0f4f2; font-size: 9px; }
  1576. .portrait-insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  1577. .portrait-insight-card { min-width: 0; padding: 12px 13px; border: 1px solid #e7ece9; border-radius: 10px; background: #f8faf9; }
  1578. .portrait-insight-label { margin-bottom: 5px; color: #78867f; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
  1579. .portrait-insight-value { overflow-wrap: anywhere; color: #304139; font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
  1580. .portrait-insight-note { margin-top: 6px; color: #71847a; font-size: 9px; }
  1581. .portrait-evidence { margin-top: 8px; }
  1582. .portrait-evidence span { padding: 3px 7px; border-radius: 999px; color: #2f7258; background: #e7f4ed; font-size: 9px; }
  1583. .portrait-empty-panel { margin: 0 26px 18px; padding: 28px; border: 1px dashed #dbe4df; border-radius: 13px; color: #819087; background: #fafcfb; text-align: center; }
  1584. .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; }
  1585. .portrait-modal .raw-toggle svg { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; transition: transform .18s ease; }
  1586. .portrait-modal .raw-toggle.open svg { transform: rotate(180deg); }
  1587. .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; }
  1588. .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); }
  1589. .portrait-modal-loading { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 9px; padding: 36px; color: #708078; text-align: center; }
  1590. .portrait-modal-loading .spinner { width: 30px; height: 30px; margin-bottom: 4px; }
  1591. .portrait-modal-loading strong { color: #304139; font-size: 14px; }
  1592. .portrait-modal-loading small { font-size: 10px; }
  1593. .portrait-modal-error { min-height: 300px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 32px; color: #8b5d54; text-align: center; }
  1594. .portrait-modal-error strong { font-size: 14px; }
  1595. .portrait-modal-error span { font-size: 11px; }
  1596. /* Customer detail modal */
  1597. .customer-detail-modal-overlay { align-items: flex-start; padding: 24px; overflow-x: hidden; overflow-y: auto; }
  1598. .customer-detail-modal {
  1599. width: min(100%, 720px);
  1600. max-width: 720px;
  1601. max-height: calc(100vh - 48px);
  1602. padding: 0;
  1603. overflow-x: hidden;
  1604. overflow-y: auto;
  1605. border: 1px solid rgba(255,255,255,.75);
  1606. border-radius: 20px;
  1607. box-shadow: 0 28px 80px rgba(20,34,44,.24);
  1608. }
  1609. .customer-detail-modal > .modal-title {
  1610. position: sticky;
  1611. top: 0;
  1612. z-index: 3;
  1613. margin: 0;
  1614. padding: 21px 26px 18px;
  1615. border-bottom: 1px solid #e9eeec;
  1616. color: #1f3029;
  1617. background: rgba(255,255,255,.96);
  1618. backdrop-filter: blur(10px);
  1619. font-size: 20px;
  1620. }
  1621. .customer-detail-modal .detail-card {
  1622. margin: 18px 26px 0;
  1623. border: 1px solid #e1e8e4;
  1624. border-radius: 14px;
  1625. background: #fff;
  1626. overflow: hidden;
  1627. }
  1628. .customer-detail-modal .detail-card-header {
  1629. display: flex;
  1630. align-items: center;
  1631. gap: 10px;
  1632. padding: 13px 16px;
  1633. border-bottom: 1px solid #eef2f0;
  1634. background: #fafcfb;
  1635. color: #293b33;
  1636. font-size: 13px;
  1637. font-weight: 700;
  1638. }
  1639. .customer-detail-modal .detail-card-header svg { width: 18px; height: 18px; fill: currentColor; }
  1640. .customer-detail-modal .detail-card-body { padding: 16px; }
  1641. .customer-detail-modal .detail-section-title {
  1642. display: flex;
  1643. align-items: center;
  1644. gap: 8px;
  1645. margin: 0 0 12px;
  1646. color: #2b3c34;
  1647. font-size: 13px;
  1648. font-weight: 700;
  1649. }
  1650. .customer-detail-modal .detail-section-title svg { width: 18px; height: 18px; fill: currentColor; }
  1651. .customer-detail-modal .detail-grid {
  1652. display: grid;
  1653. grid-template-columns: repeat(2, minmax(0, 1fr));
  1654. gap: 12px;
  1655. }
  1656. .customer-detail-modal .detail-grid.compact { gap: 10px; }
  1657. .customer-detail-modal .detail-item { display: grid; gap: 4px; }
  1658. .customer-detail-modal .detail-item-label { color: #89948f; font-size: 11px; }
  1659. .customer-detail-modal .detail-item-value { color: #2b3c34; font-size: 12px; line-height: 1.5; word-break: break-word; }
  1660. .customer-detail-modal .detail-list { display: grid; gap: 8px; }
  1661. .customer-detail-modal .detail-list.compact { gap: 6px; }
  1662. .customer-detail-modal .detail-list-item {
  1663. display: grid;
  1664. grid-template-columns: auto minmax(0, 1fr);
  1665. align-items: center;
  1666. gap: 10px;
  1667. padding: 10px 12px;
  1668. border-radius: 10px;
  1669. background: #f7f9f8;
  1670. }
  1671. .customer-detail-modal .detail-list-item > div { min-width: 0; }
  1672. .customer-detail-modal .detail-list-item > div > div:first-child { color: #34443c; font-size: 12px; font-weight: 650; }
  1673. .customer-detail-modal .detail-muted { color: #8e9a93; font-size: 11px; }
  1674. .customer-detail-modal .detail-empty { padding: 20px; border-radius: 10px; color: #8e9a93; background: #f7f9f8; font-size: 12px; text-align: center; }
  1675. .customer-detail-modal .detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  1676. .customer-detail-modal .detail-tags .tag { padding: 4px 10px; border-radius: 999px; color: #2f7258; background: #e7f4ed; font-size: 11px; }
  1677. .customer-detail-modal .detail-id-line { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef2f0; color: #9aa49d; font-size: 11px; }
  1678. .customer-detail-modal .detail-actions {
  1679. display: flex;
  1680. justify-content: flex-end;
  1681. gap: 10px;
  1682. margin: 18px 26px 0;
  1683. }
  1684. .customer-detail-modal .raw-toggle {
  1685. display: flex;
  1686. align-items: center;
  1687. gap: 7px;
  1688. margin: 18px 26px 0;
  1689. padding: 11px 13px;
  1690. border: 1px solid #e1e7e4;
  1691. border-radius: 10px;
  1692. color: #65746d;
  1693. background: #f7f9f8;
  1694. cursor: pointer;
  1695. font-size: 11px;
  1696. font-weight: 650;
  1697. }
  1698. .customer-detail-modal .raw-toggle svg { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; transition: transform .18s ease; }
  1699. .customer-detail-modal .raw-toggle.open svg { transform: rotate(180deg); }
  1700. .customer-detail-modal .raw-panel {
  1701. display: none;
  1702. max-height: 360px;
  1703. margin: 10px 26px 0;
  1704. padding: 14px;
  1705. overflow: auto;
  1706. border: 1px solid #dde5e1;
  1707. border-radius: 10px;
  1708. color: #4d5f56;
  1709. background: #f5f8f6;
  1710. font: 10px/1.65 Consolas, "SFMono-Regular", monospace;
  1711. white-space: pre-wrap;
  1712. word-break: break-word;
  1713. }
  1714. .customer-detail-modal > .modal-actions {
  1715. position: sticky;
  1716. bottom: 0;
  1717. z-index: 3;
  1718. margin: 18px 0 0;
  1719. padding: 14px 26px;
  1720. border-top: 1px solid #e9eeec;
  1721. background: rgba(255,255,255,.96);
  1722. backdrop-filter: blur(10px);
  1723. }
  1724. @media (max-width: 700px) {
  1725. .customer-detail-modal-overlay { align-items: flex-end; padding: 0; }
  1726. .customer-detail-modal { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  1727. .customer-detail-modal > .modal-title { padding: 18px 18px 15px; font-size: 18px; }
  1728. .customer-detail-modal .detail-card { margin: 14px 14px 0; }
  1729. .customer-detail-modal .detail-grid { grid-template-columns: 1fr; }
  1730. .customer-detail-modal .detail-actions,
  1731. .customer-detail-modal .raw-toggle,
  1732. .customer-detail-modal .raw-panel { margin: 14px 14px 0; }
  1733. .customer-detail-modal > .modal-actions { padding: 12px 14px; }
  1734. .customer-detail-modal > .modal-actions .btn { flex: 1; min-height: 44px; }
  1735. }
  1736. /* Customer selector */
  1737. .customer-selector-modal-overlay { align-items: flex-start; padding: 24px; overflow-x: hidden; overflow-y: auto; }
  1738. .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); }
  1739. .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; }
  1740. .customer-selector-modal > .form-group { padding: 20px 24px 4px; }
  1741. .customer-selector-filters { display: grid; grid-template-columns: minmax(220px, 1fr) 160px 150px; gap: 9px; }
  1742. .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; }
  1743. .customer-selector-search:focus, .customer-selector-filter:focus { border-color: #4e9677; box-shadow: 0 0 0 3px rgba(44,126,91,.1); }
  1744. .customer-selector-count { margin: 13px 1px 8px; color: #77857e; font-size: 10px; }
  1745. .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; }
  1746. .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; }
  1747. .customer-selector-item:hover { border-color: #ceddd6; background: #fbfdfc; }
  1748. .customer-selector-item.selected { border-color: #9ecdb9; background: #eef8f3; box-shadow: inset 3px 0 0 #2d8664; }
  1749. .customer-selector-item input { width: 18px; height: 18px; margin: 0; accent-color: #25815f; cursor: pointer; }
  1750. .customer-selector-info { min-width: 0; }
  1751. .customer-selector-name { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #293a32; font-size: 12px; font-weight: 700; }
  1752. .customer-selector-phone { margin-top: 4px; overflow: hidden; color: #849088; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  1753. .customer-selector-empty { min-height: 240px; display: grid; place-items: center; color: #87938d; font-size: 12px; text-align: center; }
  1754. .customer-selector-empty.error { color: #a95a4c; }
  1755. .customer-selector-pagination { min-height: 38px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding-top: 10px; }
  1756. .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); }
  1757. @media (max-width: 700px) {
  1758. .portrait-modal-overlay { align-items: flex-end; padding: 0; }
  1759. .portrait-modal { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  1760. .portrait-modal > .modal-title { padding: 18px 18px 15px; font-size: 18px; }
  1761. .portrait-profile { padding: 18px; }
  1762. .portrait-hero { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; }
  1763. .portrait-avatar { width: 46px; height: 46px; border-radius: 14px; font-size: 18px; }
  1764. .portrait-name { font-size: 18px; }
  1765. .portrait-meta { grid-column: 1 / -1; min-width: 0; padding: 10px 0 0; border-top: 1px solid #dfe9e4; text-align: left; }
  1766. .portrait-highlight-grid, .portrait-insight-grid { grid-template-columns: 1fr; }
  1767. .portrait-section { margin: 0 14px 14px; padding: 14px; }
  1768. .portrait-empty-panel { margin: 0 14px 14px; }
  1769. .portrait-modal .raw-toggle { margin: 0 14px; }
  1770. .portrait-modal .raw-panel { margin: 8px 14px 0; }
  1771. .portrait-modal > .modal-actions { padding: 12px 14px; }
  1772. .portrait-modal > .modal-actions .btn { flex: 1; min-height: 44px; }
  1773. .customer-selector-modal-overlay { align-items: flex-end; padding: 0; }
  1774. .customer-selector-modal { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  1775. .customer-selector-modal > .modal-title { padding: 18px 18px 15px; font-size: 18px; }
  1776. .customer-selector-modal > .form-group { padding: 15px 14px 2px; }
  1777. .customer-selector-filters { grid-template-columns: 1fr; }
  1778. .customer-selector-list { min-height: 240px; max-height: 46vh; }
  1779. .customer-selector-modal > .modal-actions { padding: 12px 14px; }
  1780. .customer-selector-modal > .modal-actions .btn { flex: 1; min-height: 44px; }
  1781. }
  1782. .modal.allowlist-modal {
  1783. width: min(92vw, 700px);
  1784. max-width: 700px;
  1785. max-height: min(760px, calc(100vh - 40px));
  1786. overflow: hidden;
  1787. padding: 0;
  1788. }
  1789. body.allowlist-modal-open { overflow: hidden; }
  1790. .allowlist-modal .modal-title {
  1791. margin: 0;
  1792. padding: 22px 24px 16px;
  1793. border-bottom: 1px solid #e8eeeb;
  1794. }
  1795. .allowlist-intro {
  1796. padding: 16px 24px 12px;
  1797. }
  1798. .allowlist-intro strong,
  1799. .allowlist-intro span { display: block; }
  1800. .allowlist-intro strong { color: #31433c; font-size: 14px; }
  1801. .allowlist-intro span { margin-top: 4px; color: #7f8b86; font-size: 12px; line-height: 1.5; }
  1802. .allowlist-toolbar {
  1803. display: grid;
  1804. grid-template-columns: minmax(0, 1fr) auto;
  1805. gap: 10px;
  1806. padding: 0 24px;
  1807. }
  1808. .allowlist-toolbar input,
  1809. .allowlist-manual input {
  1810. width: 100%;
  1811. height: 38px;
  1812. padding: 0 12px;
  1813. border: 1px solid #dce5e1;
  1814. border-radius: 7px;
  1815. outline: none;
  1816. color: #34443e;
  1817. background: #fff;
  1818. font: inherit;
  1819. font-size: 12px;
  1820. }
  1821. .allowlist-toolbar input:focus,
  1822. .allowlist-manual input:focus { border-color: #4c9277; box-shadow: 0 0 0 3px rgba(76,146,119,.12); }
  1823. .allowlist-summary {
  1824. min-height: 32px;
  1825. display: flex;
  1826. align-items: center;
  1827. justify-content: space-between;
  1828. gap: 16px;
  1829. padding: 8px 24px 6px;
  1830. color: #4b685d;
  1831. font-size: 11px;
  1832. }
  1833. .allowlist-summary em { color: #aa6f24; font-style: normal; text-align: right; }
  1834. .allowlist-contact-list {
  1835. height: 330px;
  1836. overflow-y: auto;
  1837. margin: 0 24px;
  1838. border: 1px solid #e2e9e6;
  1839. border-radius: 7px;
  1840. background: #fafcfb;
  1841. }
  1842. .allowlist-contact {
  1843. min-height: 62px;
  1844. display: grid;
  1845. grid-template-columns: auto auto minmax(0, 1fr) auto;
  1846. align-items: center;
  1847. gap: 11px;
  1848. padding: 10px 12px;
  1849. border-bottom: 1px solid #e7ecea;
  1850. cursor: pointer;
  1851. transition: background .15s ease;
  1852. }
  1853. .allowlist-contact:last-child { border-bottom: 0; }
  1854. .allowlist-contact:hover { background: #f1f7f4; }
  1855. .allowlist-contact.selected { background: #edf7f2; }
  1856. .allowlist-contact input { width: 16px; height: 16px; accent-color: #347b61; }
  1857. .allowlist-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #23624d; background: #dcefe7; font-size: 13px; font-weight: 800; }
  1858. .allowlist-contact-copy { min-width: 0; }
  1859. .allowlist-contact-copy strong,
  1860. .allowlist-contact-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  1861. .allowlist-contact-copy strong { color: #35443e; font-size: 13px; }
  1862. .allowlist-contact-copy small { margin-top: 4px; color: #89938f; font-size: 10px; }
  1863. .allowlist-contact > em { color: #929c98; font-size: 10px; font-style: normal; }
  1864. .allowlist-contact.selected > em { color: #2f765d; font-weight: 700; }
  1865. .allowlist-loading,
  1866. .allowlist-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 24px; color: #87928d; font-size: 12px; text-align: center; }
  1867. .allowlist-empty strong { color: #54615c; font-size: 13px; }
  1868. .allowlist-empty.error strong { color: #a24536; }
  1869. .allowlist-manual { margin: 12px 24px 0; color: #78847f; font-size: 11px; }
  1870. .allowlist-manual summary { cursor: pointer; }
  1871. .allowlist-manual > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 9px; }
  1872. .allowlist-manual small { display: block; min-height: 18px; padding-top: 4px; color: #b14535; }
  1873. .allowlist-modal .modal-actions { margin: 14px 0 0; padding: 14px 24px 20px; border-top: 1px solid #e8eeeb; }
  1874. @media (max-width: 620px) {
  1875. .modal.allowlist-modal { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
  1876. .allowlist-modal .modal-title,
  1877. .allowlist-intro { padding-left: 16px; padding-right: 16px; }
  1878. .allowlist-toolbar { grid-template-columns: 1fr; padding: 0 16px; }
  1879. .allowlist-summary { align-items: flex-start; flex-direction: column; gap: 3px; padding-left: 16px; padding-right: 16px; }
  1880. .allowlist-summary em { text-align: left; }
  1881. .allowlist-contact-list { height: 300px; margin: 0 16px; }
  1882. .allowlist-contact { grid-template-columns: auto auto minmax(0, 1fr); }
  1883. .allowlist-contact > em { display: none; }
  1884. .allowlist-manual { margin-left: 16px; margin-right: 16px; }
  1885. .allowlist-modal .modal-actions { padding-left: 16px; padding-right: 16px; }
  1886. }
  1887. body.business-modal-open { overflow: hidden; }
  1888. .business-modal-backdrop {
  1889. position: fixed;
  1890. inset: 0;
  1891. z-index: 220;
  1892. display: grid;
  1893. place-items: center;
  1894. padding: 24px;
  1895. background: rgba(20, 30, 38, .52);
  1896. backdrop-filter: blur(5px);
  1897. animation: fadeIn .18s ease;
  1898. }
  1899. .business-modal {
  1900. width: min(100%, 560px);
  1901. max-height: calc(100vh - 48px);
  1902. overflow: auto;
  1903. border: 1px solid rgba(255, 255, 255, .75);
  1904. border-radius: 20px;
  1905. background: #fff;
  1906. box-shadow: 0 28px 80px rgba(20, 34, 44, .24);
  1907. animation: businessModalIn .22s ease;
  1908. }
  1909. @keyframes businessModalIn {
  1910. from { opacity: 0; transform: translateY(10px) scale(.985); }
  1911. to { opacity: 1; transform: translateY(0) scale(1); }
  1912. }
  1913. .business-modal-header {
  1914. display: flex;
  1915. align-items: flex-start;
  1916. justify-content: space-between;
  1917. gap: 24px;
  1918. padding: 25px 27px 20px;
  1919. border-bottom: 1px solid #edf0f2;
  1920. background: linear-gradient(145deg, #f8fbfa 0%, #fff 66%);
  1921. }
  1922. .business-modal-header > div > span {
  1923. display: block;
  1924. margin-bottom: 7px;
  1925. color: #178a69;
  1926. font-size: 10px;
  1927. font-weight: 800;
  1928. letter-spacing: .12em;
  1929. }
  1930. .business-modal-header h3 { margin: 0; color: #1e2a32; font-size: 21px; line-height: 1.3; }
  1931. .business-modal-header p { margin: 7px 0 0; color: #68757d; font-size: 13px; line-height: 1.65; white-space: pre-line; }
  1932. .business-modal-close {
  1933. flex: 0 0 34px;
  1934. width: 34px;
  1935. height: 34px;
  1936. border: 0;
  1937. border-radius: 10px;
  1938. color: #7d878e;
  1939. background: #f1f4f3;
  1940. font-size: 22px;
  1941. line-height: 1;
  1942. cursor: pointer;
  1943. }
  1944. .business-modal-close:hover { color: #25333b; background: #e7ecea; }
  1945. .business-modal-close:focus-visible,
  1946. .business-modal-actions .btn:focus-visible { outline: 3px solid rgba(42, 154, 119, .22); outline-offset: 2px; }
  1947. .business-modal-form { padding: 22px 27px 25px; }
  1948. .business-modal-fields { display: grid; gap: 16px; }
  1949. .business-modal-field { display: grid; gap: 7px; }
  1950. .business-modal-field > span { color: #38454d; font-size: 13px; font-weight: 650; }
  1951. .business-modal-field > span em { margin-left: 3px; color: #d9574f; font-style: normal; }
  1952. .business-modal-field input,
  1953. .business-modal-field textarea,
  1954. .business-modal-field select {
  1955. width: 100%;
  1956. min-height: 43px;
  1957. padding: 10px 12px;
  1958. border: 1px solid #d9e0e3;
  1959. border-radius: 10px;
  1960. outline: none;
  1961. color: #1f2c34;
  1962. background: #fff;
  1963. font: inherit;
  1964. transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  1965. }
  1966. .business-modal-field input:focus,
  1967. .business-modal-field textarea:focus,
  1968. .business-modal-field select:focus { border-color: #2a9a77; box-shadow: 0 0 0 3px rgba(42, 154, 119, .12); }
  1969. .business-modal-field.readonly input { color: #67737b; background: #f5f7f7; }
  1970. .business-modal-field small { color: #929ba1; font-size: 11px; line-height: 1.5; }
  1971. .business-modal-field.invalid input,
  1972. .business-modal-field.invalid textarea,
  1973. .business-modal-field.invalid select { border-color: #dd655d; box-shadow: 0 0 0 3px rgba(221, 101, 93, .1); }
  1974. .business-modal-shortcuts { margin-top: 17px; }
  1975. .business-modal-shortcuts > span { display: block; margin-bottom: 8px; color: #78848c; font-size: 11px; }
  1976. .business-modal-shortcuts > div { display: flex; flex-wrap: wrap; gap: 8px; }
  1977. .business-modal-shortcuts button {
  1978. padding: 7px 11px;
  1979. border: 1px solid #dce8e4;
  1980. border-radius: 999px;
  1981. color: #26775f;
  1982. background: #f4faf8;
  1983. font-size: 12px;
  1984. cursor: pointer;
  1985. }
  1986. .business-modal-shortcuts button:hover,
  1987. .business-modal-shortcuts button:focus { border-color: #60b79b; background: #eaf7f2; outline: none; }
  1988. .business-modal-live-warning {
  1989. display: flex;
  1990. gap: 11px;
  1991. margin-top: 19px;
  1992. padding: 13px 14px;
  1993. border: 1px solid #f1d6a5;
  1994. border-radius: 12px;
  1995. color: #815917;
  1996. background: #fffaf0;
  1997. }
  1998. .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; }
  1999. .business-modal-live-warning strong,
  2000. .business-modal-live-warning span { display: block; }
  2001. .business-modal-live-warning strong { font-size: 12px; }
  2002. .business-modal-live-warning span { margin-top: 3px; font-size: 11px; line-height: 1.55; }
  2003. .business-modal-error { margin: 13px 0 0; color: #c3443d; font-size: 12px; }
  2004. .business-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
  2005. .business-modal-confirm { min-width: 128px; }
  2006. .business-modal-confirm.danger { border-color: #c94b43; color: #fff; background: #c94b43; }
  2007. .business-modal-confirm.danger:hover { border-color: #b33f38; background: #b33f38; }
  2008. @media (max-width: 600px) {
  2009. .business-modal-backdrop { align-items: end; padding: 0; }
  2010. .business-modal { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  2011. .business-modal-header { padding: 22px 20px 17px; }
  2012. .business-modal-form { padding: 19px 20px 22px; }
  2013. .business-modal-actions .btn { flex: 1; }
  2014. }
  2015. @media (prefers-reduced-motion: reduce) {
  2016. .business-modal-backdrop,
  2017. .business-modal { animation: none; }
  2018. }
  2019. .agent-session-modal-status { padding: 12px 14px; border-radius: 10px; color: #6d7673; background: #f4f6f5; }
  2020. .agent-session-modal-status.ready { color: #146a4f; background: #eaf7f2; }
  2021. .agent-session-modal-status strong,
  2022. .agent-session-modal-status span { display: block; }
  2023. .agent-session-modal-status span { margin-top: 4px; font-size: 12px; line-height: 1.6; }
  2024. .agent-session-modal dl { margin: 16px 0; }
  2025. .agent-session-modal dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid #edf0ee; }
  2026. .agent-session-modal dt { color: var(--text-muted); font-size: 12px; }
  2027. .agent-session-modal dd { margin: 0; color: var(--text-main); font-size: 12px; word-break: break-word; }
  2028. .agent-session-modal label { display: block; margin: 12px 0 6px; color: var(--text-muted); font-size: 12px; }
  2029. .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; }
  2030. .agent-session-modal p { margin: 12px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.6; }
  2031. .tag-list {
  2032. display: flex;
  2033. flex-wrap: wrap;
  2034. gap: 8px;
  2035. margin-top: 10px;
  2036. }
  2037. .tag {
  2038. display: inline-flex;
  2039. align-items: center;
  2040. gap: 4px;
  2041. padding: 5px 12px;
  2042. background: var(--brand-bg);
  2043. color: var(--brand-dark);
  2044. border-radius: 999px;
  2045. font-size: 13px;
  2046. font-weight: 500;
  2047. }
  2048. .tag button {
  2049. background: none;
  2050. border: none;
  2051. color: inherit;
  2052. cursor: pointer;
  2053. font-size: 14px;
  2054. line-height: 1;
  2055. padding: 0;
  2056. }
  2057. .skeleton {
  2058. background: linear-gradient(90deg, var(--border) 25%, #f5f5f5 50%, var(--border) 75%);
  2059. background-size: 200% 100%;
  2060. animation: shimmer 1.2s infinite;
  2061. border-radius: var(--radius-sm);
  2062. }
  2063. @keyframes shimmer {
  2064. 0% { background-position: 200% 0; }
  2065. 100% { background-position: -200% 0; }
  2066. }
  2067. .status-dot {
  2068. width: 8px;
  2069. height: 8px;
  2070. border-radius: 50%;
  2071. display: inline-block;
  2072. margin-right: 6px;
  2073. }
  2074. .status-dot.online { background: var(--success); box-shadow: 0 0 0 3px rgba(82,196,26,0.15); }
  2075. .status-dot.offline { background: var(--text-muted); }
  2076. .login-page {
  2077. display: flex;
  2078. align-items: center;
  2079. justify-content: center;
  2080. min-height: calc(100vh - 68px);
  2081. padding: 40px 20px;
  2082. }
  2083. .login-card {
  2084. background: var(--panel-bg);
  2085. border: 1px solid var(--border);
  2086. border-radius: var(--radius-lg);
  2087. padding: 40px;
  2088. width: 100%;
  2089. max-width: 420px;
  2090. text-align: center;
  2091. box-shadow: var(--shadow-hover);
  2092. }
  2093. .login-card h2 {
  2094. margin: 0 0 10px;
  2095. font-size: 22px;
  2096. }
  2097. .login-card p {
  2098. color: var(--text-muted);
  2099. font-size: 14px;
  2100. margin-bottom: 28px;
  2101. }
  2102. .qr-wrap {
  2103. background: var(--page-bg);
  2104. border: 1px solid var(--border);
  2105. border-radius: var(--radius-md);
  2106. padding: 20px;
  2107. margin-bottom: 20px;
  2108. }
  2109. .qr-wrap img {
  2110. width: 220px;
  2111. height: 220px;
  2112. border-radius: var(--radius-sm);
  2113. background: #fff;
  2114. padding: 8px;
  2115. }
  2116. .qr-status {
  2117. font-size: 14px;
  2118. color: var(--text-secondary);
  2119. margin-top: 14px;
  2120. }
  2121. .status-cards {
  2122. display: grid;
  2123. grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  2124. gap: 20px;
  2125. margin-bottom: 24px;
  2126. }
  2127. .status-card {
  2128. background: var(--panel-bg);
  2129. border: 1px solid var(--border);
  2130. border-radius: var(--radius-md);
  2131. padding: 22px;
  2132. display: flex;
  2133. align-items: flex-start;
  2134. gap: 16px;
  2135. box-shadow: var(--shadow);
  2136. transition: all 0.2s;
  2137. }
  2138. .status-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
  2139. .status-icon {
  2140. width: 44px;
  2141. height: 44px;
  2142. border-radius: var(--radius-sm);
  2143. display: flex;
  2144. align-items: center;
  2145. justify-content: center;
  2146. flex-shrink: 0;
  2147. }
  2148. .status-icon.green { background: var(--success-bg); color: var(--success); }
  2149. .status-icon.orange { background: var(--warning-bg); color: var(--warning); }
  2150. .status-icon.red { background: var(--error-bg); color: var(--error); }
  2151. .status-icon.blue { background: var(--info-bg); color: var(--info); }
  2152. .status-icon svg { width: 24px; height: 24px; fill: currentColor; }
  2153. .status-content { flex: 1; }
  2154. .status-content h3 {
  2155. margin: 0 0 4px;
  2156. font-size: 15px;
  2157. }
  2158. .status-content p {
  2159. margin: 0;
  2160. font-size: 13px;
  2161. color: var(--text-muted);
  2162. }
  2163. .status-content .status-detail {
  2164. margin-top: 10px;
  2165. padding-top: 10px;
  2166. border-top: 1px solid var(--border);
  2167. font-size: 13px;
  2168. color: var(--text-secondary);
  2169. }
  2170. .hint-box {
  2171. background: var(--brand-bg);
  2172. border: 1px solid #ffd591;
  2173. border-radius: var(--radius-sm);
  2174. padding: 14px 16px;
  2175. font-size: 13px;
  2176. color: var(--brand-dark);
  2177. margin-bottom: 20px;
  2178. display: flex;
  2179. align-items: flex-start;
  2180. gap: 10px;
  2181. }
  2182. .hint-box svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; margin-top: 1px; }
  2183. /* ==================== Unified Skills & Knowledge Library ==================== */
  2184. .workspace-hero {
  2185. display: flex;
  2186. align-items: flex-end;
  2187. justify-content: space-between;
  2188. gap: 30px;
  2189. margin-bottom: 18px;
  2190. padding: 28px 30px;
  2191. overflow: hidden;
  2192. border-radius: 20px;
  2193. color: #fff;
  2194. background: linear-gradient(135deg, #17243d, #21365e 62%, #315985);
  2195. box-shadow: 0 16px 36px rgba(21,37,67,.16);
  2196. }
  2197. .knowledge-hero { background: linear-gradient(135deg, #113a2e, #17674f 62%, #49804f); }
  2198. .workspace-hero > div:first-child { max-width: 650px; }
  2199. .workspace-hero > div:first-child > span { color: rgba(255,255,255,.65); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
  2200. .workspace-hero h2 { margin: 7px 0 5px; font-size: 30px; }
  2201. .workspace-hero p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.65; }
  2202. .workspace-stat-row { display: flex; flex: 0 0 auto; gap: 8px; }
  2203. .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); }
  2204. .workspace-stat-row strong, .workspace-stat-row span { display: block; }
  2205. .workspace-stat-row strong { font-size: 22px; }
  2206. .workspace-stat-row span { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 9px; }
  2207. .skill-toolbar {
  2208. display: flex;
  2209. align-items: center;
  2210. justify-content: space-between;
  2211. gap: 20px;
  2212. margin-bottom: 14px;
  2213. padding: 14px 18px;
  2214. border: 1px solid var(--border);
  2215. border-radius: 14px;
  2216. background: #fff;
  2217. box-shadow: var(--shadow);
  2218. }
  2219. .skill-toolbar strong, .skill-toolbar span { display: block; }
  2220. .skill-toolbar strong { font-size: 14px; }
  2221. .skill-toolbar span { margin-top: 3px; color: var(--text-muted); font-size: 10px; }
  2222. .skill-toolbar input { width: min(360px, 42vw); padding: 10px 13px; border: 1px solid var(--border); border-radius: 9px; outline: 0; font: inherit; }
  2223. .skill-toolbar input:focus { border-color: #315985; box-shadow: 0 0 0 3px rgba(49,89,133,.08); }
  2224. .skill-hub-layout {
  2225. min-height: 680px;
  2226. display: grid;
  2227. grid-template-columns: 210px minmax(380px, 1fr) minmax(300px, .7fr);
  2228. overflow: hidden;
  2229. border: 1px solid var(--border);
  2230. border-radius: 18px;
  2231. background: #fff;
  2232. box-shadow: var(--shadow);
  2233. }
  2234. .skill-package-list { padding: 10px; border-right: 1px solid var(--border); background: #f8fafc; }
  2235. .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; }
  2236. .skill-package-item:hover { background: #edf2f8; }
  2237. .skill-package-item.active { color: #1c4673; background: #e8f1fb; box-shadow: inset 3px 0 #315985; }
  2238. .skill-package-item span { overflow: hidden; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  2239. .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; }
  2240. .skill-package-item small { grid-column: 1 / -1; color: #8a95a4; font-size: 8px; }
  2241. .skill-card-panel { min-width: 0; padding: 18px; overflow-y: auto; max-height: 780px; }
  2242. .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); }
  2243. .skill-card-panel > header strong, .skill-card-panel > header span { display: block; }
  2244. .skill-card-panel > header strong { font-size: 15px; }
  2245. .skill-card-panel > header span { margin-top: 4px; color: var(--text-muted); font-size: 10px; line-height: 1.5; }
  2246. .skill-card-panel > header code { max-width: 44%; overflow: hidden; color: #8894a4; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  2247. .skill-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  2248. .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; }
  2249. .skill-capability-card:hover { transform: translateY(-2px); border-color: #aac3df; box-shadow: 0 10px 22px rgba(34,66,104,.09); }
  2250. .skill-capability-card.active { border-color: #5f8bb7; background: #f5f9fe; box-shadow: inset 0 0 0 1px #5f8bb7; }
  2251. .skill-capability-card > div { display: flex; justify-content: space-between; gap: 10px; }
  2252. .skill-capability-card > div span { font-size: 12px; font-weight: 750; }
  2253. .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; }
  2254. .skill-capability-card p { min-height: 47px; margin: 10px 0; overflow: hidden; color: #758091; font-size: 9px; line-height: 1.65; }
  2255. .skill-capability-card footer { display: flex; flex-wrap: wrap; gap: 4px; }
  2256. .skill-capability-card footer i { padding: 3px 6px; border-radius: 5px; color: #697687; background: #f0f3f6; font-size: 8px; font-style: normal; }
  2257. .skill-detail-panel { min-width: 0; overflow-y: auto; max-height: 780px; border-left: 1px solid var(--border); background: #fbfcfe; }
  2258. .skill-detail-heading { padding: 20px; border-bottom: 1px solid var(--border); background: #fff; }
  2259. .skill-detail-heading > span { color: #6f86a2; font-size: 9px; font-weight: 750; letter-spacing: .08em; }
  2260. .skill-detail-heading h3 { margin: 6px 0 7px; font-size: 18px; }
  2261. .skill-detail-heading p { margin: 0 0 14px; color: var(--text-muted); font-size: 10px; line-height: 1.6; }
  2262. .skill-markdown { padding: 20px; }
  2263. .markdown-view { color: #3e4a57; font-size: 11px; line-height: 1.75; }
  2264. .markdown-view h2, .markdown-view h3, .markdown-view h4 { margin: 20px 0 8px; color: #1f2d3c; }
  2265. .markdown-view h2 { font-size: 20px; }
  2266. .markdown-view h3 { font-size: 16px; }
  2267. .markdown-view h4 { font-size: 13px; }
  2268. .markdown-view p { margin: 7px 0; }
  2269. .markdown-view ul, .markdown-view ol { margin: 8px 0 8px 20px; padding: 0; }
  2270. .markdown-view li { margin: 4px 0; }
  2271. .markdown-view code { padding: 2px 5px; border-radius: 4px; color: #b54d20; background: #fff1eb; font-family: Consolas, monospace; font-size: .92em; }
  2272. .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; }
  2273. .markdown-view pre code { padding: 0; color: inherit; background: transparent; }
  2274. .markdown-view blockquote { margin: 10px 0; padding: 9px 12px; border-left: 3px solid #4e9b7e; color: #5f736b; background: #eef8f4; }
  2275. .md-table-line { padding: 5px 8px; border-bottom: 1px solid #e8ecea; font-family: Consolas, monospace; font-size: 9px; }
  2276. .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); }
  2277. .knowledge-tree-panel { border-right: 1px solid var(--border); background: #f7faf8; }
  2278. .knowledge-tree-panel > header { padding: 16px 17px; border-bottom: 1px solid var(--border); background: #fff; }
  2279. .knowledge-tree-panel > header strong, .knowledge-tree-panel > header span { display: block; }
  2280. .knowledge-tree-panel > header strong { font-size: 14px; }
  2281. .knowledge-tree-panel > header span { margin-top: 3px; color: var(--text-muted); font-size: 9px; }
  2282. .knowledge-tree { max-height: 780px; overflow: auto; padding: 9px 7px 20px; }
  2283. .knowledge-tree-folder { margin: 2px 0; }
  2284. .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; }
  2285. .knowledge-tree-folder > summary:hover { background: #eaf2ee; }
  2286. .knowledge-tree-folder > summary::-webkit-details-marker { display: none; }
  2287. .knowledge-tree-folder > summary span { color: #348064; font-size: 10px; }
  2288. .knowledge-tree-folder > summary strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  2289. .knowledge-tree-folder > summary em { padding: 2px 5px; border-radius: 8px; color: #779087; background: #e5eeea; font-size: 8px; font-style: normal; }
  2290. .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; }
  2291. .knowledge-tree-file:hover { background: #edf4f1; }
  2292. .knowledge-tree-file.active { color: #17674f; background: #deefe7; box-shadow: inset 3px 0 #238463; }
  2293. .knowledge-tree-file > span { display: grid; place-items: center; color: #3c8a6d; font: 700 8px/1 Consolas, monospace; }
  2294. .knowledge-tree-file strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  2295. .knowledge-tree-file small { color: #9aa7a2; font-size: 7px; }
  2296. .knowledge-viewer { min-width: 0; max-height: 820px; overflow: auto; }
  2297. .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; }
  2298. .knowledge-view-header > div > span { color: #438269; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
  2299. .knowledge-view-header h3 { margin: 5px 0 4px; font-size: 18px; }
  2300. .knowledge-view-header p { margin: 0; color: var(--text-muted); font-size: 9px; }
  2301. .knowledge-view-header code { max-width: 48%; overflow: hidden; color: #8b9893; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  2302. .knowledge-view-header > em { padding: 4px 7px; border-radius: 6px; color: #257254; background: #e3f2eb; font-size: 8px; font-style: normal; }
  2303. .knowledge-viewer > .markdown-view { padding: 22px 26px 40px; }
  2304. .knowledge-viewer > .code-view { margin: 20px 22px 30px; }
  2305. .json-summary { margin: 18px 22px -5px; color: #668078; font-size: 10px; }
  2306. .meeting-workbench { min-width: 0; background: #f7faf8; }
  2307. .meeting-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 18px 0; }
  2308. .meeting-stat-row > div { padding: 11px 13px; border: 1px solid #e0ebe6; border-radius: 10px; background: #fff; }
  2309. .meeting-stat-row strong, .meeting-stat-row span { display: block; }
  2310. .meeting-stat-row strong { overflow: hidden; color: #285e4b; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
  2311. .meeting-stat-row span { margin-top: 3px; color: #8a9993; font-size: 8px; }
  2312. .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; }
  2313. .meeting-cli-banner.ready { border-color: #b9dfce; background: #edf8f3; }
  2314. .meeting-cli-banner.waiting { border-color: #efd2a2; background: #fff8eb; }
  2315. .meeting-cli-banner.blocked { border-color: #e8bea9; background: #fff3ed; }
  2316. .meeting-cli-banner > div { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 2px 8px; }
  2317. .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); }
  2318. .meeting-cli-banner.ready i { background: #278263; box-shadow: 0 0 0 3px rgba(39,130,99,.13); }
  2319. .meeting-cli-banner.blocked i { background: #cf6748; box-shadow: 0 0 0 3px rgba(207,103,72,.13); }
  2320. .meeting-cli-banner strong { color: #44554e; font-size: 10px; }
  2321. .meeting-cli-banner span { grid-column: 2; color: #7d8d87; font-size: 8px; }
  2322. .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; }
  2323. .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; }
  2324. .meeting-sync-form label span { display: block; margin: 0 0 5px 2px; color: #75867f; font-size: 8px; font-weight: 700; }
  2325. .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; }
  2326. .meeting-sync-form .btn { height: 34px; }
  2327. .meeting-browser { min-height: 520px; display: grid; grid-template-columns: 245px minmax(0, 1fr); border-top: 1px solid #dfe8e4; background: #fff; }
  2328. .meeting-browser > aside { border-right: 1px solid #e2ebe7; background: #f8fbf9; }
  2329. .meeting-browser > aside > header { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px 9px; color: #54665f; font-size: 9px; }
  2330. .meeting-browser > aside > header span { color: #91a09a; font-size: 8px; }
  2331. .meeting-list { max-height: 590px; overflow: auto; padding: 0 7px 14px; }
  2332. .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; }
  2333. .meeting-list-item:hover { border-color: #d9e7e1; background: #fff; }
  2334. .meeting-list-item.active { border-color: #bbdccf; background: #eaf6f0; box-shadow: inset 3px 0 #298264; }
  2335. .meeting-list-item > div, .meeting-list-item footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  2336. .meeting-list-item strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  2337. .meeting-list-item em { flex: 0 0 auto; padding: 2px 5px; border-radius: 7px; color: #4d806d; background: #e2eee9; font-size: 7px; font-style: normal; }
  2338. .meeting-list-item p { margin: 6px 0; overflow: hidden; color: #85928d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  2339. .meeting-list-item footer { color: #8d9b96; font-size: 7px; }
  2340. .meeting-list-item footer small { color: #2d7d60; font-size: 7px; font-weight: 700; }
  2341. .meeting-browser > main { min-width: 0; }
  2342. .meeting-detail { padding: 18px 20px 34px; }
  2343. .meeting-detail > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid #e6edea; }
  2344. .meeting-detail > header span, .meeting-analysis-summary > span, .meeting-actions header span { color: #348064; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
  2345. .meeting-detail > header h3 { margin: 5px 0 4px; color: #33483f; font-size: 18px; }
  2346. .meeting-detail > header p { margin: 0; color: #82908b; font-size: 9px; }
  2347. .meeting-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 14px 0; }
  2348. .meeting-meta-grid > div { padding: 10px; border: 1px solid #e4ece8; border-radius: 9px; background: #fafcfb; }
  2349. .meeting-meta-grid small, .meeting-meta-grid strong { display: block; }
  2350. .meeting-meta-grid small { color: #92a09a; font-size: 7px; }
  2351. .meeting-meta-grid strong { margin-top: 4px; color: #50625a; font-size: 9px; }
  2352. .meeting-source-note { padding: 13px 14px; border-left: 3px solid #69a58d; border-radius: 0 9px 9px 0; background: #f3f8f6; }
  2353. .meeting-source-note strong { color: #476057; font-size: 9px; }
  2354. .meeting-source-note p { margin: 7px 0; color: #687a73; font-size: 9px; line-height: 1.65; }
  2355. .meeting-source-note small { color: #9aa6a1; font-size: 7px; }
  2356. .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; }
  2357. .meeting-analysis-summary { margin-top: 14px; padding: 14px; border: 1px solid #d7e7e0; border-radius: 11px; background: linear-gradient(135deg, #f0f8f4, #f8fbf9); }
  2358. .meeting-analysis-summary h4 { margin: 6px 0; color: #3e554c; font-size: 13px; line-height: 1.55; }
  2359. .meeting-analysis-summary p { margin: 0; color: #87958f; font-size: 8px; }
  2360. .meeting-analysis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
  2361. .meeting-analysis-grid > section { padding: 12px 13px; border: 1px solid #e2ebe7; border-radius: 10px; background: #fff; }
  2362. .meeting-analysis-grid h4, .meeting-actions h4 { margin: 0 0 8px; color: #4b5e56; font-size: 10px; }
  2363. .meeting-analysis-grid ul { margin: 0; padding-left: 16px; color: #687972; font-size: 8px; line-height: 1.65; }
  2364. .meeting-empty-copy { margin: 0; color: #9aa7a2; font-size: 8px; line-height: 1.6; }
  2365. .meeting-actions { margin-top: 10px; padding: 13px; border: 1px solid #dce8e3; border-radius: 11px; background: #fbfdfc; }
  2366. .meeting-actions > header { display: flex; align-items: center; justify-content: space-between; }
  2367. .meeting-actions > header h4 { margin: 4px 0 8px; }
  2368. .meeting-actions > header > em { padding: 3px 6px; border-radius: 7px; color: #34785f; background: #e5f2ec; font-size: 8px; font-style: normal; }
  2369. .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); }
  2370. .meeting-action-item > i { width: 4px; border-radius: 4px; background: #d3a64d; }
  2371. .meeting-action-item > i.high { background: #d96b55; }
  2372. .meeting-action-item > i.low { background: #5d9f88; }
  2373. .meeting-action-item strong { color: #4b5d56; font-size: 9px; }
  2374. .meeting-action-item p { margin: 4px 0; color: #7c8b85; font-size: 8px; }
  2375. .meeting-action-item small { color: #98a49f; font-size: 7px; }
  2376. .meeting-action-item > em { color: #3c8468; font-size: 9px; font-style: normal; font-weight: 800; }
  2377. .meeting-tags { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #596b64; font-size: 9px; }
  2378. .meeting-tags div { display: flex; flex-wrap: wrap; gap: 5px; }
  2379. .meeting-tags span { padding: 3px 7px; border-radius: 9px; color: #37775f; background: #e5f2ec; font-size: 7px; }
  2380. .office-workbench { min-width: 0; background: #f7faf8; }
  2381. .office-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 18px 0; }
  2382. .office-stat-row > div { padding: 11px 13px; border: 1px solid #e0ebe6; border-radius: 10px; background: #fff; }
  2383. .office-stat-row strong, .office-stat-row span { display: block; }
  2384. .office-stat-row strong { color: #285e4b; font-size: 15px; }
  2385. .office-stat-row span { margin-top: 3px; color: #8a9993; font-size: 8px; }
  2386. .office-cli-banner { display: flex; align-items: center; gap: 10px; margin: 12px 18px; padding: 11px 13px; border: 1px solid; border-radius: 10px; }
  2387. .office-cli-banner.ready { border-color: #b9dfce; background: #edf8f3; }
  2388. .office-cli-banner.blocked { border-color: #e8bea9; background: #fff3ed; }
  2389. .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); }
  2390. .office-cli-banner.blocked > i { background: #cf6748; }
  2391. .office-cli-banner strong, .office-cli-banner span { display: block; }
  2392. .office-cli-banner strong { color: #455a51; font-size: 10px; }
  2393. .office-cli-banner span { margin-top: 3px; color: #7f8f89; font-size: 8px; }
  2394. .office-action-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; padding: 0 18px 14px; }
  2395. .office-action-grid form { padding: 13px; border: 1px solid #e0e9e5; border-radius: 11px; background: #fff; }
  2396. .office-action-grid form header { margin-bottom: 9px; }
  2397. .office-action-grid form header strong, .office-action-grid form header span { display: block; }
  2398. .office-action-grid form header strong { color: #506159; font-size: 10px; }
  2399. .office-action-grid form header span { margin-top: 3px; color: #92a09a; font-size: 8px; }
  2400. .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; }
  2401. .office-action-grid textarea { resize: vertical; }
  2402. .office-browser { min-height: 500px; display: grid; grid-template-columns: 235px minmax(0, 1fr); border-top: 1px solid #dfe8e4; background: #fff; }
  2403. .office-browser > aside { padding: 8px; border-right: 1px solid #e2ebe7; background: #f8fbf9; }
  2404. .office-browser > aside > header { display: flex; justify-content: space-between; padding: 6px 5px 9px; color: #576861; font-size: 9px; }
  2405. .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; }
  2406. .office-list-item:hover { border-color: #d8e6df; background: #fff; }
  2407. .office-list-item.active { border-color: #b9dccd; background: #e9f5ef; box-shadow: inset 3px 0 #288064; }
  2408. .office-list-item strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  2409. .office-list-item span { color: #94a19c; font-size: 7px; }
  2410. .office-list-item small { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #2f7d60; font-size: 7px; }
  2411. .office-browser > main { min-width: 0; }
  2412. .doc-detail { padding: 18px 20px 35px; }
  2413. .doc-detail > header { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid #e5ece9; }
  2414. .doc-detail > header span, .doc-analysis > span, .todo-detail > span { color: #348064; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
  2415. .doc-detail > header h3, .todo-detail h3 { margin: 5px 0; color: #364b42; font-size: 18px; }
  2416. .doc-detail > header p { margin: 0; color: #88968f; font-size: 8px; }
  2417. .doc-detail > header > div:last-child { display: flex; align-items: center; gap: 8px; }
  2418. .doc-detail > header a { color: #287b5e; font-size: 8px; }
  2419. .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; }
  2420. .doc-readback-warning strong { flex: 0 0 auto; }
  2421. .doc-analysis { margin: 13px 0; padding: 13px; border: 1px solid #d9e8e1; border-radius: 10px; background: #f2f8f5; }
  2422. .doc-analysis > h4 { margin: 6px 0 10px; color: #44594f; font-size: 12px; line-height: 1.5; }
  2423. .doc-analysis > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
  2424. .doc-analysis section { padding: 9px; border-radius: 8px; background: #fff; }
  2425. .doc-analysis section strong { color: #566860; font-size: 8px; }
  2426. .doc-analysis ul { margin: 6px 0 0; padding-left: 15px; color: #74837d; font-size: 8px; line-height: 1.55; }
  2427. .doc-analysis section p { color: #9aa6a1; font-size: 8px; }
  2428. .doc-original { border: 1px solid #e1e9e5; border-radius: 10px; overflow: hidden; }
  2429. .doc-original > header { display: flex; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #e5ece9; color: #52645c; font-size: 9px; }
  2430. .doc-original > header span { color: #96a29d; font-size: 8px; }
  2431. .doc-original .markdown-view { max-height: 480px; overflow: auto; padding: 16px 18px; }
  2432. .todo-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 18px 10px; }
  2433. .todo-toolbar form { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
  2434. .todo-toolbar input { margin: 0; }
  2435. .todo-user-results { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 10px; }
  2436. .todo-user-results button { padding: 7px 10px; border: 1px solid #cfe2d9; border-radius: 8px; text-align: left; color: #4b6258; background: #fff; cursor: pointer; }
  2437. .todo-user-results strong, .todo-user-results span { display: block; font-size: 8px; }
  2438. .todo-user-results span { margin-top: 2px; color: #8e9b96; }
  2439. .todo-create-form { display: grid; grid-template-columns: 1.4fr 1fr 170px 120px auto; gap: 7px; padding: 0 18px 14px; }
  2440. .todo-create-form input, .todo-create-form select { margin: 0; }
  2441. .todo-detail { padding: 24px; }
  2442. .todo-detail .todo-status { display: inline-block; margin: 8px 0 14px; padding: 4px 8px; border-radius: 9px; color: #347a60; background: #e3f1eb; font-size: 8px; }
  2443. .todo-detail .todo-status.done { color: #71807a; background: #edf1ef; }
  2444. .todo-detail dl { display: grid; gap: 7px; margin: 0 0 16px; }
  2445. .todo-detail dl > div { display: grid; grid-template-columns: 75px minmax(0,1fr); padding: 9px 10px; border-radius: 8px; background: #f7faf8; font-size: 9px; }
  2446. .todo-detail dt { color: #8a9892; }
  2447. .todo-detail dd { margin: 0; color: #506159; }
  2448. .todo-detail > p { margin-top: 14px; color: #96a29d; font-size: 8px; }
  2449. .property-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 18px 0; }
  2450. .property-stats > div { padding: 12px 13px; border: 1px solid #e1eae6; border-radius: 10px; background: #f8fbf9; }
  2451. .property-stats strong, .property-stats span { display: block; }
  2452. .property-stats strong { color: #17674f; font-size: 18px; }
  2453. .property-stats strong small { margin-left: 2px; font-size: 9px; }
  2454. .property-stats span { margin-top: 3px; color: #87958f; font-size: 8px; }
  2455. .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; }
  2456. .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; }
  2457. .property-filterbar input:focus, .property-filterbar select:focus { border-color: #399071; box-shadow: 0 0 0 3px rgba(57,144,113,.08); }
  2458. .property-browser-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; min-height: 520px; border-top: 1px solid var(--border); }
  2459. .property-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 9px; padding: 15px; }
  2460. .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; }
  2461. .property-card:hover { transform: translateY(-2px); border-color: #76ae98; box-shadow: 0 9px 18px rgba(42,91,72,.09); }
  2462. .property-card.active { border-color: #238463; background: #f0faf6; box-shadow: inset 0 0 0 1px #238463; }
  2463. .property-card > div { display: flex; justify-content: space-between; gap: 8px; }
  2464. .property-card > div span { color: #8a9892; font: 700 8px/1 Consolas, monospace; }
  2465. .property-card > div em { padding: 3px 6px; border-radius: 5px; color: #277257; background: #e6f4ee; font-size: 7px; font-style: normal; }
  2466. .property-card h4 { margin: 10px 0 4px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  2467. .property-card p { margin: 0; overflow: hidden; color: #7e8c86; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  2468. .property-card > strong { display: block; margin: 12px 0 9px; color: #e47822; font-size: 18px; }
  2469. .property-card > strong small { margin-left: 2px; font-size: 8px; }
  2470. .property-card footer { display: flex; flex-wrap: wrap; gap: 3px; }
  2471. .property-card footer i { padding: 3px 5px; border-radius: 4px; color: #718079; background: #f0f3f2; font-size: 7px; font-style: normal; }
  2472. .property-detail-panel { border-left: 1px solid var(--border); background: #fbfdfc; }
  2473. .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); }
  2474. .property-detail-empty strong { color: #55665f; font-size: 13px; }
  2475. .property-detail-empty span { font-size: 9px; line-height: 1.55; }
  2476. .property-detail > header { padding: 20px; color: #fff; background: linear-gradient(145deg, #17674f, #2a8d6c); }
  2477. .property-detail > header > span { color: rgba(255,255,255,.62); font: 700 9px/1 Consolas, monospace; }
  2478. .property-detail > header h3 { margin: 7px 0 3px; font-size: 18px; }
  2479. .property-detail > header > strong { display: block; font-size: 27px; }
  2480. .property-detail > header > strong small { margin-left: 3px; font-size: 10px; }
  2481. .property-detail > header p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: 9px; }
  2482. .property-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #e8eeeb; }
  2483. .property-detail-grid > div { padding: 10px 12px; background: #fff; }
  2484. .property-detail-grid small, .property-detail-grid strong { display: block; }
  2485. .property-detail-grid small { color: #95a19c; font-size: 7px; }
  2486. .property-detail-grid strong { margin-top: 3px; overflow: hidden; color: #485750; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  2487. .property-detail section { padding: 13px 16px; border-top: 1px solid #e7ecea; }
  2488. .property-detail section h4 { margin: 0 0 8px; color: #33463f; font-size: 10px; }
  2489. .property-detail section p { margin: 0; color: #74817c; font-size: 9px; line-height: 1.6; }
  2490. .property-tags { display: flex; flex-wrap: wrap; gap: 5px; }
  2491. .property-tags span { padding: 4px 7px; border-radius: 6px; color: #28765a; background: #e6f4ee; font-size: 8px; }
  2492. .property-score-list { display: grid; gap: 7px; }
  2493. .property-score-list > div { display: grid; grid-template-columns: 52px 1fr 18px; align-items: center; gap: 6px; font-size: 8px; }
  2494. .property-score-list i { height: 4px; overflow: hidden; border-radius: 4px; background: #e4ebe8; }
  2495. .property-score-list b { display: block; height: 100%; border-radius: inherit; background: #4baa86; }
  2496. .property-score-list em { color: #7d8b85; font-style: normal; }
  2497. .library-empty, .library-error { padding: 35px; text-align: center; color: var(--text-muted); font-size: 11px; }
  2498. .library-empty.large { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  2499. .library-empty strong, .library-empty span { display: block; }
  2500. .library-empty strong { color: #53635d; font-size: 14px; }
  2501. .library-error { margin: 20px; border: 1px solid #efc7b6; border-radius: 12px; color: #934a2e; background: #fff4ef; }
  2502. @media (max-width: 1280px) {
  2503. .skill-hub-layout { grid-template-columns: 190px minmax(360px, 1fr) 290px; }
  2504. .property-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  2505. .property-browser-layout { grid-template-columns: minmax(0, 1fr) 285px; }
  2506. }
  2507. @media (max-width: 1050px) {
  2508. .workspace-hero { align-items: stretch; flex-direction: column; }
  2509. .skill-hub-layout { grid-template-columns: 190px minmax(0, 1fr); }
  2510. .skill-detail-panel { grid-column: 1 / -1; max-height: none; border-top: 1px solid var(--border); border-left: 0; }
  2511. .knowledge-layout { grid-template-columns: 235px minmax(0, 1fr); }
  2512. .meeting-cli-banner { grid-template-columns: 1fr auto; }
  2513. .meeting-cli-banner code { grid-column: 1 / -1; }
  2514. .meeting-browser { grid-template-columns: 210px minmax(0, 1fr); }
  2515. .meeting-meta-grid { grid-template-columns: repeat(2, 1fr); }
  2516. .office-browser { grid-template-columns: 205px minmax(0, 1fr); }
  2517. .todo-create-form { grid-template-columns: 1fr 1fr; }
  2518. .property-browser-layout { display: block; }
  2519. .property-detail-panel { border-top: 1px solid var(--border); border-left: 0; }
  2520. }
  2521. @media (max-width: 768px) {
  2522. .sidebar { transform: translateX(-100%); }
  2523. .sidebar.open { transform: translateX(0); }
  2524. .sidebar-backdrop { position: fixed; inset: 0; z-index: 90; display: block; border: 0; background: rgba(15, 23, 42, .42); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  2525. .sidebar-backdrop.active { opacity: 1; pointer-events: auto; }
  2526. .main { margin-left: 0; }
  2527. .menu-btn { display: block; }
  2528. .content { padding: 20px 16px 40px; }
  2529. .stats-grid { grid-template-columns: repeat(2, 1fr); }
  2530. .account-name { display: none; }
  2531. .topbar { padding: 0 16px; }
  2532. .workspace-stat-row { flex-wrap: wrap; }
  2533. .skill-toolbar { align-items: stretch; flex-direction: column; }
  2534. .skill-toolbar input { width: 100%; }
  2535. .skill-hub-layout, .knowledge-layout { display: block; }
  2536. .skill-package-list { border-right: 0; border-bottom: 1px solid var(--border); }
  2537. .skill-card-grid, .property-card-grid { grid-template-columns: 1fr; }
  2538. .knowledge-tree-panel { border-right: 0; border-bottom: 1px solid var(--border); }
  2539. .knowledge-tree { max-height: 330px; }
  2540. .meeting-stat-row { grid-template-columns: repeat(2, 1fr); }
  2541. .meeting-cli-banner, .meeting-sync-form, .meeting-browser { display: block; }
  2542. .meeting-cli-banner code, .meeting-cli-banner .btn { display: block; width: 100%; margin-top: 8px; }
  2543. .meeting-sync-form label, .meeting-sync-form .btn { display: block; width: 100%; margin-top: 8px; }
  2544. .meeting-browser > aside { border-right: 0; border-bottom: 1px solid #e2ebe7; }
  2545. .meeting-list { max-height: 260px; }
  2546. .meeting-analysis-grid { grid-template-columns: 1fr; }
  2547. .office-stat-row, .doc-analysis > div { grid-template-columns: 1fr; }
  2548. .office-action-grid, .office-browser, .todo-toolbar, .todo-create-form { display: block; }
  2549. .office-action-grid form, .todo-toolbar form, .todo-create-form input, .todo-create-form select, .todo-create-form .btn { margin-top: 8px; }
  2550. .office-browser > aside { border-right: 0; border-bottom: 1px solid #e2ebe7; }
  2551. .property-stats { grid-template-columns: repeat(2, 1fr); }
  2552. .property-filterbar { grid-template-columns: 1fr; }
  2553. }
  2554. /* 社群运营 */
  2555. /* Business overview */
  2556. .overview-root { max-width: 1520px; margin: 0 auto; }
  2557. .overview-page { display: grid; gap: 16px; }
  2558. .overview-command {
  2559. display: grid;
  2560. grid-template-columns: minmax(270px, .72fr) minmax(440px, 1.28fr);
  2561. gap: 30px;
  2562. align-items: center;
  2563. min-height: 190px;
  2564. padding: 26px 30px;
  2565. border: 1px solid #dce4e1;
  2566. border-radius: 12px;
  2567. background: #fff;
  2568. box-shadow: 0 8px 26px rgba(26, 52, 43, .055);
  2569. }
  2570. .overview-command-copy { display: grid; gap: 7px; }
  2571. .overview-command-copy h2 { margin: 0; color: #172b23; font-size: 30px; line-height: 1.25; letter-spacing: 0; }
  2572. .overview-command-copy p { max-width: 520px; margin: 0; color: #64736c; font-size: 13px; line-height: 1.7; }
  2573. .overview-kicker { display: flex; align-items: center; gap: 7px; color: #648076; font-size: 11px; font-weight: 700; }
  2574. .overview-live { width: 8px; height: 8px; border-radius: 50%; background: #a9b2ae; box-shadow: 0 0 0 4px #f0f3f2; }
  2575. .overview-live.online { background: #24a369; box-shadow: 0 0 0 4px #e6f6ee; }
  2576. .overview-query-form { display: grid; gap: 9px; }
  2577. .overview-query-form > label { color: #35483f; font-size: 12px; font-weight: 700; }
  2578. .overview-query-form > div:first-of-type { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  2579. .overview-query-form input { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #d7dfdc; border-radius: 8px; color: #1e3028; background: #fbfcfc; font: inherit; }
  2580. .overview-query-form input:focus { border-color: #2a8a64; outline: 3px solid rgba(42, 138, 100, .13); background: #fff; }
  2581. .overview-query-form .btn { min-height: 46px; padding-inline: 19px; background: #237858; border-color: #237858; }
  2582. .overview-query-form .btn:hover { background: #1b684b; border-color: #1b684b; }
  2583. .overview-query-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  2584. .overview-query-chips button { min-height: 30px; padding: 5px 10px; border: 1px solid #e0e5e3; border-radius: 999px; color: #617069; background: #fff; font: inherit; font-size: 11px; cursor: pointer; transition: border-color .18s, color .18s, background-color .18s; }
  2585. .overview-query-chips button:hover { border-color: #a8c9bb; color: #246b50; background: #f4faf7; }
  2586. .overview-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  2587. .overview-kpi { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 104px; padding: 16px; border: 1px solid #dfe5e2; border-radius: 10px; color: inherit; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 4px 16px rgba(28, 49, 41, .035); transition: border-color .18s, box-shadow .18s, background-color .18s; }
  2588. .overview-kpi:hover { border-color: #b8cfc5; background: #fcfefd; box-shadow: 0 8px 22px rgba(28, 69, 52, .075); }
  2589. .overview-kpi.attention { border-color: #efc9bf; background: #fffdfc; }
  2590. .overview-kpi-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; color: #347659; background: #eaf5ef; }
  2591. .overview-kpi-icon.portrait { color: #376b96; background: #edf5fb; }
  2592. .overview-kpi-icon.task { color: #956925; background: #fff6e7; }
  2593. .overview-kpi-icon.risk { color: #aa5043; background: #fff0ed; }
  2594. .overview-kpi-icon svg { width: 21px; height: 21px; fill: currentColor; }
  2595. .overview-kpi > div { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: baseline; }
  2596. .overview-kpi small { grid-column: 1 / -1; color: #75827c; font-size: 11px; }
  2597. .overview-kpi strong { color: #1d3028; font-size: 26px; line-height: 1; }
  2598. .overview-kpi em { justify-self: end; color: #87918c; font-size: 10px; font-style: normal; white-space: nowrap; }
  2599. .overview-main-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr); gap: 12px; align-items: start; }
  2600. .overview-primary-column, .overview-secondary-column { display: grid; gap: 12px; }
  2601. .overview-panel { padding: 18px; border: 1px solid #dfe5e2; border-radius: 10px; background: #fff; box-shadow: 0 5px 18px rgba(24, 48, 38, .035); }
  2602. .overview-panel-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
  2603. .overview-panel-header > div { display: grid; gap: 2px; }
  2604. .overview-panel-header span { color: #5d8473; font-size: 9px; font-weight: 750; letter-spacing: 1px; }
  2605. .overview-panel-header h3 { margin: 0; color: #23372e; font-size: 16px; letter-spacing: 0; }
  2606. .overview-panel-header > small { color: #89948f; font-size: 10px; }
  2607. .overview-panel-header > strong { color: #223a30; font-size: 22px; }
  2608. .overview-diagnosis-empty { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 24px; border-top: 1px solid #edf0ee; color: #78857f; text-align: center; }
  2609. .overview-diagnosis-empty strong { color: #40534a; font-size: 14px; }
  2610. .overview-diagnosis-empty span { max-width: 520px; font-size: 11px; line-height: 1.7; }
  2611. .overview-diagnosis-result { display: grid; gap: 13px; padding-top: 14px; border-top: 1px solid #edf0ee; }
  2612. .overview-diagnosis-result > header { display: grid; gap: 5px; padding-left: 12px; border-left: 3px solid #4b89b6; }
  2613. .overview-diagnosis-result.warning > header { border-left-color: #d99335; }
  2614. .overview-diagnosis-result.danger > header { border-left-color: #cc5e50; }
  2615. .overview-diagnosis-result.success > header { border-left-color: #319267; }
  2616. .overview-diagnosis-result > header span { color: #638072; font-size: 10px; font-weight: 700; }
  2617. .overview-diagnosis-result > header strong { color: #263a31; font-size: 17px; }
  2618. .overview-diagnosis-result > p { margin: 0; color: #65726c; font-size: 12px; line-height: 1.7; }
  2619. .overview-evidence { display: flex; flex-wrap: wrap; gap: 7px; }
  2620. .overview-evidence span { padding: 6px 9px; border-radius: 6px; color: #53665d; background: #f2f6f4; font-size: 10px; }
  2621. .overview-data-gaps { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; align-items: start; padding: 10px 12px; border-left: 3px solid #d99a43; background: #fffaf1; }
  2622. .overview-data-gaps > strong { color: #8b6327; font-size: 10px; white-space: nowrap; }
  2623. .overview-data-gaps > div { display: flex; flex-wrap: wrap; gap: 6px; }
  2624. .overview-data-gaps span { display: inline-flex; flex-direction: column; gap: 2px; padding-right: 9px; border-right: 1px solid #eadcc2; color: #765d35; font-size: 10px; }
  2625. .overview-data-gaps span:last-child { border-right: 0; }
  2626. .overview-data-gaps small { color: #9a845f; font-size: 8px; }
  2627. .overview-diagnosis-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #edf0ee; border-bottom: 1px solid #edf0ee; }
  2628. .overview-diagnosis-action { min-width: 0; display: grid; grid-template-rows: minmax(70px, 1fr) auto; border-right: 1px solid #edf0ee; }
  2629. .overview-diagnosis-action:last-child { border-right: 0; }
  2630. .overview-diagnosis-go { position: relative; min-width: 0; min-height: 70px; display: grid; gap: 4px; align-content: center; padding: 11px 34px 8px 12px; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; transition: background-color .18s; }
  2631. .overview-diagnosis-go:hover { background: #f7faf8; }
  2632. .overview-diagnosis-go > span { color: #2e4b3e; font-size: 12px; font-weight: 700; }
  2633. .overview-diagnosis-go > small { overflow: hidden; color: #68776f; font-size: 9px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
  2634. .overview-diagnosis-go svg { position: absolute; top: 50%; right: 10px; width: 15px; height: 15px; fill: #7f9a8d; transform: translateY(-50%); }
  2635. .overview-candidate-btn { min-height: 31px; padding: 0 12px; border: 0; border-top: 1px solid #edf0ee; color: #327157; background: #fbfdfc; font: inherit; font-size: 9px; font-weight: 700; text-align: left; cursor: pointer; transition: color .18s, background-color .18s; }
  2636. .overview-candidate-btn:hover { color: #1f5e45; background: #f0f8f4; }
  2637. .overview-candidate-btn.added, .overview-candidate-btn:disabled { color: #718079; background: #f3f5f4; cursor: default; }
  2638. .overview-action-list { display: grid; gap: 7px; }
  2639. .overview-action { display: grid; grid-template-columns: 4px 42px minmax(0, 1fr) 18px; gap: 10px; align-items: center; min-height: 61px; padding: 8px 11px; border: 1px solid #e4e8e6; border-radius: 8px; color: inherit; background: #fff; text-align: left; cursor: pointer; transition: border-color .18s, background-color .18s; }
  2640. .overview-action:hover { border-color: #bdcec7; background: #fafcfb; }
  2641. .overview-action > i { align-self: stretch; border-radius: 999px; background: #5f8fbc; }
  2642. .overview-action.warning > i { background: #d99a43; }
  2643. .overview-action.danger > i { background: #cf675b; }
  2644. .overview-action > strong { color: #2a3f36; font-size: 21px; text-align: center; }
  2645. .overview-action > span { min-width: 0; display: grid; gap: 3px; }
  2646. .overview-action b { color: #35483f; font-size: 12px; }
  2647. .overview-action small { overflow: hidden; color: #849089; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  2648. .overview-action > svg { width: 16px; height: 16px; fill: #8da096; }
  2649. .overview-health-track { height: 7px; margin: 17px 0; overflow: hidden; border-radius: 999px; background: #edf1ef; }
  2650. .overview-health-track i { display: block; height: 100%; border-radius: inherit; background: #3d9b70; }
  2651. .overview-health-panel dl { display: grid; gap: 9px; margin: 0 0 16px; }
  2652. .overview-health-panel dl div { display: flex; justify-content: space-between; gap: 16px; color: #6f7e77; font-size: 11px; }
  2653. .overview-health-panel dt, .overview-health-panel dd { margin: 0; }
  2654. .overview-health-panel dd { color: #33493f; font-weight: 700; }
  2655. .overview-text-action { width: 100%; min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0; border: 0; border-top: 1px solid #edf0ee; color: #39735a; background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
  2656. .overview-text-action svg { width: 15px; height: 15px; fill: currentColor; }
  2657. .overview-worker { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 58px; border-top: 1px solid #edf0ee; }
  2658. .overview-worker-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 7px; color: #417a61; background: #eef6f2; }
  2659. .overview-worker-icon svg { width: 17px; height: 17px; fill: currentColor; }
  2660. .overview-worker > div { min-width: 0; display: grid; gap: 3px; }
  2661. .overview-worker strong { color: #30443a; font-size: 12px; }
  2662. .overview-worker small { overflow: hidden; color: #87928c; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  2663. .overview-worker em { min-height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 999px; color: #69756f; background: #f0f2f1; font-size: 9px; font-style: normal; white-space: nowrap; }
  2664. .overview-worker em.online { color: #227149; background: #e9f7ef; }
  2665. .overview-data-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; min-height: 40px; padding: 0 4px; color: #8a9590; font-size: 10px; }
  2666. .overview-data-note button { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 9px; border: 0; color: #547065; background: transparent; font: inherit; cursor: pointer; }
  2667. .overview-data-note button svg { width: 14px; height: 14px; fill: currentColor; }
  2668. .overview-query-form button:focus-visible, .overview-kpi:focus-visible, .overview-action:focus-visible, .overview-diagnosis-actions button:focus-visible, .overview-text-action:focus-visible, .overview-data-note button:focus-visible { outline: 3px solid rgba(35, 120, 88, .22); outline-offset: 2px; }
  2669. /* Business overview visual refresh */
  2670. .overview-page { gap: 18px; }
  2671. .overview-command {
  2672. position: relative;
  2673. overflow: hidden;
  2674. min-height: 224px;
  2675. padding: 32px 34px;
  2676. border: 0;
  2677. border-radius: 8px;
  2678. color: #fff;
  2679. background: #153c32;
  2680. box-shadow: 0 18px 42px rgba(21, 60, 50, .17);
  2681. }
  2682. .overview-command::after {
  2683. position: absolute;
  2684. right: 0;
  2685. bottom: 0;
  2686. width: 38%;
  2687. height: 3px;
  2688. background: #e5a33f;
  2689. content: '';
  2690. }
  2691. .overview-command-copy { gap: 10px; }
  2692. .overview-command-copy h2 { color: #fff; font-size: 34px; line-height: 1.2; }
  2693. .overview-command-copy p { color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.65; }
  2694. .overview-kicker { color: #b9d8cd; font-size: 12px; }
  2695. .overview-live { background: #91a89f; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
  2696. .overview-live.online { background: #55d794; box-shadow: 0 0 0 4px rgba(85, 215, 148, .15); }
  2697. .overview-command-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
  2698. .overview-command-status span { min-height: 32px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; color: rgba(255, 255, 255, .76); background: rgba(255, 255, 255, .07); font-size: 12px; }
  2699. .overview-command-status strong { color: #fff; font-size: 14px; }
  2700. .overview-command-status .is-risk { border-color: rgba(255, 193, 181, .3); color: #ffd5cd; background: rgba(154, 54, 42, .26); }
  2701. .overview-query-form { position: relative; z-index: 1; gap: 11px; padding: 0; background: transparent; box-shadow: none; }
  2702. .overview-query-form > label { color: #c6ded5; font-size: 13px; }
  2703. .overview-query-form input { min-height: 48px; padding: 0 15px; border-color: rgba(255, 255, 255, .7); border-radius: 6px; color: #172b23; background: rgba(255, 255, 255, .96); font-size: 14px; box-shadow: 0 7px 20px rgba(6, 27, 21, .13); }
  2704. .overview-query-form input::placeholder { color: #75837d; }
  2705. .overview-query-form input:focus { border-color: #f1b252; outline-color: rgba(241, 178, 82, .28); }
  2706. .overview-query-form .btn { min-height: 48px; border-color: #e7a03a; border-radius: 6px; color: #17372e; background: #f0aa43; box-shadow: 0 7px 18px rgba(6, 27, 21, .18); }
  2707. .overview-query-form .btn:hover { border-color: #f3b75b; color: #102e26; background: #f3b75b; }
  2708. .overview-query-chips { gap: 7px; }
  2709. .overview-query-chips button { min-height: 34px; padding: 6px 11px; border-color: rgba(255, 255, 255, .18); border-radius: 6px; color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .06); font-size: 12px; }
  2710. .overview-query-chips button:hover { border-color: rgba(255, 255, 255, .36); color: #fff; background: rgba(255, 255, 255, .12); }
  2711. .overview-kpi-grid { gap: 12px; }
  2712. .overview-kpi { min-height: 118px; padding: 18px; border-color: #dce4e0; border-radius: 8px; box-shadow: 0 6px 20px rgba(29, 54, 44, .045); }
  2713. .overview-kpi:hover { border-color: #9fc3b3; box-shadow: 0 12px 28px rgba(28, 69, 52, .1); }
  2714. .overview-kpi-icon { width: 44px; height: 44px; border-radius: 7px; }
  2715. .overview-kpi small { color: #65766e; font-size: 13px; font-weight: 650; }
  2716. .overview-kpi strong { font-size: 30px; }
  2717. .overview-kpi em { color: #738179; font-size: 12px; }
  2718. .overview-main-grid { grid-template-columns: minmax(0, 1.58fr) minmax(320px, .72fr); gap: 14px; }
  2719. .overview-primary-column, .overview-secondary-column { gap: 14px; }
  2720. .overview-panel { padding: 21px; border-color: #dce4e0; border-radius: 8px; box-shadow: 0 7px 24px rgba(24, 48, 38, .045); }
  2721. .overview-panel-header { margin-bottom: 17px; }
  2722. .overview-panel-header span { color: #477664; font-size: 10px; letter-spacing: 1px; }
  2723. .overview-panel-header h3 { font-size: 18px; }
  2724. .overview-panel-header > small { color: #74827b; font-size: 12px; }
  2725. .overview-panel-header > strong { font-size: 24px; }
  2726. .overview-diagnosis-empty { min-height: 200px; gap: 9px; }
  2727. .overview-diagnosis-empty strong { font-size: 16px; }
  2728. .overview-diagnosis-empty span { color: #697870; font-size: 13px; }
  2729. .overview-diagnosis-result > header span { font-size: 11px; }
  2730. .overview-diagnosis-result > header strong { font-size: 18px; }
  2731. .overview-diagnosis-result > p { font-size: 14px; }
  2732. .overview-evidence span, .overview-data-gaps > strong, .overview-data-gaps span { font-size: 12px; }
  2733. .overview-data-gaps small { font-size: 11px; }
  2734. .overview-diagnosis-go { min-height: 82px; padding: 13px 36px 10px 14px; }
  2735. .overview-diagnosis-go > span { font-size: 14px; }
  2736. .overview-diagnosis-go > small { font-size: 12px; }
  2737. .overview-candidate-btn { min-height: 38px; font-size: 12px; }
  2738. .overview-action { min-height: 72px; padding: 10px 13px; border-radius: 7px; }
  2739. .overview-action > strong { font-size: 23px; }
  2740. .overview-action b { font-size: 14px; }
  2741. .overview-action small { color: #718078; font-size: 12px; }
  2742. .overview-health-track { height: 8px; }
  2743. .overview-health-panel dl { gap: 12px; }
  2744. .overview-health-panel dl div, .overview-text-action { font-size: 13px; }
  2745. .overview-text-action { min-height: 44px; }
  2746. .overview-worker { grid-template-columns: 42px minmax(0, 1fr) auto; min-height: 68px; }
  2747. .overview-worker-icon { width: 40px; height: 40px; }
  2748. .overview-worker strong { font-size: 14px; }
  2749. .overview-worker small { color: #6f7d76; font-size: 12px; }
  2750. .overview-worker em { min-height: 26px; font-size: 11px; }
  2751. .overview-data-note { min-height: 44px; color: #6e7c75; font-size: 12px; }
  2752. .overview-data-note button { min-height: 44px; }
  2753. @media (max-width: 1180px) {
  2754. .overview-command { grid-template-columns: 1fr; gap: 18px; }
  2755. .overview-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  2756. .overview-main-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  2757. }
  2758. @media (max-width: 860px) {
  2759. .overview-main-grid { grid-template-columns: 1fr; }
  2760. .overview-secondary-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  2761. }
  2762. @media (max-width: 640px) {
  2763. .overview-page { gap: 12px; }
  2764. .overview-command { min-height: 0; padding: 22px 16px; }
  2765. .overview-command-copy h2 { font-size: 28px; }
  2766. .overview-command-copy p { font-size: 15px; }
  2767. .overview-command-status { display: grid; grid-template-columns: 1fr; }
  2768. .overview-command-status span { width: 100%; font-size: 13px; }
  2769. .overview-query-form { padding: 0; }
  2770. .overview-query-form > div:first-of-type { grid-template-columns: 1fr; }
  2771. .overview-query-form input { font-size: 16px; }
  2772. .overview-query-form .btn { width: 100%; }
  2773. .overview-query-chips button { min-height: 44px; }
  2774. .overview-kpi-grid, .overview-secondary-column { grid-template-columns: 1fr; }
  2775. .overview-kpi { min-height: 104px; }
  2776. .overview-panel { padding: 16px; }
  2777. .overview-diagnosis-actions { grid-template-columns: 1fr; }
  2778. .overview-diagnosis-action { border-right: 0; border-bottom: 1px solid #edf0ee; }
  2779. .overview-diagnosis-action:last-child { border-bottom: 0; }
  2780. .overview-data-note { align-items: flex-start; flex-direction: column; padding-bottom: 10px; }
  2781. .overview-data-note button { margin-left: 0; }
  2782. }
  2783. @media (prefers-reduced-motion: reduce) {
  2784. .overview-query-chips button, .overview-kpi, .overview-action, .overview-diagnosis-actions button { transition: none; }
  2785. }
  2786. .group-ops-page { display: flex; flex-direction: column; gap: 20px; }
  2787. .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); }
  2788. .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; }
  2789. .group-ops-tabs button:hover, .group-ops-tabs button:focus-visible { color: var(--brand); background: var(--brand-bg); outline: none; }
  2790. .group-ops-tabs button.active { color: #873800; background: #fff1d6; box-shadow: inset 0 0 0 1px #ffd591; }
  2791. .group-ops-hero {
  2792. display: flex; align-items: center; justify-content: space-between; gap: 20px;
  2793. padding: 22px 24px; border: 1px solid #ffd8a8; border-radius: var(--radius-md);
  2794. background: linear-gradient(120deg, #fff7e6 0%, #fff 68%); box-shadow: var(--shadow);
  2795. }
  2796. .group-ops-hero h2 { margin: 4px 0 6px; color: var(--text-primary); font-size: 24px; }
  2797. .group-ops-hero p { margin: 0; color: var(--text-secondary); line-height: 1.6; }
  2798. .group-ops-kicker { color: #ad4e00; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
  2799. .group-ops-stats { margin-bottom: 0; grid-template-columns: repeat(5, minmax(130px, 1fr)); }
  2800. .group-ops-stats .stat-card { text-align: left; }
  2801. .group-ops-stats .stat-card.danger .stat-value { color: var(--error); }
  2802. .group-ops-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px; }
  2803. .group-ops-builder, .group-ops-risks, .group-ops-workbench { padding: 20px; }
  2804. .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); }
  2805. .group-ops-form label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
  2806. .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; }
  2807. .group-ops-form input:focus, .group-ops-form textarea:focus { outline: 3px solid rgba(250, 140, 22, .16); border-color: var(--brand); }
  2808. .group-ops-form .btn { grid-column: 2; justify-self: start; min-height: 40px; }
  2809. .group-ops-plan-form { margin-top: 16px; }
  2810. .group-ops-playbooks { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
  2811. .group-ops-playbooks article { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
  2812. .group-ops-playbooks article > div { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
  2813. .group-ops-playbooks article span { color: var(--text-muted); font-size: 12px; }
  2814. .group-ops-list { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow-y: auto; }
  2815. .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); }
  2816. .group-ops-risk.high { border-left-color: var(--error); background: var(--error-bg); }
  2817. .group-ops-risk > div:first-child { min-width: 0; }
  2818. .group-ops-risk p { margin: 5px 0; color: var(--text-secondary); font-size: 13px; }
  2819. .group-ops-risk small { display: block; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); }
  2820. .group-ops-risk > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
  2821. .group-ops-copy { min-width: 260px; max-width: 520px; white-space: normal; line-height: 1.6; }
  2822. .group-ops-workbench .table-wrap { max-width: 100%; }
  2823. .group-ops-workbench table { min-width: 880px; }
  2824. .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); }
  2825. .group-ops-inline-form label { color: var(--text-secondary); font-size: 13px; font-weight: 600; }
  2826. .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; }
  2827. .group-ops-inline-form input:focus, .group-ops-inline-form select:focus { border-color: var(--brand); outline: 3px solid rgba(250,140,22,.16); }
  2828. .group-ops-quality-form input { min-width: 180px; flex: 1; }
  2829. .group-ops-task-list { display: flex; flex-direction: column; gap: 8px; }
  2830. .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); }
  2831. .group-ops-task-list article > div { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
  2832. .group-ops-task-list article span { color: var(--text-muted); font-size: 12px; }
  2833. .group-ops-automation { padding: 20px; border-color: #ffd591; }
  2834. .group-ops-automation-state { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  2835. .group-ops-automation-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; }
  2836. .group-ops-time-window { display: flex; align-items: center; gap: 8px; }
  2837. .group-ops-time-window input { min-width: 0; }
  2838. .group-ops-automation-summary { padding: 18px; border: 1px solid #ffd591; border-radius: var(--radius-md); background: #fffaf0; }
  2839. .group-ops-automation-summary h4 { margin: 0 0 14px; color: var(--text-primary); font-size: 16px; }
  2840. .group-ops-automation-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
  2841. .group-ops-automation-summary dl div { padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--panel-bg); }
  2842. .group-ops-automation-summary dt { color: var(--text-muted); font-size: 12px; }
  2843. .group-ops-automation-summary dd { margin: 4px 0 0; color: var(--text-primary); font-weight: 700; }
  2844. .group-ops-automation-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  2845. .group-ops-automation-log-header { margin-top: 22px; }
  2846. @media (max-width: 1100px) {
  2847. .group-ops-stats { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
  2848. .group-ops-grid { grid-template-columns: 1fr; }
  2849. .group-ops-automation-grid { grid-template-columns: 1fr; }
  2850. }
  2851. @media (max-width: 700px) {
  2852. .group-ops-hero { align-items: flex-start; flex-direction: column; padding: 18px; }
  2853. .group-ops-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  2854. .group-ops-form { grid-template-columns: 1fr; }
  2855. .group-ops-form .btn { grid-column: 1; width: 100%; }
  2856. .group-ops-builder, .group-ops-risks, .group-ops-workbench { padding: 14px; }
  2857. .group-ops-inline-form { align-items: stretch; flex-direction: column; }
  2858. .group-ops-inline-form input, .group-ops-inline-form select, .group-ops-inline-form .btn { width: 100%; }
  2859. .group-ops-task-list article { align-items: flex-start; flex-wrap: wrap; }
  2860. .group-ops-time-window { flex-wrap: wrap; }
  2861. .group-ops-automation-summary dl { grid-template-columns: 1fr; }
  2862. .group-ops-automation-actions .btn { width: 100%; }
  2863. }
  2864. /* 社群运营:对齐客户群、画像与交接工作台的视觉语言 */
  2865. .group-ops-page {
  2866. display: grid;
  2867. gap: 16px;
  2868. min-width: 0;
  2869. }
  2870. .group-ops-page .group-ops-hero {
  2871. min-height: 158px;
  2872. margin: 0;
  2873. padding: 26px 30px;
  2874. border: 0;
  2875. border-radius: 20px;
  2876. color: #fff;
  2877. background: linear-gradient(135deg, #172d4f, #294d7e 62%, #507fa3);
  2878. box-shadow: 0 16px 36px rgba(21, 45, 79, .16);
  2879. }
  2880. .group-ops-page .group-ops-hero::before,
  2881. .group-ops-page .group-ops-hero::after {
  2882. position: absolute;
  2883. z-index: -1;
  2884. content: '';
  2885. border: 1px solid rgba(255,255,255,.09);
  2886. border-radius: 50%;
  2887. pointer-events: none;
  2888. }
  2889. .group-ops-page .group-ops-hero::before { width: 270px; height: 270px; top: -195px; right: 250px; }
  2890. .group-ops-page .group-ops-hero::after { width: 220px; height: 220px; right: -82px; bottom: -162px; }
  2891. .group-ops-page .group-ops-hero h2 { margin: 7px 0 5px; color: #fff; font-size: 30px; }
  2892. .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; }
  2893. .group-ops-hero-side { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
  2894. .group-ops-hero-status { display: flex; gap: 8px; }
  2895. .group-ops-hero-status > span {
  2896. min-width: 76px;
  2897. padding: 11px 13px;
  2898. border: 1px solid rgba(255,255,255,.16);
  2899. border-radius: 12px;
  2900. color: rgba(255,255,255,.62);
  2901. background: rgba(255,255,255,.08);
  2902. font-size: 9px;
  2903. text-align: left;
  2904. backdrop-filter: blur(10px);
  2905. }
  2906. .group-ops-hero-status strong { display: block; margin-bottom: 3px; color: #fff; font-size: 20px; line-height: 1; }
  2907. .group-ops-hero-status .is-risk { border-color: rgba(255,183,178,.34); background: rgba(170,48,48,.2); }
  2908. .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); }
  2909. .group-ops-refresh:hover { background: rgba(255,255,255,.2); }
  2910. .group-ops-refresh:focus-visible { outline: 3px solid rgba(255,255,255,.38); outline-offset: 2px; }
  2911. .group-ops-page .group-ops-tabs {
  2912. gap: 3px;
  2913. margin: 0;
  2914. padding: 5px;
  2915. border-color: #e1e7ea;
  2916. border-radius: 13px;
  2917. background: #fff;
  2918. box-shadow: 0 6px 18px rgba(28,45,59,.035);
  2919. scrollbar-width: thin;
  2920. }
  2921. .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; }
  2922. .group-ops-page .group-ops-tabs button:hover { color: #294d7e; background: #f2f6fa; }
  2923. .group-ops-page .group-ops-tabs button:focus-visible { color: #294d7e; outline: 2px solid #6f93b5; outline-offset: -2px; }
  2924. .group-ops-page .group-ops-tabs button.active { color: #23496f; background: #eaf1f7; box-shadow: inset 0 0 0 1px #d2e0eb; }
  2925. .group-ops-page .group-ops-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; }
  2926. .group-ops-page .group-ops-stats .kpi-card { min-height: 108px; }
  2927. .group-ops-page .group-ops-stats .kpi-card.danger { border-color: #f0d4d0; background: linear-gradient(145deg, #fff, #fff8f7); }
  2928. .group-ops-page .group-ops-stats .kpi-card.danger .kpi-value { color: #bd5149; }
  2929. .group-ops-page > .card {
  2930. min-width: 0;
  2931. margin: 0;
  2932. padding: 17px;
  2933. overflow: hidden;
  2934. border-color: #e1e7ea;
  2935. border-radius: 14px;
  2936. box-shadow: 0 8px 24px rgba(28,45,59,.04);
  2937. transform: none;
  2938. }
  2939. .group-ops-page > .card:hover { box-shadow: 0 10px 28px rgba(28,45,59,.06); }
  2940. .group-ops-page > .card > .card-header { margin-bottom: 13px; padding: 0; }
  2941. .group-ops-page > .card > .card-header h3 { margin: 0; color: #2b3b43; font-size: 13px; }
  2942. .group-ops-page > .card > .card-header p { margin: 4px 0 0; color: #8b969c; font-size: 10px; line-height: 1.55; }
  2943. .group-ops-page > .card > .card-header > span { color: #7d898f; font-size: 10px; }
  2944. .group-ops-page .table-wrap { max-width: 100%; border-color: #e4e9ec; border-radius: 10px; }
  2945. .group-ops-page table { min-width: 820px; }
  2946. .group-ops-page th { padding: 10px 12px; color: #78848b; background: #f7f9fa; font-size: 10px; letter-spacing: .02em; }
  2947. .group-ops-page td { padding: 11px 12px; color: #4b5b63; }
  2948. .group-ops-page tbody tr:hover { background: #fafcfd; }
  2949. .group-ops-page .group-ops-form,
  2950. .group-ops-page .group-ops-inline-form {
  2951. gap: 11px 14px;
  2952. margin-bottom: 14px;
  2953. padding: 15px;
  2954. border-color: #e2e7ea;
  2955. border-radius: 11px;
  2956. background: #f8fafb;
  2957. }
  2958. .group-ops-page .group-ops-form label,
  2959. .group-ops-page .group-ops-inline-form label { color: #66747b; font-size: 11px; }
  2960. .group-ops-page .group-ops-form input,
  2961. .group-ops-page .group-ops-form textarea,
  2962. .group-ops-page .group-ops-inline-form input,
  2963. .group-ops-page .group-ops-inline-form select { min-height: 42px; border-color: #dce3e7; border-radius: 9px; background: #fff; font-size: 12px; }
  2964. .group-ops-page .group-ops-form input:focus,
  2965. .group-ops-page .group-ops-form textarea:focus,
  2966. .group-ops-page .group-ops-inline-form input:focus,
  2967. .group-ops-page .group-ops-inline-form select:focus { border-color: #6f93b5; outline: 3px solid rgba(55,100,140,.11); }
  2968. .group-ops-page .group-ops-form .btn,
  2969. .group-ops-page .group-ops-inline-form .btn { min-height: 42px; }
  2970. .group-ops-playbooks article,
  2971. .group-ops-task-list article,
  2972. .group-ops-risk { border-color: #e2e7ea; border-radius: 10px; background: #fff; }
  2973. .group-ops-playbooks article:hover,
  2974. .group-ops-task-list article:hover { border-color: #cedbe3; background: #fafcfd; }
  2975. .group-ops-task-list article { min-height: 54px; }
  2976. .group-ops-risk { padding: 13px 14px; border-left-width: 3px; }
  2977. .group-ops-risk.high { border-color: #f0d4d0; border-left-color: #ca5b52; background: #fff9f8; }
  2978. .group-ops-risk > div:last-child { flex-flow: row wrap; justify-content: flex-end; }
  2979. .group-ops-page .group-ops-automation { border-color: #e1e7ea; }
  2980. .group-ops-automation-summary { border-color: #dbe5eb; border-radius: 11px; background: #f4f8fb; }
  2981. .group-ops-automation-summary dl div { border-color: #e0e7eb; border-radius: 9px; }
  2982. .group-ops-automation-log-header { padding-top: 20px !important; border-top: 1px solid #e7ecef; }
  2983. @media (max-width: 1180px) {
  2984. .group-ops-page .group-ops-hero { align-items: flex-start; flex-direction: column; }
  2985. .group-ops-hero-side { width: 100%; justify-content: space-between; }
  2986. .group-ops-page .group-ops-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  2987. }
  2988. @media (max-width: 700px) {
  2989. .group-ops-page { gap: 12px; }
  2990. .group-ops-page .group-ops-hero { min-height: 0; padding: 20px; border-radius: 16px; }
  2991. .group-ops-page .group-ops-hero h2 { font-size: 25px; }
  2992. .group-ops-hero-side { align-items: stretch; flex-direction: column; }
  2993. .group-ops-hero-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  2994. .group-ops-hero-status > span { min-width: 0; padding: 10px; }
  2995. .group-ops-refresh { width: 100%; }
  2996. .group-ops-page .group-ops-tabs button { flex: 0 0 auto; }
  2997. .group-ops-page .group-ops-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  2998. .group-ops-page .group-ops-stats .kpi-card { min-height: 98px; padding: 13px; }
  2999. .group-ops-page > .card { padding: 14px; }
  3000. .group-ops-risk > div:last-child { width: 100%; align-items: stretch; }
  3001. }
  3002. /* ==================== Customer Operations Workspaces ==================== */
  3003. .customer-workspace-page {
  3004. display: grid;
  3005. gap: 16px;
  3006. min-width: 0;
  3007. }
  3008. .customer-workspace-hero {
  3009. position: relative;
  3010. isolation: isolate;
  3011. margin-bottom: 0;
  3012. min-height: 150px;
  3013. align-items: center;
  3014. }
  3015. .customer-workspace-hero::before,
  3016. .customer-workspace-hero::after {
  3017. position: absolute;
  3018. z-index: -1;
  3019. content: '';
  3020. border: 1px solid rgba(255,255,255,.09);
  3021. border-radius: 50%;
  3022. pointer-events: none;
  3023. }
  3024. .customer-workspace-hero::before { width: 260px; height: 260px; top: -190px; right: 240px; }
  3025. .customer-workspace-hero::after { width: 210px; height: 210px; right: -80px; bottom: -155px; }
  3026. .group-hero { background: linear-gradient(135deg, #153449, #215b70 62%, #428090); }
  3027. .portrait-dashboard-hero { background: linear-gradient(135deg, #123c32, #1d7156 62%, #5b8d59); }
  3028. .transfer-dashboard-hero { background: linear-gradient(135deg, #172d4f, #294d7e 62%, #5179a8); }
  3029. .hero-feature-list {
  3030. display: flex;
  3031. flex: 0 0 auto;
  3032. flex-wrap: wrap;
  3033. justify-content: flex-end;
  3034. gap: 8px;
  3035. max-width: 330px;
  3036. }
  3037. .hero-feature-list span {
  3038. padding: 9px 12px;
  3039. border: 1px solid rgba(255,255,255,.17);
  3040. border-radius: 999px;
  3041. color: rgba(255,255,255,.82);
  3042. background: rgba(255,255,255,.08);
  3043. font-size: 11px;
  3044. font-weight: 650;
  3045. backdrop-filter: blur(8px);
  3046. }
  3047. .handover-flow {
  3048. display: flex;
  3049. flex: 0 0 auto;
  3050. align-items: center;
  3051. gap: 8px;
  3052. padding: 12px 14px;
  3053. border: 1px solid rgba(255,255,255,.15);
  3054. border-radius: 14px;
  3055. background: rgba(255,255,255,.08);
  3056. backdrop-filter: blur(8px);
  3057. }
  3058. .handover-flow span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.8); font-size: 10px; white-space: nowrap; }
  3059. .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; }
  3060. .handover-flow i { width: 22px; height: 1px; background: rgba(255,255,255,.25); }
  3061. /* Group management */
  3062. .group-stat-row > div { min-width: 100px; }
  3063. .group-workspace {
  3064. min-width: 0;
  3065. display: grid;
  3066. grid-template-columns: 300px minmax(0, 1fr);
  3067. overflow: hidden;
  3068. border: 1px solid #e2e7ea;
  3069. border-radius: 16px;
  3070. background: #fff;
  3071. box-shadow: 0 10px 30px rgba(27,49,65,.055);
  3072. }
  3073. .group-sync-panel { min-width: 0; padding: 18px; border-right: 1px solid #e6ebee; background: #f8fafb; }
  3074. .group-list-panel { min-width: 0; padding: 18px; }
  3075. .group-sync-card,
  3076. .group-filter-card,
  3077. .group-list-panel #groups-table-card > .card { margin: 0; box-shadow: none; }
  3078. .group-sync-card { padding: 0; border: 0; border-radius: 0; background: transparent; }
  3079. .group-sync-card:hover,
  3080. .group-filter-card:hover,
  3081. .group-list-panel #groups-table-card > .card:hover { box-shadow: none; }
  3082. .group-sync-card .card-header { margin-bottom: 16px; }
  3083. .group-sync-fields { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 10px; }
  3084. .group-sync-fields .form-group { min-width: 0; }
  3085. .field-help { margin-top: -2px; color: var(--text-muted); font-size: 10px; line-height: 1.4; }
  3086. .advanced-settings { margin: 14px 0; border: 1px solid #dfe6e9; border-radius: 10px; background: #fff; }
  3087. .advanced-settings summary { padding: 10px 12px; color: #4c5c64; font-size: 11px; font-weight: 650; cursor: pointer; }
  3088. .advanced-settings summary::marker { color: #6c8793; }
  3089. .advanced-settings-body { display: grid; gap: 12px; padding: 0 12px 12px; }
  3090. .advanced-settings textarea { resize: vertical; min-height: 72px; line-height: 1.5; }
  3091. .group-auto-classify { margin: 0 0 14px; }
  3092. .group-primary-action { width: 100%; }
  3093. .group-sync-card .progress-wrap { margin-bottom: 0; }
  3094. .operation-note {
  3095. display: flex;
  3096. align-items: flex-start;
  3097. gap: 10px;
  3098. margin-bottom: 12px;
  3099. padding: 11px 13px;
  3100. border: 1px solid #cfe4dc;
  3101. border-radius: 11px;
  3102. color: #315f50;
  3103. background: #f2faf6;
  3104. }
  3105. .operation-note svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; fill: #2f8565; }
  3106. .operation-note div { display: grid; gap: 2px; }
  3107. .operation-note strong { font-size: 11px; }
  3108. .operation-note span { color: #6e8078; font-size: 10px; line-height: 1.5; }
  3109. .group-filter-card { padding: 14px 15px; border-radius: 12px 12px 0 0; border-bottom-color: transparent; }
  3110. .group-filter-card .card-header { align-items: flex-end; margin: 0; }
  3111. .group-filter-card .filter-bar { justify-content: flex-end; }
  3112. .group-filter-card .filter-bar input { width: 170px; }
  3113. .group-list-panel #groups-table-card > .card { border-radius: 0 0 12px 12px; }
  3114. .group-list-panel #groups-table-card table { min-width: 920px; }
  3115. .group-list-panel #groups-table-card th,
  3116. .group-list-panel #groups-table-card td { padding: 11px 12px; }
  3117. /* Shared dashboard composition */
  3118. .dashboard-grid {
  3119. min-width: 0;
  3120. display: grid;
  3121. grid-template-columns: repeat(6, minmax(0, 1fr));
  3122. gap: 14px;
  3123. }
  3124. .kpi-row {
  3125. grid-column: 1 / -1;
  3126. display: grid;
  3127. grid-template-columns: repeat(6, minmax(0, 1fr));
  3128. gap: 10px;
  3129. }
  3130. .kpi-card {
  3131. min-width: 0;
  3132. min-height: 104px;
  3133. display: flex;
  3134. flex-direction: column;
  3135. justify-content: center;
  3136. padding: 15px 16px;
  3137. overflow: hidden;
  3138. border: 1px solid #e2e7ea;
  3139. border-radius: 13px;
  3140. background: #fff;
  3141. box-shadow: 0 7px 22px rgba(28,45,59,.045);
  3142. }
  3143. .kpi-label { overflow: hidden; color: #748089; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  3144. .kpi-value { margin-top: 6px; color: #1e3139; font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
  3145. .kpi-sub { margin-top: 6px; overflow: hidden; color: #98a1a6; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  3146. .kpi-trend.up { color: #25845e; }
  3147. .kpi-trend.down { color: #ca5b52; }
  3148. .chart-card {
  3149. grid-column: span 3;
  3150. min-width: 0;
  3151. overflow: hidden;
  3152. border: 1px solid #e2e7ea;
  3153. border-radius: 14px;
  3154. background: #fff;
  3155. box-shadow: 0 7px 22px rgba(28,45,59,.04);
  3156. }
  3157. .chart-card.third { grid-column: span 2; }
  3158. .chart-card.full { grid-column: 1 / -1; }
  3159. .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; }
  3160. .chart-subtitle { color: #919aa0; font-size: 9px; font-weight: 400; }
  3161. .chart-container { width: 100%; height: 238px; padding: 4px; }
  3162. .chart-container.small { height: 220px; }
  3163. .empty-chart { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9aa3a8; font-size: 10px; }
  3164. .operation-toolbar {
  3165. grid-column: 1 / -1;
  3166. display: flex;
  3167. align-items: center;
  3168. justify-content: space-between;
  3169. gap: 12px;
  3170. padding: 13px 15px;
  3171. border: 1px solid #e1e7ea;
  3172. border-radius: 13px;
  3173. background: #fff;
  3174. box-shadow: 0 6px 18px rgba(28,45,59,.035);
  3175. }
  3176. .toolbar-left,
  3177. .toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  3178. .data-table-card {
  3179. grid-column: 1 / -1;
  3180. min-width: 0;
  3181. padding: 17px;
  3182. overflow: hidden;
  3183. border: 1px solid #e1e7ea;
  3184. border-radius: 14px;
  3185. background: #fff;
  3186. box-shadow: 0 8px 24px rgba(28,45,59,.04);
  3187. }
  3188. .data-table-card > .card-header { margin-bottom: 13px; }
  3189. .data-table-card .filter-bar { margin-bottom: 13px !important; }
  3190. .data-table-card .table-wrap { max-width: 100%; border-radius: 10px; }
  3191. .data-table-card table { min-width: 820px; }
  3192. .data-table-card th,
  3193. .data-table-card td { padding: 11px 12px; }
  3194. .data-table-card .tag { margin: 2px; }
  3195. .pagination { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 13px; color: #7d888e; font-size: 10px; }
  3196. .pagination span { margin-right: auto; }
  3197. .pagination button { min-height: 32px; padding: 0 12px; border: 1px solid #dfe5e8; border-radius: 8px; color: #58666d; background: #fff; cursor: pointer; }
  3198. .pagination button:hover:not(:disabled) { color: var(--brand-dark); border-color: #f0b879; background: #fff9f1; }
  3199. .pagination button:disabled { opacity: .45; cursor: not-allowed; }
  3200. .loading-overlay { position: relative; min-height: 120px; }
  3201. .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; }
  3202. .table-skeleton,
  3203. .skeleton-list { display: grid; gap: 12px; padding: 18px 4px; }
  3204. .skeleton { position: relative; overflow: hidden; border-radius: 6px; background: #edf1f3; }
  3205. .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; }
  3206. .skeleton-line { height: 30px; }
  3207. @keyframes dashboardShimmer { to { transform: translateX(100%); } }
  3208. .error-state { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 24px; text-align: center; }
  3209. .error-state svg { width: 36px; height: 36px; fill: #e08865; }
  3210. .error-state-title { color: #784733; font-size: 13px; font-weight: 700; }
  3211. .error-state-desc { max-width: 420px; color: #8a7770; font-size: 10px; line-height: 1.55; }
  3212. /* Transfer stage conversion card */
  3213. .transfer-stage-board {
  3214. min-height: 238px;
  3215. display: flex;
  3216. flex-direction: column;
  3217. justify-content: center;
  3218. gap: 16px;
  3219. padding: 17px;
  3220. }
  3221. .transfer-stage-track {
  3222. display: grid;
  3223. grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
  3224. align-items: center;
  3225. gap: 7px;
  3226. }
  3227. .transfer-stage {
  3228. min-width: 0;
  3229. display: grid;
  3230. justify-items: center;
  3231. gap: 8px;
  3232. padding: 12px 7px;
  3233. border: 1px solid #e2e8ec;
  3234. border-radius: 12px;
  3235. text-align: center;
  3236. background: #f9fbfc;
  3237. }
  3238. .transfer-stage.preview { border-color: #dce6f0; background: #f5f8fc; }
  3239. .transfer-stage.execution { border-color: #f1dfcb; background: #fff9f2; }
  3240. .transfer-stage.success { border-color: #cfe7dc; background: #f2faf6; }
  3241. .transfer-stage-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #527494; background: #e7eef5; }
  3242. .transfer-stage.execution .transfer-stage-icon { color: #b46b25; background: #fbeddd; }
  3243. .transfer-stage.success .transfer-stage-icon { color: #27805d; background: #dff1e8; }
  3244. .transfer-stage-icon svg { width: 18px; height: 18px; fill: currentColor; }
  3245. .transfer-stage > div:last-child { min-width: 0; }
  3246. .transfer-stage span,
  3247. .transfer-stage strong,
  3248. .transfer-stage small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  3249. .transfer-stage span { color: #77858d; font-size: 8px; font-weight: 650; }
  3250. .transfer-stage strong { margin-top: 4px; color: #21343d; font-size: 22px; line-height: 1; }
  3251. .transfer-stage small { margin-top: 4px; color: #929ca2; font-size: 8px; }
  3252. .transfer-stage-connector { min-width: 0; display: grid; justify-items: center; gap: 3px; text-align: center; }
  3253. .transfer-stage-connector strong { color: #52636c; font-size: 11px; }
  3254. .transfer-stage-connector span { color: #9aa3a8; font-size: 7px; white-space: nowrap; }
  3255. .transfer-stage-connector i,
  3256. .transfer-overall-progress > i { width: 100%; height: 4px; overflow: hidden; border-radius: 999px; background: #e7ecef; }
  3257. .transfer-stage-connector b,
  3258. .transfer-overall-progress > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5d86b1, #51a480); transition: width .3s ease; }
  3259. .transfer-overall-progress { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: #f6f8fa; }
  3260. .transfer-overall-progress > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  3261. .transfer-overall-progress span { color: #5f6f77; font-size: 9px; font-weight: 650; }
  3262. .transfer-overall-progress strong { color: #274f67; font-size: 13px; }
  3263. .transfer-overall-progress small { overflow: hidden; color: #8b979d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  3264. @media (max-width: 1180px) {
  3265. .group-workspace { grid-template-columns: 260px minmax(0, 1fr); }
  3266. .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  3267. .chart-card.third { grid-column: span 3; }
  3268. .handover-flow { max-width: 380px; flex-wrap: wrap; }
  3269. }
  3270. @media (max-width: 900px) {
  3271. .customer-workspace-hero { align-items: flex-start; flex-direction: column; }
  3272. .hero-feature-list { justify-content: flex-start; }
  3273. .group-workspace { display: block; }
  3274. .group-sync-panel { border-right: 0; border-bottom: 1px solid #e6ebee; }
  3275. .group-sync-fields { grid-template-columns: minmax(0, 1fr) 110px; }
  3276. .chart-card,
  3277. .chart-card.third { grid-column: 1 / -1; }
  3278. }
  3279. @media (max-width: 620px) {
  3280. .customer-workspace-hero { min-height: 0; padding: 22px; }
  3281. .customer-workspace-hero h2 { font-size: 25px; }
  3282. .group-stat-row { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  3283. .group-stat-row > div { min-width: 0; padding: 10px; }
  3284. .group-list-panel,
  3285. .group-sync-panel { padding: 13px; }
  3286. .group-sync-fields,
  3287. .kpi-row { grid-template-columns: 1fr 1fr; }
  3288. .operation-toolbar { align-items: stretch; flex-direction: column; }
  3289. .toolbar-left,
  3290. .toolbar-right { width: 100%; }
  3291. .toolbar-left .btn { flex: 1 1 auto; }
  3292. .handover-flow i { display: none; }
  3293. .data-table-card { padding: 13px; }
  3294. .data-table-card .filter-bar input,
  3295. .data-table-card .filter-bar select,
  3296. .group-filter-card .filter-bar input,
  3297. .group-filter-card .filter-bar select { width: 100% !important; }
  3298. .transfer-stage-board { padding: 14px; }
  3299. .transfer-stage-track { grid-template-columns: 1fr; gap: 7px; }
  3300. .transfer-stage { grid-template-columns: 34px minmax(0, 1fr); justify-items: stretch; align-items: center; padding: 10px 12px; text-align: left; }
  3301. .transfer-stage-connector { grid-template-columns: 42px 1fr; justify-items: stretch; align-items: center; padding: 0 12px; text-align: left; }
  3302. .transfer-stage-connector span { display: none; }
  3303. .transfer-stage-connector i { height: 3px; }
  3304. }