/* XITA model picker — Figma 6176:8518 / 8956 / 10839 values. Inter 14/16 Medium names, 12/16 Regular #898A8B descriptions,
   panel 400w padding 8 gap 2 radius 20 bg rgba(35,38,42,.75) border 1px rgba(255,255,255,.05) blur 40, rows padding 10 gap 8
   radius 12 hover rgba(255,255,255,.05), icon box 40 radius 8 rgba(255,255,255,.05), pill 신규/무료 #D1FE17 on 5% lime. */
.xmp-root{position:fixed;inset:0;z-index:12000;pointer-events:none}
.xmp-panel{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;flex-direction:column;gap:2px;padding:8px;max-height:min(544px,calc(100vh - 16px));border-radius:20px;background:rgba(35,38,42,.75);border:1px solid rgba(255,255,255,.05);backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);box-shadow:0 24px 32px rgba(0,0,0,.3);color:#fff;font-family:Inter,Pretendard,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:16px}
.xmp-search{display:flex;align-items:center;gap:8px;padding:6px 6px 6px 8px;border-radius:999px}
.xmp-search img{width:18px;height:18px;flex:0 0 18px}
.xmp-search input{flex:1;min-width:0;height:20px;border:0;background:transparent;color:#fff;font:400 14px/20px Inter,Pretendard,sans-serif;outline:0}
.xmp-search input::placeholder{color:rgba(255,255,255,.5)}
.xmp-search input::-webkit-search-cancel-button{display:none}
.xmp-sep{height:1px;margin:0 8px;background:rgba(255,255,255,.06)}
.xmp-sep-bottom{margin-top:4px}
.xmp-list{overflow:auto;flex:1;min-height:0;display:flex;flex-direction:column;gap:2px;scrollbar-width:none}
.xmp-list::-webkit-scrollbar{display:none}
.xmp-group{display:flex;flex-direction:column;gap:2px}
.xmp-label{padding:12px 8px 8px;font:500 12px/16px Inter,Pretendard,sans-serif;color:rgba(255,255,255,.5)}
.xmp-row{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;box-sizing:border-box;padding:10px;border:0;border-radius:12px;background:transparent;color:#fff;text-align:left;cursor:pointer;font:inherit}
.xmp-row:hover,.xmp-row:focus-visible{background:rgba(255,255,255,.05);outline:0}
.xmp-row[aria-selected="true"]{background:rgba(255,255,255,.05)}
.xmp-row[aria-disabled="true"]{opacity:.45;cursor:not-allowed}
.xmp-row[aria-disabled="true"]:hover{background:transparent}
.xmp-row-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.xmp-icon{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:8px;background:rgba(255,255,255,.05)}
.xmp-icon img{width:24px;height:24px}
.xmp-icon-sm{flex-basis:32px;width:32px;height:32px;border-radius:6px}
.xmp-icon-sm img{width:18px;height:18px}
.xmp-text{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:0 2px;min-width:0;flex:1}
.xmp-name-line{display:flex;align-items:center;gap:6px;min-height:16px}
.xmp-name{font:500 14px/16px Inter,Pretendard,sans-serif;color:#fff;white-space:nowrap}
.xmp-name-lg{line-height:20px}
.xmp-pill{display:inline-flex;align-items:center;padding:2px 6px;border-radius:999px;background:rgba(209,254,23,.05);color:#D1FE17;font:500 12px/16px Inter,Pretendard,sans-serif}
.xmp-desc{font:400 12px/16px Inter,Pretendard,sans-serif;color:#898A8B;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xmp-check{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px}
.xmp-check img{width:20px;height:20px}
.xmp-empty{padding:16px 10px;color:#898A8B;font:400 12px/16px Inter,Pretendard,sans-serif}
.xmp-foot{height:56px}
.xmp-foot-text{display:flex;align-items:center;gap:6px;padding:0 2px}
.xmp-muted{color:#898A8B;font:500 14px/20px Inter,Pretendard,sans-serif}
.xmp-chevron{width:20px;height:20px;flex:0 0 20px}
.xmp-sub{position:absolute;z-index:2;display:flex;flex-direction:column;gap:2px;width:360px;padding:4px;border-radius:16px;background:rgba(35,38,42,.75);border:1px solid rgba(255,255,255,.05);backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);box-shadow:0 24px 32px rgba(0,0,0,.3)}
.xmp-sub-row{height:56px}
.xmp-sub-row[aria-checked="true"]{background:rgba(255,255,255,.05)}
.xmp-extra{background:linear-gradient(90deg,#D1FE17 0%,#fff 50%,#D1FE17 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
/* chip that opens the picker (agent compose footer, image/workflow tabs) */
.xmp-chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px 0 6px;border-radius:8px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.05);color:#fff;font:500 12px/16px Inter,Pretendard,sans-serif;cursor:pointer;max-width:100%}
.xmp-chip:hover{background:rgba(255,255,255,.08)}
.xmp-chip img{width:18px;height:18px;border-radius:4px}
.xmp-chip .xmp-chip-effort{color:#898A8B}
.xmp-chip .xmp-chip-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}
.xmp-search input:focus,.xmp-search input:focus-visible{outline:0;box-shadow:none;border:0}
#sphere-view[data-sphere-shell] .sph-agent-compose footer .xmp-chip{height:32px;min-height:32px}
/* global input rules (white fill, borders) must not reach the picker search */
.xmp-panel .xmp-search input,.xmp-panel .xmp-search input:focus,.xmp-panel .xmp-search input:focus-visible,#sphere-view .xmp-panel .xmp-search input{background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;padding:0!important;height:20px!important;font:400 14px/20px Inter,Pretendard,sans-serif!important;border-radius:0!important}
