Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378/* Custom CSS Reset (Joshua W. Comeau) https://www.joshwcomeau.com/css/custom-css-reset/ *//* 1. Use a more-intuitive box-sizing model */*,*::before,*::after { box-sizing: border-box;}
/* 2. Remove default margin */*:not(dialog) { margin: 0;}
/* 3. Enable keyword animations */@media (prefers-reduced-motion: no-preference) { html { interpolate-size: allow-keywords; }}
body { /* 4. Increase line-height */ line-height: 1.5; /* 5. Improve text rendering */ -webkit-font-smoothing: antialiased;}
/* 6. Improve media defaults */img,picture,video,canvas,svg { display: block; max-width: 100%;}
.svg-icon { display: block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: var(--icon-url) center / contain no-repeat; mask: var(--icon-url) center / contain no-repeat;}
/* 7. Inherit fonts for form controls */input,button,textarea,select { font: inherit;}
/* 8. Avoid text overflows */p,h1,h2,h3,h4,h5,h6 { overflow-wrap: break-word;}
/* 9. Improve line wrapping */p { text-wrap: pretty;}h1,h2,h3,h4,h5,h6 { text-wrap: balance;}
/* 10. Create a root stacking context*/#root,#__next { isolation: isolate;}
/* Project design tokens. Names follow tmp/design_handoff_nav_lens_search/README.md. Light values are derived from the same cool-indigo hue family as the dark palette so the two themes feel like siblings. */:root { --radius: 10px; --radius-sm: 7px; --radius-lg: 14px; --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Helvetica Neue", sans-serif;
--bg: #ffffff; --bg-canvas: #f7f7fa; --surface: #f3f3f7; --surface-2: #e8e8ee; --surface-3: #d8d8e0; --line: #d8d8e0; --line-soft: #ececf2; --text: #1a1a22; --text-2: #595969; --text-3: #797988; --accent: #3a3acc; --accent-on: #ffffff; --accent-soft: rgba(58, 58, 204, 0.06); --accent-bg: rgba(58, 58, 204, 0.12); --accent-edge: rgba(58, 58, 204, 0.45); --good: #007a3d; --warn: #c46e1f; --danger: #b3261e;
/* Per-type notification accents (inbox). One hue family per type; light values darkened for contrast on light surfaces. */ --t-update: #4747c9; --t-add: #0f8a55; --t-remove: #c2335a; --t-revision: #7a3fd1; --t-propagate: #0d7f8c; --t-pr-open: #1a7f37; --t-pr-merged: #8250df;
/* Inbox control surfaces. In light mode these follow the app surfaces; in dark mode they use the redesign's deeper palette — the app's dark surfaces are too light for the inbox controls. */ --ibx-surface: var(--surface); --ibx-surface-2: var(--surface-2); --ibx-surface-3: var(--surface-3); --ibx-line: var(--line); --ibx-line-soft: var(--line-soft);
/* Inset panel fill (e.g. expanded option detail). Tracks --surface in light mode; dark mode needs a deeper value — --surface reads too light for large filled areas there. */ --surface-inset: var(--surface);}
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { --bg: #080808; --bg-canvas: #080808; --surface: #323437; --surface-2: #404452; --surface-3: #373c4d; --line: #373c4d; --line-soft: #2f3340; --text: #e8e8ec; --text-2: #a8b2c0; --text-3: #8a93a3; --accent: #80a0ff; --accent-on: #080808; --accent-soft: rgba(128, 160, 255, 0.0375); --accent-bg: rgba(128, 160, 255, 0.15); --accent-edge: rgba(128, 160, 255, 0.3); --good: #36c692; --warn: #f0a868; --danger: #f28a82;
--t-update: #8a8aff; --t-add: #5fd39a; --t-remove: #f07a92; --t-revision: #b694ff; --t-propagate: #4fc8d4; --t-pr-open: #4ac26b; --t-pr-merged: #b57bff;
--ibx-surface: #15151b; --ibx-surface-2: #1c1c24; --ibx-surface-3: #25252f; --ibx-line: #2a2a36; --ibx-line-soft: #1f1f29;
--surface-inset: #15151b; }}
/* ======================================================================== Base element styles. Selectors here use elements (low specificity) so component styles below win cleanly. ======================================================================== */
html { color-scheme: light dark; /* Keep Safari from independently enlarging prose in individual result rows. */ -webkit-text-size-adjust: 100%; text-size-adjust: 100%; /* Keep centered content from shifting when the scrollbar comes and goes. */ scrollbar-gutter: stable;}
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 0.9rem; line-height: 1.5; min-height: 100vh;}
h1,h2,h3,h4,h5,h6 { color: var(--text); font-weight: 700; line-height: 1.25; margin: 0 0 0.5rem;}
h1 { font-size: 2rem;}h2 { font-size: 1.625rem;}h3 { font-size: 1.375rem;}h4 { font-size: 1.125rem;}h5 { font-size: 1.0625rem;}h6 { font-size: 1rem;}
hgroup { margin: 0 0 0.5rem;}
hgroup > *:not(:last-child) { margin-bottom: 0.25rem;}
hgroup > p { color: var(--text-2); font-weight: 400;}
p { margin: 0 0 0.5rem;}
a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-edge); text-underline-offset: 2px;}
a:hover { text-decoration-color: var(--accent);}
ul,ol { margin: 0 0 0.5rem; padding-left: 1.5rem;}
dl { margin: 0 0 0.5rem;}
dt { font-weight: 600;}
dd { margin-left: 0;}
hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0;}
code,kbd,samp,pre { font-family: var(--mono);}
code,kbd { background: var(--surface-2); color: var(--text); border-radius: var(--radius-sm); padding: 0.125em 0.375em;}
pre { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.75rem 1rem; margin: 0 0 1rem; overflow-x: auto;}
pre code { background: transparent; padding: 0;}
mark { background: var(--accent-bg); color: var(--text); padding: 0.125em 0.25em; border-radius: var(--radius-sm);}
small { font-size: 0.875em;}
strong { font-weight: 600;}
figure { margin: 0 0 1rem; overflow-x: auto;}
.diff-summary { margin: 0 0 1rem; color: var(--text-2);}
.diff-summary > div { display: flex; flex-wrap: wrap; gap: 0.5rem;}
.diff-summary dt { font-weight: 600; margin: 0;}
.diff-summary dd { margin: 0;}
/* ======================================================================== Layout — .container ======================================================================== */
.container { width: 100%; margin-inline: auto; padding-inline: 1rem;}
@media (min-width: 576px) { .container { max-width: 510px; padding-inline: 1.25rem; }}@media (min-width: 768px) { .container { max-width: 700px; }}@media (min-width: 1024px) { .container { max-width: 950px; }}@media (min-width: 1280px) { .container { max-width: 1200px; }}@media (min-width: 1536px) { .container { max-width: 1450px; }}
main.container { padding-block: 1.5rem;}
/* ======================================================================== Forms ======================================================================== */
button,input[type="button"],input[type="submit"],input[type="reset"],[role="button"] { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.5rem 1rem; background: var(--accent); color: var(--accent-on); border: 1px solid var(--accent); border-radius: var(--radius-sm); font: inherit; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; user-select: none;}
button:hover,input[type="button"]:hover,input[type="submit"]:hover,input[type="reset"]:hover,[role="button"]:hover { filter: brightness(1.1); color: var(--accent-on); text-decoration: none;}
button:focus-visible,input[type="button"]:focus-visible,input[type="submit"]:focus-visible,input[type="reset"]:focus-visible,[role="button"]:focus-visible { outline: 2px solid var(--accent-edge); outline-offset: 2px;}
button:disabled,[role="button"][aria-disabled="true"],button[disabled] { opacity: 0.5; cursor: not-allowed; filter: none;}
button.outline,[role="button"].outline { background: transparent; color: var(--accent);}
button.outline:hover,[role="button"].outline:hover { background: var(--accent-soft); color: var(--accent);}
button.secondary,[role="button"].secondary { background: var(--surface-2); color: var(--text); border-color: var(--line);}
button.secondary:hover,[role="button"].secondary:hover { color: var(--text);}
button.outline.secondary,[role="button"].outline.secondary { background: transparent; color: var(--text-2); border-color: var(--line);}
button.outline.secondary:hover,[role="button"].outline.secondary:hover { background: var(--surface-2); color: var(--text);}
button.contrast,[role="button"].contrast { background: var(--text); color: var(--bg); border-color: var(--text);}
input,select,textarea { display: block; width: 100%; padding: 0.5rem 0.75rem; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; line-height: 1.5;}
input::placeholder,textarea::placeholder { color: var(--text-2); opacity: 1;}
input:focus,select:focus,textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-edge);}
input[aria-invalid="true"],select[aria-invalid="true"],textarea[aria-invalid="true"] { border-color: #a60000;}
input[type="search"] { -webkit-appearance: textfield;}
input[type="checkbox"],input[type="radio"] { display: inline-block; width: auto; margin-right: 0.5em; padding: 0; vertical-align: middle; accent-color: var(--accent);}
input[type="hidden"] { display: none;}
select { background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 14px) center, calc(100% - 9px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2rem; -webkit-appearance: none; appearance: none;}
label { display: block; margin-bottom: 0.25rem; font-weight: 500;}
label > input[type="checkbox"],label > input[type="radio"] { margin-right: 0.5em;}
fieldset { border: 0; margin: 0 0 1rem; padding: 0;}
legend { font-weight: 600; margin-bottom: 0.5rem;}
form { margin: 0 0 1rem;}
/* ======================================================================== Tables ======================================================================== */
table { width: 100%; border-collapse: collapse; margin: 0 0 1rem;}
th,td { padding: 0.5rem 0.75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft);}
th { font-weight: 600; color: var(--text);}
/* ======================================================================== Dialog (modal) ======================================================================== */
dialog { display: none; position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 1rem; border: 0; background: rgba(0, 0, 0, 0.5); color: var(--text); z-index: 100; overflow: auto;}
dialog[open] { display: flex; align-items: center; justify-content: center;}
dialog > .card,dialog > article { width: 100%; max-width: 32rem;}
/* ======================================================================== Card — explicit replacement for <article>-as-card ======================================================================== */
.card { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1rem;}
.card > header { margin: -1rem -1.25rem 1rem; padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--line);}
.card > footer { margin: 1rem -1.25rem -1rem; padding: 0.75rem 1.25rem; border-top: 1px solid var(--line);}
/* ======================================================================== Details / summary ======================================================================== */
details { margin: 0 0 0.5rem;}
summary { cursor: pointer;}
summary:focus-visible { outline: 2px solid var(--accent-edge); outline-offset: 2px;}
/* ======================================================================== Application styles ======================================================================== */
/* Flash notifications — self-contained card; doesn't rely on <article>. */.flash-stack { position: fixed; bottom: 0.5rem; right: 0.5rem; z-index: 90; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none;}
.flash { pointer-events: auto; width: 24rem; max-width: calc(100vw - 1rem); background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.75rem 2.5rem 0.75rem 1rem; margin: 0; cursor: pointer; position: relative;}
.flash > p { margin: 0;}
.flash > header { margin-bottom: 0.25rem;}
.flash[hidden] { display: none;}
.flash-auto-dismiss { animation: flash-fade 4.5s ease-out forwards;}
@keyframes flash-fade { 0%, 80% { opacity: 1; } 100% { opacity: 0; visibility: hidden; pointer-events: none; }}
@media (prefers-reduced-motion: reduce) { .flash-auto-dismiss { animation-duration: 6s; }}
.flash-info { background: #ecfff5; border-color: #006800; color: #006800;}
.flash-error { background: #fff0f0; border-color: #a60000; color: #a60000;}
@media (prefers-color-scheme: dark) { .flash-info { background: #0a2e1f; border-color: #36c692; color: #85dc85; }
.flash-error { background: #2e0a0a; border-color: #ff5d5d; color: #ff5d5d; }}
.flash .close-button { position: absolute; top: 0.25rem; right: 0.5rem; background: none; border: none; color: inherit; opacity: 0.4; cursor: pointer; padding: 0.25rem; margin: 0; width: auto;}
.flash .close-button:hover { opacity: 0.7;}
/* Loading states for LiveView */.phx-click-loading { opacity: 0.75;}
.phx-submit-loading { opacity: 0.75;}
/* Visually hidden utility */.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;}
/* Spin animation for reconnect indicator */@keyframes spin { to { transform: rotate(360deg); }}
.animate-spin { animation: spin 1s linear infinite; display: inline-block;}
/* Sort header links - inherit header styling for no-JS fallback */th a { color: inherit; text-decoration: none;}
/* Revision link styling */a.revision-link { font-family: var(--mono);}
/* Package revision filters */.revision-filters { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0; flex-wrap: wrap;}
.revision-filters select,.revision-filters input[type="text"] { margin-bottom: 0; padding: 0.25rem 0.5rem; height: auto; width: auto;}
.revision-filters button { margin-bottom: 0; padding: 0.25rem 0.5rem; height: auto; width: auto;}
.revision-filters label { display: flex; align-items: center; gap: 0.25rem; margin-bottom: 0; white-space: nowrap; cursor: pointer;}
.revision-filters label input[type="checkbox"] { margin: 0;}.package-show { display: grid; gap: 1.125rem;}
.package-show__identity { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title actions" "subtitle actions"; gap: 0.375rem 1.5rem; align-items: center; margin: 0; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);}
.package-show__identity h1 { grid-area: title; margin: 0;}
.package-show__identity > p { grid-area: subtitle; margin: 0; color: var(--text-2);}
.package-show__identity > div { grid-area: actions; display: flex; gap: 0.5rem; align-items: center; justify-content: end;}
.package-show__identity #feed-link { display: inline-flex; gap: 0.375rem; align-items: center; padding: 0.5rem 0.625rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text-2); font-size: 0.8125rem; font-weight: 500; text-decoration: none;}
.package-show__identity #feed-link:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent);}
.package-show__identity #subscribe-toggle { margin: 0;}
.package-show__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.9fr); grid-template-areas: "content facts"; gap: 1.125rem; align-items: start;}
.package-show__content { display: grid; grid-area: content; gap: 1.125rem;}
.package-show__meta { display: grid; grid-area: facts; gap: 0;}
.package-show__meta > .package-show__panel + .package-show__panel { margin-top: 1.125rem;}
.package-show__panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden;}
.package-show__panel > .package-show__panel-header { margin: 0; padding: 1rem 1.125rem; border-bottom: 1px solid var(--line);}
.package-show__description { padding: 1rem 1.125rem;}
.package-show__description p { margin: 0;}
.package-show__description p + p { margin-top: 1rem;}
.package-show__panel > dl { margin: 0; padding: 0 1.125rem;}
.package-show__panel > dl > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.875rem; padding: 0.6875rem 0; position: relative;}
.package-show__panel > dl > div:not(:last-child)::after { content: ""; position: absolute; right: -1.125rem; bottom: 0; left: -1.125rem; height: 1px; background: var(--line-soft);}
.package-show__panel > dl dd { margin: 0; overflow-wrap: anywhere;}
.package-show__panel > dl dd > span { margin-right: 0.375rem;}
.package-show__panel > dl ul { margin: 0; padding: 0; list-style: none;}
.package-show__panel > details { margin: 0; padding: 1rem 1.125rem; border-top: 1px solid var(--line);}.package-show__content > section { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden;}
.package-show__content .section-header { margin: 0; padding: 0.875rem 1.125rem; border-bottom: 1px solid var(--line);}
.package-show__content .row-list { border: 0; border-radius: 0;}
.package-show__content .pagination { padding: 0 1.125rem 1rem;}
.current-versions__selected { margin-left: 0.375rem; color: var(--accent); font-size: 0.75rem; font-weight: 600;}
.current-versions__row--selected { background: var(--accent-soft);}
#current-versions code { background: transparent; border-radius: 0; padding: 0;}
#current-versions .row-meta code { font-weight: 700;}
.current-versions__empty { margin: 0; padding: 1rem 1.125rem; color: var(--text-2);}
.package-show__revisions > p { margin: 0; padding: 1rem 1.125rem;}
@media (max-width: 719px) { .package-show__identity { grid-template-columns: 1fr; grid-template-areas: "title" "subtitle" "actions"; padding: 1rem; }
.package-show__identity > div { justify-content: start; flex-wrap: wrap; }
.package-show__grid { grid-template-columns: 1fr; grid-template-areas: "content" "facts"; }
.package-show__meta > dl > div { grid-template-columns: 6.5rem minmax(0, 1fr); }}
/* Sign-in page styling */.sign-in-banner { text-align: center; margin-top: 3rem;}
.sign-in-banner-text { font-weight: bold; margin-bottom: 1.5rem;}
.sign-in-oauth { text-align: center;}
.sign-in-oauth a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border: 1px solid var(--line); border-radius: 0.375rem; text-decoration: none; color: var(--text); transition: background-color 0.2s, color 0.2s;}
.sign-in-oauth a:hover { background-color: var(--accent); color: var(--accent-on); border-color: var(--accent);}
.sign-in-oauth svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0;}
/* Options Show (V3). Spec: tmp/design_handoff_options_show/README.md */
.option-show section { margin-bottom: 1.75rem;}
.option-show section h2 { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); font-weight: 600; margin: 0 0 8px;}
/* Path bar — the breadcrumb header is the page's h1. */:is(.option-show, .revision-comparison) .opt-pathbar { display: flex; align-items: center; flex-wrap: wrap; padding: 10px 12px; margin: 4px 0 24px; background: var(--bg); max-width: 100%; font-family: var(--mono); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2; word-break: break-all;}
:is(.option-show, .revision-comparison) .crumb-link,:is(.option-show, .revision-comparison) .crumb-current { padding: 2px 6px; margin: 0 -2px; border-radius: 5px; text-decoration: none; color: var(--text); transition: background 120ms, color 120ms; word-break: break-all;}
:is(.option-show, .revision-comparison) a.crumb-link:hover { background: var(--accent-bg); color: var(--accent); text-decoration: none;}
:is(.option-show, .revision-comparison) .crumb-current { cursor: default;}
:is(.option-show, .revision-comparison) .crumb-sep { color: var(--text-2); font-weight: 500; padding: 0 1px; user-select: none;}
.option-show .opt-copy { margin-left: auto; align-self: center; font-size: 0.8125rem; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 6px; border: 1px solid transparent; background: transparent; color: var(--text-2); font-family: var(--sans); font-weight: 400; cursor: pointer; text-decoration: none; transition: background 120ms, border-color 120ms, color 120ms;}
.option-show .opt-copy:hover { background: var(--surface); border-color: var(--line); color: var(--text);}
/* Copied confirmation: swap the icon in place for a same-size check so the button footprint never changes. */.option-show .opt-check-icon { display: none;}
.option-show :is(.opt-copy, .row-action).copied .opt-share-icon { display: none;}
.option-show :is(.opt-copy, .row-action).copied .opt-check-icon { display: block; color: var(--good);}
/* Section header — the heading above a row list. */.section-header { display: flex; align-items: center; gap: 0.625rem; flex-wrap: wrap; margin-top: 1.375rem; margin-bottom: 0.5rem;}
.section-controls { display: flex; align-items: center; gap: 0.5rem; /* Gecko will shrink this below an inflexible child's width and let the child spill out; Blink will not. Hold the intrinsic size either way. */ flex: none;}
/* Too narrow to share the title's line: the controls take one of their own, below the title and count. */@media (max-width: 48rem) { .section-controls { order: 1; flex-basis: 100%; }}
.section-header h2 { margin: 0; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);}
.section-header .rule { flex: 1; height: 1px; background: var(--ibx-line-soft);}
.section-header .n { font-family: var(--mono); font-size: 0.6875rem; color: var(--text-3);}
/* Row list — the app-wide list idiom: rows sharing one card surface, separated by dividers. */.row-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;}
.row-list > li { border-bottom: 1px solid var(--line); scroll-margin-top: 8rem;}
.row-list > li:last-child { border-bottom: 0;}
.row-list details { /* cancel the base details bottom margin — it shows as a page-background gap between the row and the li border */ margin: 0;}
.row-line { padding: 10px 14px; display: grid; /* label, meta, actions — the label shrinks rather than pushing the trailing columns out of the row */ grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; transition: background 120ms;}
/* Rows with a leading affordance gain a column for it, and centre their items — a glyph or checkbox has no useful baseline to sit on. */.row-line--leading { grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center;}
.row-leading { display: inline-flex; align-items: center;}
.row-body { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0;}
.row-sublabel { display: flex; align-items: center; gap: 0.5rem; /* one line always, so a long sublabel can't make its row taller than its peers and drift the page's pagination controls */ flex-wrap: nowrap; white-space: nowrap; overflow: hidden; mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent); font-size: 0.75rem; color: var(--text-3);}
/* The other half of that: a row with no sublabel reserves the line anyway, so it matches the rows around it. Only in lists that declare an optional sublabel — keying off a sublabel being present on screen would make the reserve depend on the rows a page happened to load. Rows with a sublabel nest their label in .row-body, so a bare .row-label is a row without. */.row-list--reserve-sublabel .row-line > .row-label::after { content: ""; display: block; font-size: 0.75rem; height: calc(1lh + 0.375rem);}
/* Same contract for an optional :meta. Only the stacked layout gives meta a line of its own, so only there does an empty one shorten its row. */.row-list--reserve-meta .row-meta { min-height: 1lh;}
/* Same contract again for a label that runs long. A wrapped label is the last thing left that can make one row taller than its neighbours, so a list whose labels are prose — change titles — clips them to the row instead. Declared, not derived: whether a list's labels run long is a property of the list, and a page that happened to load short ones would otherwise opt itself out. */.row-list--truncate-label .row-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
/* Single-token labels behind a collapsible prefix — option names. One line at every width: a wrapped tail only spills a fragment of one token, so clipping costs no sense and keeps rows uniform. Its specificity beats the narrow-screen .row-label rule below that would otherwise let the tail wrap. */.row-list--clip-label .row-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.row-list summary.row-line { list-style: none; cursor: pointer;}
.row-list summary::-webkit-details-marker { display: none;}
/* Custom marker on the label so the row keeps its grid. Expandable rows only — link and plain rows have nothing to disclose. */.row-list details .row-label::before { content: "▸"; display: inline-block; color: var(--text-2); font-size: 0.75rem; margin-right: 8px; transition: transform 120ms;}
.row-list details[open] .row-label::before { transform: rotate(90deg);}
.row-list summary:hover { background: var(--surface);}
.row-list details[open] > summary { border-bottom: 1px solid var(--line);}
.row-link { text-decoration: none;}
.row-link:hover { background: var(--accent-soft); text-decoration: none;}
/* Keyboard cursor, all three row modes. Inset because the list clips its overflow — an outset outline is cut off on the first and last rows. */.row-line:focus-visible { outline: 2px solid var(--accent-edge); outline-offset: -2px; background: var(--surface);}
.row-label { font-family: var(--mono); font-weight: 500; font-size: 0.9375rem; color: var(--text);}
.row-label .leading { color: var(--text-2); font-weight: 400;}
.row-label .tail { color: var(--accent);}
/* Leading identifier inside a label — a PR number, a revision hash. Unlike .leading it is never collapsed on narrow screens; it's the row's name. */.row-num { color: var(--text-2); font-variant-numeric: tabular-nums;}
.row-meta { display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--mono); font-size: 0.8125rem; color: var(--text-2);}
.row-actions { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 0.8125rem;}
/* Link rows keep their actions outside the row link, so they float over its trailing edge instead of taking a grid column. Only a real control catches the pointer — a decorative glyph would otherwise punch a dead spot in the row. */.row-actions--float { position: absolute; inset-block: 0; right: 14px; pointer-events: none;}
.icon-external { width: 1rem; height: 1rem; display: block;}
.row-actions--float a,.row-actions--float button { pointer-events: auto;}
.row-list > li:has(> .row-actions--float) { position: relative;}
.row-list > li:has(> .row-actions--float) > .row-link { padding-right: 3rem;}
/* Floating actions centre on the whole row, so the meta beside them has to leave the label's baseline and centre too — otherwise a two-line row shows its date up on the first line and its icon halfway down. */.row-list > li:has(> .row-actions--float) .row-meta { align-self: center;}
.option-show .opt-type { /* long types stay on one line; the full type is in the detail body */ display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;}
/* Row actions on expandable rows stay hidden until hover/open. */.row-action { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid transparent; border-radius: 6px; color: var(--text-2); background: transparent; font-size: 0.75rem; text-decoration: none; align-self: center; cursor: pointer; transition: background 120ms, border-color 120ms, color 120ms, opacity 120ms;}
.row-list summary .row-action { opacity: 0;}
.row-list summary:hover .row-action,.row-list summary:focus-within .row-action,.row-list details[open] > summary .row-action { opacity: 1;}
.row-action:hover { background: var(--surface); border-color: var(--line); color: var(--text); text-decoration: none;}
.option-show .opt-share-icon { display: block;}
/* Keep a just-clicked button visible even if the pointer leaves. */.row-list summary .row-action.copied { opacity: 1;}
.option-show .opt-detail { display: grid; grid-template-columns: 110px 1fr; gap: 6px 18px; margin: 0; padding: 12px 14px 16px; font-size: 0.9375rem; background: var(--surface-inset);}
.option-show .opt-detail dt { color: var(--text-2); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; padding-top: 2px;}
.option-show .opt-detail dd { margin: 0; /* let <pre> children shrink inside the grid instead of overflowing */ min-width: 0; overflow-wrap: break-word;}
.option-show .opt-detail .read-only { color: var(--text-2);}
/* File paths render as plain mono text, not code chips. */.option-show .opt-detail dd code,.option-show .opt-defined code { background: transparent; padding: 0; border-radius: 0;}
.option-show .opt-detail pre { /* background comes from the linked Lumis theme (pre.lumis) so the token colors and fill always match the active color scheme */ margin: 0; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-family: var(--mono); font-size: 0.8125rem; overflow-x: auto;}
/* Rendered description markdown: paragraphs, inline code chips, links, and GFM-alert admonitions (mapped from nixos-render-docs fenced divs). */.option-show .opt-detail dd .nixos-markdown p { margin: 0 0 0.6em;}
.option-show .opt-detail dd .nixos-markdown p:last-child { margin-bottom: 0;}
.option-show .opt-detail dd .nixos-markdown code { background: var(--surface-2); padding: 0.125em 0.375em; border-radius: var(--radius-sm);}
.option-show .opt-detail dd .nixos-markdown a { color: var(--accent);}
.option-show .opt-detail dd .nixos-markdown .markdown-alert { margin: 0.6em 0; padding: 8px 12px; border-left: 3px solid var(--accent); background: var(--surface-inset); border-radius: 0 6px 6px 0;}
.option-show .opt-detail dd .nixos-markdown .markdown-alert p:first-child { margin: 0 0 4px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;}
.option-show .opt-detail dd .nixos-markdown .markdown-alert-tip { border-left-color: var(--good);}
.option-show .opt-detail dd .nixos-markdown .markdown-alert-warning { border-left-color: var(--warn);}
.option-show .opt-detail dd .nixos-markdown .markdown-alert-caution { border-left-color: var(--danger);}
/* Defined in — plain borderless mono rows. */.option-show .opt-defined { list-style: none; padding: 0; margin: 0;}
.option-show .opt-defined li { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-family: var(--mono); font-size: 0.8125rem; margin-bottom: 6px;}
/* Recent PRs. */.option-show .opt-prs { list-style: none; padding: 0; margin: 0;}
.option-show .opt-prs li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.875rem;}
.option-show .opt-prs li:last-child { border-bottom: 0;}
.option-show .opt-prs .prnum { font-family: var(--mono); font-weight: 600; color: var(--accent); text-decoration: none;}
.option-show .opt-prs .title { color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
@media (max-width: 560px) { /* Path bar: smaller type; the copy button keeps margin-left: auto and falls onto its own right-aligned line when the path wraps. */ .option-show .opt-pathbar { font-size: 1.0625rem; row-gap: 2px; }
/* Rows: let a long label wrap; keep meta and actions pinned. */ .row-line { gap: 8px; align-items: center; }
.row-label { min-width: 0; /* break inside a word only when it can't fit — attribute paths still wrap, but prose titles break at spaces */ overflow-wrap: anywhere; }
/* Two lines here rather than one: the label owns the full width in a stacked list, and at this size most change titles overrun a single line, so clipping to one would hide the tail on the majority of rows. Two caps the drift at one line and still fits nearly all of them. */ .row-list--truncate-label .row-label { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; white-space: normal; }
/* Collapse the page-prefix part of a row label to an ellipsis — the path bar already says where we are. font-size: 0 keeps the full text selectable and readable to screen readers. */ .row-label .leading { font-size: 0; }
.row-label .leading::before { content: "…"; font-size: 0.9375rem; }
.row-list summary .row-action { /* always visible on touch — no hover to reveal it */ opacity: 1; }
/* Stacked lists: the label owns the first line, meta and actions share the second — a wide multi-part meta would otherwise crush the label to a couple of characters per line. */ .row-list--stacked .row-line { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
/* .row-body is the grid item when a row has a sublabel; .row-label is the item when it doesn't. */ .row-list--stacked > li .row-label, .row-list--stacked > li .row-body { grid-column: 1 / -1; }
/* A leading affordance keeps its own column and the label sits beside it, so the trailing content drops to a second line aligned under the label rather than under the glyph. */ .row-list--stacked .row-line--leading { grid-template-columns: auto minmax(0, 1fr); }
.row-list--stacked > li .row-line--leading .row-label, .row-list--stacked > li .row-line--leading .row-body, .row-list--stacked > li .row-line--leading .row-meta { grid-column: 2 / -1; }
.row-list--stacked .row-actions { justify-content: flex-end; }
/* The type tag is clutter at this width, and the detail body has it. */ .option-show summary .row-meta { display: none; }
/* Option detail: stack dt above dd in one column. */ .option-show .opt-detail { grid-template-columns: 1fr; gap: 2px 0; }
.option-show .opt-detail dt { padding-top: 10px; }
.option-show .opt-detail dt:first-child { padding-top: 0; }
/* Defined-in: wrap long paths instead of overflowing. */ .option-show .opt-defined li { word-break: break-all; }
/* PR rows: let the title wrap rather than ellipsize away. */ .option-show .opt-prs li { flex-wrap: wrap; }
.option-show .opt-prs .title { flex: 1 1 100%; order: 3; white-space: normal; overflow: visible; }}
/* App chrome. Spec: tmp/design_handoff_nav_lens_search/README.md */
/* Strip base form/button styling inside chrome — the rules below own the look entirely. */.app-header :is(input, select, button) { appearance: none; background: transparent; background-image: none; border: 0; box-shadow: none; outline: 0; margin: 0; padding: 0; height: auto; min-height: 0; width: auto; color: inherit; font: inherit; line-height: inherit;}
.app-header :is(input, select, button):focus { box-shadow: none; background: transparent; outline: 0;}
.app-header a { color: inherit; text-decoration: none;}
.app-header a:hover { text-decoration: none;}
/* Outer chrome — single bottom border */.app-header { background: var(--bg); border-bottom: 1px solid var(--line);}
/* Row 1 — brand · tabs · user. Flush bottom so tab underline aligns. */.app-header__row--top { padding-top: 0.75rem;}
.app-header__row--top > .container { display: flex; align-items: center; gap: 1.125rem;}
/* Row 2 — search · lens */.app-header__row--bottom { padding: 0.75rem 0 0.875rem;}
.app-header__row--bottom > .container { display: flex; align-items: stretch; gap: 0.75rem; min-height: 2.5rem;}
/* Brand */.app-brand { display: inline-flex; align-items: center; gap: 0.5625rem; color: var(--text); font-weight: 600; letter-spacing: -0.01em; flex-shrink: 0;}
.app-brand:hover { color: var(--text);}
.app-brand__mark { width: 1.5rem; height: 1.5rem; flex-shrink: 0; overflow: visible;}
/* Tabs — each tab carries its own horizontal padding; gap between tabs is 0 */.app-tabs { display: inline-flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0;}
.app-tabs li { margin: 0; padding: 0;}
.app-tabs a { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.875rem; color: var(--text-2); font-weight: 500; line-height: 1; border-bottom: 2px solid transparent; margin-bottom: -1px;}
.app-tabs a:hover { color: var(--text);}
.app-tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent);}
/* Single nav source — desktop shows full labels and both/desktop items */.app-tab__short { display: none;}
.app-tabs .is-mobile-only { display: none;}
/* Inbox icon — replaces the Inbox text tab. Carries the unread badge. */.app-inbox { position: relative; margin-left: auto; width: 2.375rem; height: 2.375rem; border-radius: 0.625rem; display: grid; place-items: center; flex-shrink: 0; color: var(--text-2); background: var(--ibx-surface); border: 1px solid var(--ibx-line); transition: background 0.12s, color 0.12s;}
.app-inbox:hover { background: var(--ibx-surface-2); color: var(--text);}
.app-inbox[aria-current="page"] { background: var(--ibx-surface-2); color: var(--text); border-color: var(--ibx-line);}
.app-inbox__icon { width: 1.25rem; height: 1.25rem;}
.app-inbox__badge { position: absolute; top: -0.3125rem; right: -0.3125rem; min-width: 1.125rem; height: 1.125rem; padding: 0 0.25rem; border-radius: 0.5625rem; background: var(--accent); color: var(--accent-on); font-family: var(--mono); font-size: 0.65625rem; font-weight: 700; line-height: 1; display: grid; place-items: center; border: 2px solid var(--bg);}
/* The user chip no longer needs to push itself right; the inbox icon does. */.app-inbox + .app-user { margin-left: 0;}
/* Mobile-only chrome: the lens-row bell, avatar disclosure, and sign-in icon. Hidden here; the mobile media block turns them on. */.app-inbox--mobile,.app-user--mobile,.app-signin--mobile { display: none;}
/* Desktop: the wrapper is transparent so the lens slot stays a direct flex item of the bottom row, exactly as before the mobile lens row existed. */.app-header__lens-row { display: contents;}
/* User chip */.app-user { margin-left: auto; display: inline-flex; align-items: center; flex-shrink: 0;}
.app-user__menu { position: relative; /* Cancel the base `details` bottom margin; it pushes the chip above the header row's center line. */ margin: 0;}
.app-user__chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.875rem; background: var(--ibx-surface); border: 1px solid var(--ibx-line); border-radius: var(--radius-sm); color: var(--text); font-weight: 500; cursor: pointer; list-style: none; position: relative; z-index: 51;}
.app-user__chip::-webkit-details-marker { display: none;}
.app-user__chip:hover .app-user__name,.app-user__chip:hover .app-user__caret { color: var(--accent);}
.app-user__menu[open] .app-user__chip { background: var(--bg); border-color: var(--line-soft); border-bottom-color: var(--bg); border-bottom-left-radius: 0; border-bottom-right-radius: 0;}
.app-user__avatar { display: block; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--ibx-surface-2); object-fit: cover;}
.app-user__avatar--monogram { display: inline-grid; place-items: center; color: var(--text); font-family: var(--mono); font-size: 0.625rem; font-weight: 600;}
.app-user__caret { color: var(--text-3); transition: transform 0.15s ease; margin-left: auto;}
.app-user__menu[open] .app-user__caret { transform: rotate(180deg);}
.app-user__panel { position: absolute; top: calc(100% - 1px); right: 0; min-width: 100%; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); border-top-right-radius: 0; box-shadow: none; padding: 0.5rem; z-index: 50;}
.app-user__panel button,.app-user__menu-item { display: block; width: 100%; text-align: left; padding: 0.5rem 0.875rem; background: transparent; border: 0; border-radius: calc(var(--radius-sm) - 2px); color: var(--text-2); font: inherit; font-size: 0.9375rem; font-weight: 400; text-decoration: none; cursor: pointer;}
.app-user__panel button:hover,.app-user__menu-item:hover { background: var(--surface-2); filter: none; color: var(--text); text-decoration: none;}
/* Search input — row 2 */.app-search { flex: 1; display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 0.625rem; margin-bottom: 0; min-height: 2.25rem; color: var(--text-3); font-size: 1rem; cursor: text;}
.app-search:focus-within { border-color: var(--accent); background: var(--surface-2);}
.app-search__icon { width: 1.0625rem; height: 1.0625rem; color: var(--text-2); flex-shrink: 0;}
/* .app-search prefix outranks the chrome reset above, which would otherwise zero the padding (.app-header :is(input, select, button)). */.app-search .app-search__submit { display: inline-flex; align-items: center; justify-content: center; align-self: stretch; padding: 0 0.3125rem 0 0.875rem; margin: 0; border: 0; background: transparent; color: inherit; cursor: pointer; flex-shrink: 0;}
.app-search__submit:disabled { cursor: default;}
/* The label fills the rest of the box so a click anywhere inside it natively focuses the input — no JS, no dead zones (trk-305). */.app-search__field { flex: 1; display: flex; align-items: center; align-self: stretch; gap: 0.625rem; padding: 0.625rem 0.75rem 0.625rem 0.3125rem; margin: 0; font-weight: inherit; cursor: inherit;}
.app-search input[type="search"] { flex: 1; color: var(--text); font: inherit; background-image: none;}
.app-search input[type="search"]::placeholder { color: var(--text-3);}
.app-search .app-search__clear { display: inline-flex; align-items: center; justify-content: center; width: 1.375rem; height: 1.375rem; border-radius: 999px; color: var(--text-2); flex-shrink: 0;}
.app-search .app-search__clear:hover { background: var(--surface-2); color: var(--text);}
.app-search__hint { display: inline-flex; align-items: center; justify-content: center; min-width: 1.25rem; height: 1.25rem; padding: 0 0.375rem; background: var(--surface-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 0.25rem; font-family: var(--mono); color: var(--text-2); flex-shrink: 0;}
/* Inert search (channel pages): visibly dead, not just unresponsive. */.app-search--inert { background: var(--surface-2); cursor: not-allowed; opacity: 0.5;}
.app-search--inert:focus-within { border-color: var(--line); background: var(--surface-2);}
/* The whole box already fades; keep the button from fading twice. */.app-search--inert .app-search__submit,.app-search--inert .app-search__field,.app-search--inert input[type="search"] { cursor: not-allowed; opacity: 1;}
/* The "/" shortcut can't focus a disabled input — don't advertise it. */.app-search--inert .app-search__hint { display: none;}
/* Lens chip — divided pill */.app-header__lens-slot { display: flex; align-items: stretch;}
.lens { display: flex; flex-shrink: 0;}
/* Draws the eye to the channel picker when a page needs a specific channel. Pure CSS so it also works on dead renders (anonymous visitors load no JS). */@media (prefers-reduced-motion: no-preference) { .lens-attention .lens__form { animation: lens-pulse 1.6s ease-in-out 3; }}
.lens-attention .lens__form { border-color: var(--accent);}
@keyframes lens-pulse { 0%, 100% { box-shadow: 0 0 0 0 transparent; }
50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }}
.lens__form { position: relative; display: inline-flex; align-items: stretch; flex: 1; border: 1px solid var(--line); border-radius: 0.5rem; background: var(--surface); overflow: hidden; margin-bottom: 0;}
.lens-label { display: inline-flex; align-items: center; padding: 0.3125rem 0.625rem; background: var(--surface-2); border-right: 1px solid var(--line); color: var(--text-3); font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase;}
.lens-channel-cell { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.3125rem 0.625rem;}
.lens-channel-name { color: var(--text); font-family: var(--mono); font-weight: 500; white-space: nowrap;}
.lens-dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--accent); flex-shrink: 0;}
/* The invisible select covers the pill while the visible cells size it to the selected channel rather than the widest native option. */.lens__form .lens__select { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; cursor: pointer;}
/* The select is an invisible overlay, so a ring on it would never show. Put it on the pill instead, or focusing the lens looks like nothing happened. */.lens__form:has(.lens__select:focus-visible) { outline: 2px solid var(--accent-edge); outline-offset: 2px;}
/* Disabled lens (channel pages): the disabled attribute sits on the invisible overlay select, so grey the whole pill explicitly. */.lens__form.lens--disabled { background: var(--surface-2); cursor: not-allowed; opacity: 0.5;}
.lens--disabled .lens__select { cursor: not-allowed;}
/* The whole pill already fades; keep the button from fading twice. */.lens--disabled .lens__submit:disabled { cursor: not-allowed; opacity: 1;}
.lens--disabled .lens-dot { background: var(--text-3);}
.lens-rev { display: inline-flex; align-items: center; padding: 0.3125rem 0.625rem; border-left: 1px solid var(--line); color: var(--text-2); font-family: var(--mono);}
.pagination-button { padding: 0.25rem 0.75rem; font-size: 0.875rem; text-decoration: none;}
.pagination-button[aria-disabled="true"] { opacity: 0.5; pointer-events: none;}
/* Scoped under .lens__form to out-specify the .app-header control reset (`.app-header :is(input, select, button)`, specificity 0,1,1). */.lens__form .lens__submit { position: relative; z-index: 2; padding: 0.3125rem 0.875rem 0.3125rem 0.625rem; color: var(--text-2); cursor: pointer; /* keep the arrow pinned to the pill's right edge; spare width in a stretched form collects before it, not between the cells */ margin-left: auto;}
.lens__form .lens__submit:hover:not(:disabled) { color: var(--text);}
.lens__icon { width: 1.0625rem; height: 1.0625rem; flex-shrink: 0; background: currentColor; -webkit-mask: url("/images/arrow-forward.svg") center / contain no-repeat; mask: url("/images/arrow-forward.svg") center / contain no-repeat;}
@media (max-width: 719px) { /* Identity moves off the top row on mobile: the user chip and inbox icon re-render as the search-row avatar and the lens-row bell. The brand stays, compacted into the home mark at the head of the tab strip. */ .app-header__row--top .app-user, .app-header__row--top .app-inbox { display: none; }
.app-header__row--top > .container { gap: 0.75rem; }
/* Brand → home mark: glyph-only in a 30px surface box, pinned left of the scrolling strip (per the navbar_header handoff). */ .app-brand__word { display: none; }
.app-brand__mark { width: 1.875rem; height: 1.875rem; padding: 0.3125rem; border-radius: 0.5rem; background: var(--ibx-surface); border: 1px solid var(--ibx-line); }
/* The nav anchors both the right-edge fade and the More dropdown panel, so neither lives inside the scroller's clip. */ .app-nav { flex: 1; min-width: 0; position: relative; }
.app-nav::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 1.25rem; background: linear-gradient(90deg, transparent, var(--bg)); pointer-events: none; }
.app-tab__full { display: none; }
.app-tab__short { display: inline; }
.app-tabs .is-desktop-only { display: none; }
/* "More" rides at the end of the strip. */ .app-tabs .is-mobile-only { display: flex; margin-left: auto; }
/* Horizontally scrollable strip; the fade above hints at the overflow. */ .app-tabs { display: flex; width: 100%; gap: 1.25rem; overflow-x: auto; scrollbar-width: none; padding-right: 1.25rem; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tabs li { flex: none; display: flex; /* Fixed height so every cell matches: the More cell's <details> wrapper is otherwise ~8px taller than the plain <a> tab cells, which the row's centering turns into a vertical misalignment. */ height: 2.75rem; }
/* Underline the active tab like desktop: keep the base rule's transparent bottom border (it turns accent for aria-current=page at any width) so the underline spans the whole tab and sits at the tab's bottom edge. */ .app-tabs a { flex: none; font-size: 0.9375rem; white-space: nowrap; padding: 0.375rem 0; margin-bottom: 0; }
/* "More" tab is a native <details> disclosure: the summary looks like a tab, the panel drops down beneath it (no JS needed). Static so the panel positions against .app-nav, escaping the strip's overflow clip. */ .app-more { position: static; flex: none; display: flex; }
.app-more__summary { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.25rem; min-height: 2.75rem; padding: 0.375rem 0; color: var(--text-2); font-size: 0.9375rem; font-weight: 500; line-height: 1; white-space: nowrap; list-style: none; cursor: pointer; border-bottom: 2px solid transparent; }
.app-more__summary::-webkit-details-marker { display: none; }
.app-more__summary:hover { color: var(--text); }
.app-more__summary[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.app-more__caret { font-size: 0.7em; }
.app-more__panel { position: absolute; top: 100%; right: 0; z-index: 60; min-width: 10rem; padding: 0.3125rem; background: var(--bg); border: 1px solid var(--line); border-radius: 0.625rem; box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18); }
.app-more__panel a { display: flex; align-items: center; justify-content: flex-start; min-height: 2.5rem; padding: 0.375rem 0.75rem; color: var(--text-2); font-weight: 500; /* Panel items are a stacked menu, not tabs — no tab underline. */ border-bottom: 0; border-radius: 0.5rem; }
.app-more__panel a:hover { color: var(--text); background: var(--surface); }
.app-more__panel a[aria-current="page"] { color: var(--accent); }
.app-header__row--bottom > .container { flex-wrap: wrap; gap: 0.625rem; }
/* Search and lens sit at the same 2.5rem height as the avatar and bell that share their rows. */ .app-search { flex: 1; min-width: 0; height: 2.5rem; }
.app-search__field { padding-top: 0; padding-bottom: 0; }
.app-search__hint { display: none; }
/* Search-row identity: a 40px avatar opening the account menu, or a 40px person icon linking to sign-in. */ .app-user--mobile { display: block; flex-shrink: 0; }
.app-user--mobile .app-user__chip { padding: 0; border: 0; border-radius: 999px; }
.app-user--mobile[open] .app-user__chip { background: transparent; border-color: transparent; border-radius: 999px; }
.app-user--mobile .app-user__avatar { width: 2.5rem; height: 2.5rem; border: 1px solid var(--ibx-line); }
.app-user--mobile .app-user__avatar--monogram { font-size: 0.875rem; }
.app-user--mobile .app-user__panel { top: calc(100% + 0.375rem); min-width: 11rem; border-radius: var(--radius-sm); box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18); }
.app-signin--mobile { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: 999px; background: var(--ibx-surface); border: 1px solid var(--ibx-line); color: var(--text-2); }
.app-signin--mobile .svg-icon { width: 1.3125rem; height: 1.3125rem; }
/* Lens row: full-width chip beside the inbox bell (signed in). The bell keeps the base margin-left:auto so it hugs the right edge even on pages with no lens. */ .app-header__lens-row { display: flex; align-items: center; flex: 1 1 100%; gap: 0.625rem; }
.app-header__lens-slot { flex: 1; min-width: 0; }
.app-inbox--mobile { display: grid; width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: 0.6875rem; background: var(--ibx-surface); border-color: var(--ibx-line); }
.lens { flex: 1; }
.lens__form { display: flex; width: 100%; min-height: 2.5rem; }
/* The label doesn't fit alongside the revision display; the dot + channel name carry the meaning (the select keeps its aria-label). */ .lens-label { display: none; }}
.change-show { display: grid; gap: 1.125rem;}
.change-show__identity { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.55rem 1.5rem; align-items: center; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);}
.change-show__identity h1 { grid-column: 1; margin: 0; letter-spacing: -0.02em;}
.change-show__status { grid-column: 1; grid-row: 2; display: flex; align-items: center;}
.change-show__identity #subscribe-toggle { grid-column: 2; grid-row: 1 / 3; margin: 0;}
.change-show__pr-link { display: inline-flex; align-items: center; gap: 0.3em; white-space: nowrap; font-family: var(--mono); font-weight: 500; color: var(--accent);}
.change-show__identity .change-show__pr-link { margin-left: 0.4rem; vertical-align: middle; font-size: 0.5em; letter-spacing: 0; text-decoration: none;}
.change-show__identity .change-show__pr-link:hover { text-decoration: underline; text-underline-offset: 2px;}
.change-show__pr-link .icon-external { width: 1em; height: 1em;}
/* Shared accent pill (change list/show state, inbox type chip). Tinted background derives from --pill-color so each theme's accent values carry through to dark mode automatically. */.pill { display: inline-flex; align-items: center; gap: 0.375rem; padding: 2px 0.5625rem 2px 0.4375rem; border-radius: 999px; font-size: 0.71875rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.5; white-space: nowrap; color: var(--pill-color, var(--accent)); background: color-mix( in srgb, var(--pill-color, var(--accent)) 14%, transparent );}
.pill .dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--pill-color, var(--accent));}
.pill--lg { gap: 0.4rem; padding: 0.25rem 0.7rem; font-size: 0.85rem;}
.pill--lg .dot { width: 0.5rem; height: 0.5rem;}
.pill-merged { --pill-color: var(--t-revision);}
.pill-open { --pill-color: var(--t-add);}
.pill-closed { --pill-color: var(--t-remove);}
.pill-draft { --pill-color: var(--text-3);}
.pill-removed { --pill-color: var(--t-remove);}
.pill-landed { --pill-color: var(--t-propagate);}
.change-filters label { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0; white-space: nowrap; cursor: pointer;}
.change-filters label input[type="checkbox"] { margin: 0;}
.sub-events { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; margin-bottom: 1rem; padding: 0.6rem 0.85rem; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--surface); font-size: 0.9rem;}
.sub-events__label { color: var(--text-2); margin-right: 0.25rem;}
.sub-events label { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0; white-space: nowrap; cursor: pointer;}
.sub-events label input[type="checkbox"] { margin: 0;}
.change-show__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.9fr); gap: 1.125rem; align-items: start;}
.change-show__content,.change-show__aside { display: grid; gap: 1.125rem; min-width: 0; align-content: start;}
.change-show__panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);}
.change-show__panel > .section-header { margin: 0; padding: 1rem 1.125rem; border-bottom: 1px solid var(--line);}
.change-show__propagation > .section-header { padding-bottom: 0.5rem; border-bottom: 0;}
.change-show__reach { font-family: var(--mono); font-size: 0.6875rem; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap;}
.change-show__dag { padding: 0.35rem 1.125rem 1.25rem;}
.change-show__dag .propagation-dag { display: block; max-width: 100%; height: auto; margin: auto;}
.change-show__dag .propagation-dag a { text-decoration: none;}
.change-show__dag .propagation-dag text { font-size: 12px; font-family: var(--mono);}
.change-show__tree { display: none;}
.change-show__panel .row-list { border: 0; border-radius: 0;}
.change-show__panel .pagination { padding: 0 1.125rem 1rem;}
.change-show .section-controls form { width: 320px; max-width: 100%; margin: 0;}
.change-show .section-controls form input[type="search"] { margin: 0;}
.change-show__notice { margin: 0; padding: 1rem 1.125rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-2);}
.change-show__more { margin: 0; padding: 1rem 1.125rem; border-top: 1px solid var(--line); color: var(--text-2);}
.change-show__panel > dl { margin: 0; padding: 0 1.125rem;}
.change-show__panel > dl > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.875rem; position: relative; padding: 0.6875rem 0;}
.change-show__panel > dl > div:not(:last-child)::after { content: ""; position: absolute; right: -1.125rem; bottom: 0; left: -1.125rem; height: 1px; background: var(--line-soft);}
.change-show__panel > dl dt { font-weight: 500;}
.change-show__panel > dl dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums;}
.change-show__meta .change-show__pr-link { font-size: 0.8125rem;}
.change-show__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1rem 1.125rem;}
.change-show .label-chip { display: inline-flex; padding: 0.25rem 0.625rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 0.75rem; line-height: 1.4;}
.change-show__job pre { margin: 0; padding: 1rem 1.125rem; overflow-wrap: anywhere; white-space: pre-wrap;}
.change-show__job > button { margin: 1rem 1.125rem;}
.change-show .mono { font-family: var(--mono);}
@media (max-width: 719px) { .change-show__identity { grid-template-columns: 1fr; padding: 1rem; }
.change-show__identity h1 { font-size: 1.375rem; line-height: 1.22; text-wrap: pretty; overflow-wrap: anywhere; }
.change-show__identity #subscribe-toggle { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 0.25rem; }
.change-show__grid { grid-template-columns: 1fr; }
.change-show__dag { display: none; }
.change-show__tree { display: block; padding: 0 1.125rem 1rem; }
.change-show__panel > dl > div { grid-template-columns: 6.5rem minmax(0, 1fr); }
/* Branch tree — nested <ul> with CSS elbow connectors. */ .change-show .m4-tree, .change-show .m4-tree ul { list-style: none; padding: 0; margin: 0; }
.change-show .m4-tree { display: block; padding: 0.25rem 0 0.125rem; }
.change-show .m4-tree ul { position: relative; padding-left: 1.625rem; }
.change-show .m4-tree ul::before { content: ""; position: absolute; left: 13px; top: -4px; bottom: 0; width: 2px; background: var(--line); }
.change-show .m4-tree ul.is-live::before { background: var(--accent); }
.change-show .m4-tree li { position: relative; }
.change-show .m4-tree ul > li::before { content: ""; position: absolute; left: -13px; top: 0; width: 15px; height: 24px; border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); border-bottom-left-radius: 10px; }
.change-show .m4-tree ul.is-live > li::before { border-left-color: var(--accent); }
.change-show .m4-tree ul.is-live > li.is-done::before { border-color: var(--accent); }
.change-show .m4-tree ul > li:last-child::after { content: ""; position: absolute; left: -14px; top: 24px; bottom: -2px; width: 4px; background: var(--bg); }
.change-show .m4-row { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 0.625rem; padding: 0.5rem 0; position: relative; z-index: 1; }
.change-show .m4-row-body { min-width: 0; }
.change-show .m4-node { width: 28px; height: 28px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--line); background: var(--bg); color: var(--text-2); font-size: 13px; font-weight: 700; }
.change-show .m4-tree li.is-done > .m4-row .m4-node { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.change-show .m4-tree li.is-mine > .m4-row .m4-node { box-shadow: 0 0 0 3px var(--accent-edge); }
.change-show .m4-node-name { font-family: var(--mono); font-size: 0.84375rem; font-weight: 600; line-height: 1.2; word-break: break-all; }
.change-show .m4-node-name a { color: inherit; text-decoration: none; }
.change-show .m4-tree li:not(.is-done) > .m4-row .m4-node-name { color: var(--text-2); font-weight: 500; }
.change-show .m4-tree li.is-mine > .m4-row .m4-node-name::after { content: " · Lens"; color: var(--accent); font-family: var(--sans); font-size: 0.59375rem; font-weight: 700; letter-spacing: 0.08em; margin-left: 0.25rem; }
.change-show .m4-node-sub { font-size: 0.65625rem; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.125rem; font-weight: 600; }}
/* ======================================================================== Badges — inline status pills. ======================================================================== */
.badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.0625rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 500; line-height: 1.4; border: 1px solid transparent; white-space: nowrap;}
.badge--neutral { background: var(--surface-2); color: var(--text-2); border-color: var(--line);}
.badge--ok { background: color-mix(in srgb, var(--good) 12%, transparent); color: var(--good); border-color: color-mix(in srgb, var(--good) 35%, transparent);}
.badge--warn { background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, transparent);}
.badge--danger { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, transparent);}
/* ======================================================================== Inbox — triage view. Spec: tmp/design_handoff_inbox_redesign/README.md ======================================================================== */
.ibx { max-width: 51.25rem; margin: 0 auto;}
.ibx-icon { width: 1rem; height: 1rem; display: block;}
/* Toolbar: segment · actions · full-width filter chip row */.ibx-toolbar { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding-bottom: 0.875rem; margin-bottom: 0.375rem; border-bottom: 1px solid var(--ibx-line-soft);}
.ibx-seg { display: inline-flex; background: var(--ibx-surface); border: 1px solid var(--ibx-line); border-radius: 0.5rem; padding: 2px; gap: 2px;}
.ibx-toolbar .ibx-seg :is(button, a) { border: 0; background: transparent; color: var(--text-2); font-size: 0.78125rem; font-weight: 500; padding: 0.3125rem 0.6875rem; border-radius: 0.375rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.375rem; text-decoration: none;}
.ibx-toolbar .ibx-seg :is(button, a):hover { filter: none; color: var(--text);}
.ibx-seg button .n { font-family: var(--mono); font-size: 0.6875rem; color: var(--text-3);}
.ibx-toolbar .ibx-seg :is(button, a).is-active { background: var(--ibx-surface-3); color: var(--text);}
.ibx-seg button.is-active .n { color: var(--accent);}
.ibx-actions { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem;}
.ibx-toolbar .ibx-btn { display: inline-flex; align-items: center; gap: 0.4375rem; padding: 0.375rem 0.75rem; border-radius: 0.5rem; border: 1px solid var(--ibx-line); background: var(--ibx-surface); color: var(--text); font-size: 0.78125rem; font-weight: 500; cursor: pointer;}
.ibx-toolbar .ibx-btn .ibx-icon { width: 0.875rem; height: 0.875rem; color: var(--text-2);}
.ibx-toolbar .ibx-btn--primary { background: var(--accent-bg); border-color: var(--accent-edge); color: var(--text);}
.ibx-toolbar .ibx-btn--primary:hover:not(:disabled) { filter: none; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--text);}
.ibx-iconbtn { width: 2rem; height: 2rem; border-radius: 0.5rem; border: 1px solid var(--ibx-line); background: var(--ibx-surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer; list-style: none;}
.ibx-iconbtn:hover { border-color: var(--ibx-surface-3); color: var(--text);}
/* Copy-on-click feedback: a transient "Copied!" bubble above the control. */.is-copied { position: relative;}
.is-copied::after { content: "Copied!"; position: absolute; bottom: calc(100% + 0.375rem); left: 50%; transform: translateX(-50%); z-index: 20; background: var(--ibx-surface-3); color: var(--text); font-size: 0.6875rem; font-weight: 600; padding: 0.125rem 0.375rem; border-radius: 0.25rem; white-space: nowrap; pointer-events: none;}
/* Notifications feed controls on the settings page. */.settings-feed { display: flex; align-items: center; gap: 0.5rem;}
.settings-feed__copy { display: grid; place-items: center;}
.settings-feed__revealed { margin-top: 0.75rem;}
.settings-feed__revealed #feed-url { flex: 1; min-width: 0; font-family: monospace;}
/* Type filter chips — own full-width row inside the toolbar */.ibx-filters { display: inline-flex; gap: 0.375rem; flex-wrap: wrap; flex-basis: 100%; order: 2; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--ibx-line-soft);}
.ibx-filters .ibx-chip { display: inline-flex; align-items: center; gap: 0.4375rem; padding: 0.3125rem 0.6875rem 0.3125rem 0.5625rem; border-radius: 999px; background: var(--ibx-surface); border: 1px solid var(--ibx-line); color: var(--text-2); font-size: 0.78125rem; font-weight: 500; cursor: pointer; transition: border-color 0.12s, background 0.12s, color 0.12s;}
.ibx-filters .ibx-chip:hover { filter: none; border-color: var(--ibx-surface-3); color: var(--text);}
.ibx-chip .swatch { width: 0.5rem; height: 0.5rem; border-radius: 50%;}
.ibx-chip .n { font-family: var(--mono); font-size: 0.6875rem; color: var(--text-3);}
.ibx-filters .ibx-chip.is-active { background: var(--accent-bg); border-color: var(--accent-edge); color: var(--text);}
.ibx-chip.is-active .n { color: var(--accent);}
.ibx-t-update { background: var(--t-update);}.ibx-t-add { background: var(--t-add);}.ibx-t-remove { background: var(--t-remove);}.ibx-t-revision { background: var(--t-revision);}.ibx-t-propagate { background: var(--t-propagate);}.ibx-t-pr-open { background: var(--t-pr-open);}.ibx-t-pr-merged { background: var(--t-pr-merged);}
/* Notification rows *//* Unread = full opacity + right dot; read rows dim back (single indicator). */.ibx li.is-read { opacity: 0.72; transition: opacity 0.12s;}
.ibx li.is-read:hover { opacity: 1;}
/* Inbox rows pack their trailing dot and actions tighter than the shared row gap. */.ibx .row-actions { gap: 0.25rem;}
.ibx-glyph { width: 1.875rem; height: 1.875rem; border-radius: 0.5625rem; display: grid; place-items: center; background: color-mix(in srgb, var(--type-color) 16%, transparent); color: var(--type-color); flex-shrink: 0;}
.ibx-attr,.ibx-title { font-family: var(--mono); color: var(--text); font-size: 0.84375rem; letter-spacing: -0.01em; word-break: break-word;}
.ibx-attr { font-weight: 600;}
/* Verbatim change title (free-form; ligatures off so "->" never draws as an arrow the data doesn't contain). */.ibx-title { font-weight: 500; line-height: 1.4; font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0;}
.ibx-attr a,.ibx-title a { color: var(--text); text-decoration: none;}
.ibx-attr a:hover,.ibx-title a:hover { color: var(--accent);}
/* Type label chip — carries the type's colour identity *//* Inbox type chip: the shared .pill colored by the row's per-type accent. */.ibx-typechip { --pill-color: var(--type-color, var(--accent));}
.ibx-tag { display: inline-flex; align-items: center; gap: 0.3125rem; padding: 2px 0.5rem; border-radius: 999px; background: var(--ibx-surface); border: 1px solid var(--ibx-line); color: var(--text-2); font-size: 0.71875rem; font-family: var(--mono); text-decoration: none;}
.ibx-tag .dot { width: 0.3125rem; height: 0.3125rem; border-radius: 50%; background: var(--accent);}
.ibx-tag--pr { color: var(--text);}
.ibx-tag--pr .hash { color: var(--text-3);}
.ibx-tag--package { color: var(--text); font-weight: 600;}
.ibx-tag--reached { font-family: var(--sans);}
.ibx-dot-sep { color: var(--ibx-line);}
.ibx-time { color: var(--text-3); font-variant-numeric: tabular-nums;}
.ibx-unread-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--type-color, var(--accent)); flex-shrink: 0; align-self: center; margin-right: 2px;}
.ibx-row-acts { display: inline-flex; gap: 2px; opacity: 0; transition: opacity 0.12s;}
.row-line:hover .ibx-row-acts,.row-line:focus-within .ibx-row-acts { opacity: 1;}
.ibx-act { width: 1.75rem; height: 1.75rem; padding: 0; border-radius: 0.4375rem; border: 1px solid transparent; background: transparent; color: var(--text-3); display: grid; place-items: center; cursor: pointer;}
.ibx-act:hover { filter: none; background: var(--ibx-surface-3); color: var(--text); border-color: var(--ibx-line);}
.ibx-act .ibx-icon { width: 0.9375rem; height: 0.9375rem;}
.ibx-save.is-saved { color: var(--accent);}
.ibx-save.is-saved .ibx-icon { -webkit-mask-image: url("/images/saved-filled.svg"); mask-image: url("/images/saved-filled.svg");}
.ibx-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px;}
@media (pointer: coarse), (max-width: 719px) { .ibx-act { width: 2.75rem; height: 2.75rem; }
.ibx-row-acts { opacity: 1; }}
.ibx-empty { text-align: center; color: var(--text-3); padding: 3.75rem 0;}
@media (max-width: 719px) { /* Segment stretches to fill; chips scroll in one row; actions always on. */ .ibx-seg { flex: 1 1 auto; }
.ibx-toolbar .ibx-seg button { flex: 1; justify-content: center; }
.ibx-actions { flex-shrink: 0; }
.ibx-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; margin-top: 0.625rem; padding-top: 0.625rem; scrollbar-width: none; }
.ibx-filters .ibx-chip { flex-shrink: 0; }
/* Narrow inbox rows: the trailing dot and actions wrap under the body. */ .ibx .row-line--leading { grid-template-columns: 1.625rem minmax(0, 1fr); padding: 0.75rem 0.5rem; }
.ibx-glyph { width: 1.625rem; height: 1.625rem; }
.ibx .row-actions { grid-column: 1 / -1; justify-content: flex-end; margin-top: 0.25rem; }}
/* ======================================================================== Keyboard shortcut overlay (?) ======================================================================== */
.shortcuts > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem;}
.shortcuts > header h2 { margin: 0; font-size: 1rem;}
.shortcuts__close { padding: 0.25rem 0.5rem; border: 0; background: none; color: var(--text-2); font-size: 1.25rem; line-height: 1; cursor: pointer;}
.shortcuts__close:hover { color: var(--text);}
.shortcuts__groups { display: grid; gap: 1.25rem;}
.shortcuts__groups h3 { margin: 0 0 0.5rem; color: var(--text-2); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;}
.shortcuts__row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; padding: 0.25rem 0;}
.shortcuts__row dd { margin: 0;}
kbd { display: inline-block; padding: 0.125rem 0.4rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--surface); color: var(--text); font-family: inherit; font-size: 0.8125rem; line-height: 1.4; white-space: nowrap;}
kbd + kbd { margin-left: 0.25rem;}
.pipeline-error { margin: 0; max-height: 14rem; overflow-y: auto; white-space: pre-wrap; overflow-wrap: anywhere;}
/* Diagnostics, not decoration: the sublabel carries the failed step, the retry budget and the blocked-revision count, so it wraps instead of being clipped. */.pipeline-list .row-sublabel { flex-wrap: wrap; white-space: normal; overflow: visible; mask-image: none;}
/* Shared channel revision show / comparison surface. */.revision-comparison .comparison-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.5rem 1rem; margin-bottom: 1rem;}
.revision-comparison .opt-pathbar { margin: 0;}
.revision-comparison .comparison-released { grid-column: 1; margin: 0; color: var(--text-2); font-size: 0.8125rem; font-variant-numeric: tabular-nums;}
.revision-comparison .comparison-lens { grid-column: 2; grid-row: 1;}
.revision-comparison :is(.comparison-lens, .comparison-endpoints a[role="button"]) { margin: 0; padding: 0.5rem 0.75rem; font-size: 0.78125rem; white-space: nowrap;}
.revision-comparison .comparison-endpoints { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;}
.revision-comparison .comparison-endpoint { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-width: 0; padding: 0.875rem 1.125rem; border-right: 1px solid var(--line);}
.revision-comparison .comparison-endpoint > div > a { font-family: var(--mono); font-size: 1.125rem;}
.revision-comparison .comparison-value-label { display: block; margin-bottom: 0.25rem; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);}
.revision-comparison .comparison-compare { display: flex; align-items: center; padding: 0.75rem 1rem;}
.revision-comparison .comparison-baseline { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-2);}
.revision-comparison .comparison-section-heading { display: flex; align-items: center; gap: 0.875rem; margin: 1.5rem 0 0.75rem;}
.revision-comparison .comparison-section-heading h2 { margin: 0; font-size: 1.375rem; flex-shrink: 0;}
.revision-comparison .comparison-section-heading::after { content: ""; height: 1px; background: var(--line-soft); flex: 1; order: 1;}
.revision-comparison .comparison-section-heading > span { order: 2; color: var(--text-2); font-size: 0.8125rem;}
.revision-comparison :is(.comparison-package-panel, .comparison-options) { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;}
.revision-comparison .comparison-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line);}
.revision-comparison .comparison-filters [role="button"] { width: auto; margin: 0; padding: 0.375rem 0.625rem; border: 1px solid transparent; background: transparent; color: var(--text); font-size: 0.78125rem; text-decoration: none;}
.revision-comparison .comparison-filters [aria-pressed="true"] { background: var(--accent-bg); border-color: var(--accent-edge); color: var(--accent);}
.revision-comparison .comparison-filters [role="button"]:hover { background: var(--accent-soft); filter: none;}
.revision-comparison .comparison-filters [role="button"] span { margin-left: 0.625rem; font-family: var(--mono); font-variant-numeric: tabular-nums;}
.revision-comparison .comparison-packages { width: 100%; table-layout: fixed; margin: 0; font-size: 0.8125rem;}
.revision-comparison .comparison-packages th:first-child { width: 46%;}
.revision-comparison .comparison-packages th:nth-child(2) { width: 18%;}
.revision-comparison .comparison-packages :is(th, td) { padding: 0.625rem 0.875rem; border-bottom: 1px solid var(--line-soft); background: var(--bg); overflow-wrap: anywhere;}
.revision-comparison .comparison-packages th { background: var(--surface); color: var(--text-2); font-weight: 500;}
.revision-comparison .comparison-packages tr:last-child td { border-bottom: 0;}
.revision-comparison :is(.comparison-package-name, .comparison-version, .comparison-option-header > a) { font-family: var(--mono);}
.revision-comparison .comparison-package-name a { text-decoration: none;}
.revision-comparison .comparison-version-from { color: var(--text-2);}
.revision-comparison .comparison-version-arrow { display: none;}
.revision-comparison .comparison-badge { display: inline-block; border-radius: 999px; padding: 0.125rem 0.5rem; font-size: 0.71875rem; line-height: 1.4; color: var(--t-update); background: color-mix(in srgb, var(--t-update) 12%, transparent);}
.revision-comparison .comparison-badge--added { color: var(--t-add); background: color-mix(in srgb, var(--t-add) 12%, transparent);}
.revision-comparison .comparison-badge--removed { color: var(--t-remove); background: color-mix(in srgb, var(--t-remove) 12%, transparent);}
.revision-comparison .comparison-option { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--bg); box-shadow: none;}
.revision-comparison .comparison-option-header { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin: 0; padding: 0.875rem 1rem; border-bottom: 1px solid var(--line-soft); background: var(--bg); overflow-wrap: anywhere;}
.revision-comparison .comparison-option-header > a { min-width: 0; text-decoration: none;}
.revision-comparison .comparison-field { padding: 1rem; border-bottom: 1px solid var(--line-soft);}
.revision-comparison .comparison-field:last-child { border-bottom: 0;}
.revision-comparison .comparison-field-label { margin: 0 0 0.75rem; font-size: 0.8125rem; color: var(--text-2);}
.revision-comparison .comparison-field-label strong { color: var(--text); font-family: var(--mono); font-weight: 500;}
.revision-comparison .comparison-values { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem;}
.revision-comparison .comparison-values > div { min-width: 0; padding: 0.875rem; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--surface);}
.revision-comparison .comparison-values :is(p, pre) { margin: 0; font-size: 0.8125rem; white-space: pre-wrap; overflow-wrap: anywhere;}
.revision-comparison .comparison-values pre { padding: 0; background: transparent; color: var(--text);}
.revision-comparison .comparison-field details { margin: 1rem 0 0; padding: 0; font-size: 0.8125rem;}
.revision-comparison .comparison-field summary { color: var(--text-2);}
.revision-comparison .comparison-full-values { margin-top: 0.75rem;}
.revision-comparison :is(.comparison-empty, .comparison-option-counts) { margin: 0; padding: 0.75rem 1rem; color: var(--text-2); font-size: 0.8125rem;}
.revision-comparison .comparison-footnote { margin: 1rem 0 0; color: var(--text-2); font-size: 0.78125rem;}
@media (max-width: 719px) { .revision-comparison .comparison-header { gap: 0.5rem; margin-bottom: 0.75rem; }
.revision-comparison .opt-pathbar { grid-column: 1 / -1; padding: 0 2px; font-size: 1.0625rem; }
.revision-comparison .comparison-lens { grid-row: 2; padding: 0.375rem 0.625rem; }
.revision-comparison .comparison-released { font-size: 0.6875rem; }
.revision-comparison .comparison-endpoints { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.revision-comparison .comparison-endpoint { display: block; padding: 0.75rem; }
.revision-comparison .comparison-endpoint:nth-child(2) { border-right: 0; }
.revision-comparison .comparison-endpoint a[role="button"] { margin-top: 0.375rem; padding: 0.25rem 0.5rem; font-size: 0.6875rem; }
.revision-comparison .comparison-compare { grid-column: 1 / -1; padding: 0; border-top: 1px solid var(--line); }
.revision-comparison .comparison-compare a { width: 100%; border: 0; border-radius: 0; background: var(--accent-soft); }
.revision-comparison .comparison-section-heading { gap: 0.75rem; }
.revision-comparison .comparison-section-heading h2 { font-size: 1.125rem; }
.revision-comparison .comparison-filters { padding: 0.75rem; gap: 0.25rem; }
.revision-comparison .comparison-packages :is(thead, .comparison-version-arrow) { display: none; }
.revision-comparison .comparison-packages, .revision-comparison .comparison-packages tbody { display: block; }
.revision-comparison .comparison-packages tr { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; gap: 0.375rem; padding: 0.625rem 0.75rem; border-bottom: 1px solid var(--line-soft); }
.revision-comparison .comparison-packages tr:last-child { border-bottom: 0; }
.revision-comparison .comparison-packages td { padding: 0; border: 0; min-width: 0; }
.revision-comparison .comparison-package-name { grid-column: 1 / -1; grid-row: 1; }
.revision-comparison .comparison-package-change { grid-column: 3; grid-row: 2; align-self: start; text-align: right; max-width: 8rem; }
.revision-comparison .comparison-version-from { grid-column: 1; grid-row: 2; max-width: 7rem; }
.revision-comparison .comparison-version-to { grid-column: 2; grid-row: 2; }
.revision-comparison .comparison-packages .comparison-version-arrow { display: inline; margin-right: 0.375rem; color: var(--text-2); }
.revision-comparison .comparison-values { grid-template-columns: minmax(0, 1fr); }}