@import url('/assets/sim/windows/desk.css');
/* The island's Asistan tab (AdaSearch.swift IslandAssistantPanel, AssistantLibrary.swift, Assistant.swift AssistantCard)
   over a desktop where "… side by side" really opens and tiles the windows (AdaIntents.swift ArrangeApps).
   Content column: 56 pt from the island's edges, 740 wide (measured on the app's own render). */
[data-sim="assistant"] .cv { --acc: #b5bfcf; --sec: rgba(255,255,255,.58); --ter: rgba(255,255,255,.34); --sys: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; }
[data-sim="assistant"] .cv :where(button) { border: 0; background: none; padding: 0; cursor: pointer; }
[data-sim="assistant"] .isd-island:not(.open) { cursor: pointer; }
[data-sim="assistant"] .isd-island .pane { position: absolute; left: 56px; width: 740px; top: 96px; }
[data-sim="assistant"] .cv .glass { background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045)); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.16); }
[data-sim="assistant"] .cv .glass.on { background: linear-gradient(180deg, rgba(255,255,255,.17), rgba(255,255,255,.085)); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.3), 0 2px 6px rgba(0,0,0,.22); }

/* tab bar (AssistantTabBar) */
[data-sim="assistant"] .atabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 20px; background: rgba(0,0,0,.2); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.07), inset 0 1px 1px rgba(0,0,0,.2); }
[data-sim="assistant"] .atabs button { padding: 7px 16px; border-radius: 15px; font-size: 11.5px; color: rgba(255,255,255,.5); }
[data-sim="assistant"] .atabs button.on { color: #fff; font-weight: 600; background: linear-gradient(180deg, rgba(255,255,255,.17), rgba(255,255,255,.085)); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.3), 0 2px 5px rgba(0,0,0,.22); }
[data-sim="assistant"] .atabs button.inert { cursor: default; }
[data-sim="assistant"] .ask, [data-sim="assistant"] .dyn { display: flex; flex-direction: column; gap: 12px; }
[data-sim="assistant"] .ask { margin-top: 12px; }
[data-sim="assistant"] .greet { display: flex; align-items: baseline; gap: 8px; font-size: 20px; }
[data-sim="assistant"] .greet b { font-weight: 600; }
[data-sim="assistant"] .greet span { color: var(--sec); }
[data-sim="assistant"] .greet em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--ter); }
[data-sim="assistant"] .well { height: 46px; padding: 0 12px; display: flex; align-items: center; gap: 10px; border-radius: 14px; background: rgba(0,0,0,.26); box-shadow: inset 0 1px 0 rgba(0,0,0,.32), inset 0 0 0 1px rgba(0,0,0,.14), inset 0 -1px 0 rgba(255,255,255,.07); }
[data-sim="assistant"] .well.focus { box-shadow: inset 0 1px 0 rgba(0,0,0,.32), inset 0 0 0 1.2px rgba(181,191,207,.55); }
[data-sim="assistant"] .orb { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #8c73ff, #40a6ff); }
[data-sim="assistant"] .orb img { height: 12px; }
[data-sim="assistant"] .well input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: 16px var(--sys); caret-color: #0a84ff; }
[data-sim="assistant"] .well input::placeholder { color: rgba(255,255,255,.32); }
[data-sim="assistant"] .well .ret { font: 600 12px var(--sys); color: var(--ter); }
[data-sim="assistant"] .well .clr img { height: 14px; opacity: .35; }

/* answer card (AssistantCard) */
[data-sim="assistant"] .ans { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; animation: as-in .28s cubic-bezier(.3,1.2,.4,1); }
@keyframes as-in { from { opacity: 0; transform: translateY(-6px) scale(.985); } }
[data-sim="assistant"] .ans .o { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #8c73ff, #40a6ff); box-shadow: 0 0 16px rgba(115,115,255,.45); }
[data-sim="assistant"] .ans .o img { height: 16px; }
[data-sim="assistant"] .ans .tx { flex: 1; min-width: 0; }
[data-sim="assistant"] .ans .k { font-size: 9.5px; font-weight: 600; letter-spacing: 1px; color: #9e94ff; text-transform: uppercase; }
[data-sim="assistant"] .ans .k i { font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ter); margin-left: 6px; }
[data-sim="assistant"] .ans .t { font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
[data-sim="assistant"] .ans .s { font-size: 11px; color: var(--sec); margin-top: 3px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
[data-sim="assistant"] .cv .pill { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 28px; border-radius: 21px; color: #000; font-size: 13px; font-weight: 600; white-space: nowrap;
  background: linear-gradient(180deg, #fff, #dbdbdb); box-shadow: inset 0 0 0 .6px rgba(255,255,255,.6), 0 2px 6px rgba(0,0,0,.25); transition: transform .12s; }
[data-sim="assistant"] .cv .pill img { height: 12px; filter: invert(1); }
[data-sim="assistant"] .cv .pill:active, [data-sim="assistant"] .cv .pill.press { transform: scale(.97); }
[data-sim="assistant"] .cv .pill.done { animation: as-done .4s cubic-bezier(.3,1.6,.5,1); }
@keyframes as-done { 50% { transform: scale(1.06); } }
[data-sim="assistant"] .nope { height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--sec); }
[data-sim="assistant"] .nope img { height: 13px; opacity: .6; }

/* Şu an card */
[data-sim="assistant"] .ctx { padding: 12px; border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
[data-sim="assistant"] .ctx .r { display: flex; align-items: center; gap: 10px; }
[data-sim="assistant"] .ctx .stack { position: relative; width: 48px; height: 34px; flex: none; }
[data-sim="assistant"] .ctx .stack span { position: absolute; top: 2px; width: 30px; height: 30px; border-radius: 6px; background: rgba(0,0,0,.35) center / cover; box-shadow: 0 1px 3px rgba(0,0,0,.35), inset 0 0 0 .5px rgba(255,255,255,.2); }
[data-sim="assistant"] .ctx b { display: block; font-size: 12.5px; font-weight: 600; }
[data-sim="assistant"] .ctx small { display: block; font-size: 10.5px; color: var(--sec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-sim="assistant"] .ctx .chips { display: flex; gap: 6px; flex-wrap: nowrap; }
[data-sim="assistant"] .cchip { flex: none; height: 26px; padding: 0 10px; border-radius: 13px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; color: #fff; }
[data-sim="assistant"] .cchip img { height: 11px; }
[data-sim="assistant"] .cv .cchip:hover { background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.07)); }
[data-sim="assistant"] .ctx hr { margin: 0; border: 0; height: .5px; background: rgba(255,255,255,.12); }
[data-sim="assistant"] .ctx .icons { display: flex; flex: none; }
[data-sim="assistant"] .ctx .icons img { width: 24px; height: 24px; margin-right: -5px; }
[data-sim="assistant"] .ctx .open { flex: 1; min-width: 0; margin-left: 5px; font-size: 11.5px; color: var(--sec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* lanes */
[data-sim="assistant"] .lanes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
[data-sim="assistant"] .lane { padding: 10px; border-radius: 14px; text-align: left; display: flex; flex-direction: column; gap: 6px; color: #fff; }
[data-sim="assistant"] .lane b { font-size: 12px; font-weight: 600; }
[data-sim="assistant"] .lane small { font-size: 9.5px; color: var(--sec); }
[data-sim="assistant"] .itile { width: 24px; height: 24px; border-radius: 6.5px; display: grid; place-items: center; position: relative; flex: none;
  background: linear-gradient(180deg, var(--t), color-mix(in srgb, var(--t) 72%, #000)); box-shadow: inset 0 0 0 .6px rgba(255,255,255,.35), 0 2px 4px color-mix(in srgb, var(--t) 35%, transparent); }
[data-sim="assistant"] .itile::after { content: ""; position: absolute; inset: .6px; border-radius: 6px; background: linear-gradient(180deg, rgba(255,255,255,.3), transparent 50%); }
[data-sim="assistant"] .itile img { height: 12px; position: relative; z-index: 1; }
[data-sim="assistant"] .exs { display: flex; flex-direction: column; gap: 6px; animation: as-fade .25s ease; }
@keyframes as-fade { from { opacity: 0; } }
[data-sim="assistant"] .ex { height: 30px; padding: 0 12px; border-radius: 10px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #fff; text-align: left; }
[data-sim="assistant"] .ex img { height: 10px; opacity: .35; }
[data-sim="assistant"] .ex span { white-space: nowrap; }
[data-sim="assistant"] .ex em { margin-left: auto; padding-left: 8px; font-style: normal; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-sim="assistant"] .hist { display: flex; align-items: center; gap: 6px; font-size: 10.5px; }
[data-sim="assistant"] .hist > b { font-weight: 600; color: var(--sec); }
[data-sim="assistant"] .hist .h { height: 22px; padding: 0 9px; border-radius: 11px; color: #fff; font-size: 10.5px; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
[data-sim="assistant"] .hist .c { margin-left: auto; font-size: 10px; color: var(--ter); }

/* footline + shared bits for the other tabs */
[data-sim="assistant"] .foot { display: flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 600; color: var(--sec); }
[data-sim="assistant"] .foot .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--acc); flex: none; }
[data-sim="assistant"] .foot .sp { flex: 1; }
[data-sim="assistant"] .cv .wpill { height: 30px; padding: 0 18px; border-radius: 15px; font-size: 12.5px; font-weight: 600; color: #000; background: linear-gradient(180deg, #fff, #dbdbdb); box-shadow: 0 2px 4px rgba(0,0,0,.3); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
[data-sim="assistant"] .cv .wpill[disabled] { opacity: .5; cursor: default; }
[data-sim="assistant"] .tabpane { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; height: 362px; }
[data-sim="assistant"] .fbox { flex: 1; min-height: 0; border-radius: 20px; background: rgba(0,0,0,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); padding: 6px; display: flex; flex-direction: column; overflow: hidden; }
[data-sim="assistant"] .tchips { display: flex; align-items: center; gap: 6px; }
[data-sim="assistant"] .tchips .lb { font-size: 11.5px; font-weight: 600; color: var(--sec); }
[data-sim="assistant"] .cv .tch { height: 28px; padding: 0 13px; border-radius: 14px; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.88); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13); white-space: nowrap; }
[data-sim="assistant"] .cv .tch.on { color: #000; background: linear-gradient(180deg, #fff, #dbdbdb); box-shadow: none; }
[data-sim="assistant"] .cv .tch.dash { background: none; color: var(--sec); box-shadow: none; outline: 1px dashed rgba(255,255,255,.25); outline-offset: -1px; cursor: default; }
[data-sim="assistant"] .namebar { height: 50px; padding: 0 12px; border-radius: 20px; display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.26); box-shadow: inset 0 1px 0 rgba(0,0,0,.32), inset 0 0 0 1px rgba(0,0,0,.14); }
[data-sim="assistant"] .piece { height: 30px; padding: 0 10px; border-radius: 9px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; background: #2e4f87; white-space: nowrap; }
[data-sim="assistant"] .piece.txt { background: rgba(255,255,255,.1); }
[data-sim="assistant"] .namebar .ext { font-size: 14px; color: var(--ter); }
[data-sim="assistant"] .namebar .aa { margin-left: auto; font-size: 12px; color: var(--sec); }
[data-sim="assistant"] .palette { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
[data-sim="assistant"] .palette .lb { font-size: 11px; font-weight: 600; color: var(--sec); white-space: nowrap; }
[data-sim="assistant"] .palette span.p { height: 26px; padding: 0 9px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; }
[data-sim="assistant"] .frow { height: 40px; padding: 0 8px; display: flex; align-items: center; gap: 12px; flex: none; }
[data-sim="assistant"] .frow .th { width: 30px; height: 30px; border-radius: 5px; background: center / cover; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
[data-sim="assistant"] .frow .old { width: 190px; flex: none; font-size: 11.5px; color: var(--sec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-sim="assistant"] .frow .ar { height: 9px; opacity: .35; }
[data-sim="assistant"] .frow .new { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-sim="assistant"] .frow .nm { width: 200px; flex: none; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-sim="assistant"] .frow.ok { opacity: .6; }
[data-sim="assistant"] .frow .okt { font-size: 11.5px; font-weight: 600; color: #7dde99; }
[data-sim="assistant"] .issue { height: 22px; padding: 0 9px; border-radius: 11px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent); }
[data-sim="assistant"] .frow .rep { font-size: 10.5px; color: var(--ter); white-space: nowrap; }
[data-sim="assistant"] .dash { margin: auto 2px 2px; height: 28px; border-radius: 10px; border: 1px dashed rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 10.5px; font-weight: 600; color: var(--sec); flex: none; }
[data-sim="assistant"] .dash b { color: var(--acc); font-weight: 600; }
[data-sim="assistant"] .prob { font-size: 11px; color: #ffb35c; padding: 4px 8px; }
[data-sim="assistant"] .rules { height: 48px; padding: 0 12px; border-radius: 18px; display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.26); box-shadow: inset 0 1px 0 rgba(0,0,0,.32), inset 0 0 0 1px rgba(0,0,0,.14); }
[data-sim="assistant"] .cv .rule { height: 28px; padding: 0 10px; border-radius: 9px; font-size: 12px; font-weight: 600; color: #dbe8ff; background: #2e4f87; white-space: nowrap; }
[data-sim="assistant"] .cv .rule.off { color: var(--sec); background: rgba(255,255,255,.06); text-decoration: line-through; }
[data-sim="assistant"] .rules .hint { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--sec); white-space: nowrap; }
[data-sim="assistant"] .rules .plus { height: 12px; opacity: .8; margin-left: 4px; }
[data-sim="assistant"] .summ { display: flex; align-items: center; gap: 8px; }
[data-sim="assistant"] .badge { height: 28px; padding: 0 13px; border-radius: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
[data-sim="assistant"] .badge i { width: 8px; height: 8px; border-radius: 50%; }
[data-sim="assistant"] .summ .n { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--sec); }
[data-sim="assistant"] .cv .gpill { height: 30px; padding: 0 14px; border-radius: 15px; font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; }
[data-sim="assistant"] .spin { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.2); border-top-color: #000; animation: as-spin .8s linear infinite; }
@keyframes as-spin { to { transform: rotate(360deg); } }
[data-sim="assistant"] .uh { font: 19px var(--sys); }
[data-sim="assistant"] .ud { font-size: 11.5px; font-weight: 600; color: var(--sec); margin-top: 4px; }
[data-sim="assistant"] .urow { height: 44px; padding: 0 6px 0 14px; display: flex; align-items: center; gap: 12px; border-radius: 22px; background: rgba(0,0,0,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); flex: none; animation: as-in .3s ease; }
[data-sim="assistant"] .urow .tm { width: 44px; font-size: 11px; font-weight: 600; color: var(--sec); }
[data-sim="assistant"] .urow .tx { flex: 1; min-width: 0; }
[data-sim="assistant"] .urow b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-sim="assistant"] .urow small { font-size: 10.5px; color: var(--sec); }
[data-sim="assistant"] .cv .ub { height: 26px; padding: 0 14px; border-radius: 13px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.9); }
[data-sim="assistant"] .cv .ub.first { color: #000; background: linear-gradient(180deg, #fff, #dbdbdb); }
[data-sim="assistant"] .ulist { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
[data-sim="assistant"] .try { bottom: 98px; }
[data-sim="assistant"] .dk { position: absolute; left: 0; top: 0; width: 1512px; height: 982px; transform-origin: 0 0; }
/* phone canvas (460 × 1060): the island panel full width on top, the screen small below it */
[data-sim="assistant"] .cv.phone .dk { border-radius: 12px; overflow: hidden; }
[data-sim="assistant"] .cv.phone .isd-island, [data-sim="assistant"] .cv.phone .isd-island.open { left: 0; transform: none; width: 460px; --ear-r: 0px; }
[data-sim="assistant"] .cv.phone .isd-island .shape { border-radius: 0 0 24px 24px; }
[data-sim="assistant"] .cv.phone .isd-island .body { padding: 47.5px 12px 0; }
[data-sim="assistant"] .cv.phone .isd-track.right { display: none; }
[data-sim="assistant"] .cv.phone .isd-island .pane { left: 14px; width: 432px; }
[data-sim="assistant"] .cv.phone .greet em { display: none; }
[data-sim="assistant"] .cv.phone .ctx .chips { flex-wrap: wrap; }
[data-sim="assistant"] .cv.phone .ctx .r { flex-wrap: wrap; row-gap: 8px; }
[data-sim="assistant"] .cv.phone .ctx .open { flex-basis: 60%; }
[data-sim="assistant"] .cv.phone .ex span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
[data-sim="assistant"] .cv.phone .ex em { max-width: 45%; }
[data-sim="assistant"] .cv.phone .ans { flex-wrap: wrap; }
[data-sim="assistant"] .cv.phone .ans .tx { flex-basis: calc(100% - 60px); }
[data-sim="assistant"] .cv.phone .ans .pill { margin-left: auto; }
[data-sim="assistant"] .cv.phone .tchips, [data-sim="assistant"] .cv.phone .rules, [data-sim="assistant"] .cv.phone .palette { overflow-x: auto; scrollbar-width: none; }
[data-sim="assistant"] .cv.phone .rules .hint, [data-sim="assistant"] .cv.phone .frow .old { display: none; }
[data-sim="assistant"] .cv.phone .frow { overflow: hidden; }
[data-sim="assistant"] .cv.phone .frow .nm { width: 120px; }
[data-sim="assistant"] .cv.phone .lane small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-sim="assistant"] .cv.phone .try { bottom: auto; top: calc(var(--dky, 760px) + 44px); left: 12px; right: 12px; transform: none; white-space: normal; text-align: center; line-height: 1.5; }
[data-sim="assistant"] .cv.phone { background: #1b2340 url('/assets/img/wallpaper.jpg') center top / cover no-repeat; }
[data-sim="assistant"] .cv.phone .isd-island { transition: none; }
