/* ADGAI … नया रूप (Hark जैसा) … पीछे आसमान, ऊपर कांच जैसे डिब्बे */
:root {
  --ink: #141a2e;
  --muted: #5b6480;
  --line: rgba(20, 26, 46, .10);
  --glass: rgba(255, 255, 255, .86);
  --glass-strong: rgba(255, 255, 255, .93);
  --glass-edge: rgba(255, 255, 255, .65);
  --navy: #1b2550;
  --navy-2: #2c3c86;
  --accent: #5b6cff;
  --gold-1: #ffd36e;
  --gold-2: #ff9a5a;
  --ok: #3d4bb0;
  --ok-soft: #e9ecff;
  --no: #c0362c;
  --no-soft: #fdeceb;
  --warn-soft: #fff3d6;
  --radius: 22px;
  --shadow: 0 10px 40px rgba(10, 14, 40, .18);
  --font: 'Baloo 2', system-ui, -apple-system, sans-serif;
  --serif: var(--font);
  --side-w: 250px;
}

* { box-sizing: border-box; }
/* स्क्रॉल की पट्टी … पूरे ऐप में पतली और हल्की, बिना सफेद पटरी के। Mac पर मोटी पट्टी गोल कोनों को काटती थी और डिब्बे चिपकाए हुए लगते थे (19-11-2026)। रंग ऐसा जो सफेद और नीले दोनों पर दिखे */
* { scrollbar-width: thin; scrollbar-color: rgba(128, 140, 176, .6) transparent; }
/* नीले पन्नों पर पट्टी सफेद सी, ताकि दिखे */
.view, .list, .proj-grid, .side, .call-screen { scrollbar-color: rgba(255, 255, 255, .55) transparent; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #1b2550;
  overflow: hidden;
}
button { font-family: inherit; font-size: inherit; cursor: pointer; color: inherit; }
[hidden] { display: none !important; }

/* ---------- आसमान ---------- */
.sky { position: fixed; inset: 0; z-index: 0; transition: background 1s; overflow: hidden; }
.sky.morning { background: linear-gradient(180deg, #3f5fae 0%, #7c8fd6 45%, #f2b48a 100%); }
.sky.day { background: linear-gradient(180deg, #2a5ea8 0%, #4f8fd8 50%, #a9d0f5 100%); }
.sky.evening { background: linear-gradient(180deg, #27306b 0%, #6b4f99 50%, #e98d78 100%); }
.sky.night { background: linear-gradient(180deg, #0a0f29 0%, #18245a 55%, #34407e 100%); }
.glow { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; left: 50%; top: 78%; transform: translate(-50%, -50%); filter: blur(60px); opacity: .55; }
.sky.morning .glow { background: radial-gradient(circle, #ffd9a8 0%, transparent 60%); }
.sky.day .glow { background: radial-gradient(circle, #ffffff 0%, transparent 60%); opacity: .35; }
.sky.evening .glow { background: radial-gradient(circle, #ffb07a 0%, transparent 60%); }
.sky.night .glow { background: radial-gradient(circle, #6f7fe0 0%, transparent 60%); opacity: .35; }
.stars { position: absolute; inset: 0; opacity: 0; transition: opacity 1s;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 32%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 26%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 36%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 48%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 56% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 58%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 58%, #fff 50%, transparent 51%);
}
.sky.night .stars { opacity: .7; }

/* ---------- निशान और नाम ---------- */
.mark { display: inline-flex; }
.wordmark { font-family: var(--font); font-weight: 800; font-size: 22px; letter-spacing: .5px; line-height: 1; }
.wordmark .w-adg { color: #fff; }
.wordmark .w-ai { background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark.big { font-size: 44px; letter-spacing: 1px; }
.login-side .wordmark .w-adg { color: var(--navy); }

/* ---------- लॉगिन ---------- */
.login { position: relative; z-index: 1; min-height: 100%; height: 100%; overflow-y: auto; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; background: var(--glass-strong); border: 1px solid var(--glass-edge); border-radius: 32px; box-shadow: var(--shadow); overflow: hidden; }
.login-art { padding: 40px 36px; color: #fff; background: linear-gradient(160deg, #27306b 0%, #6b4f99 55%, #e98d78 100%); display: flex; flex-direction: column; gap: 18px; min-height: 460px; }
.art-title { font-family: var(--font); font-weight: 600; font-size: 38px; line-height: 1.35; margin: auto 0 0; }
.art-list { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 10px; }
.art-list li { padding: 10px 14px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; font-size: 15px; }
.login-side { padding: 48px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.tagline { margin: 12px 0 32px; color: var(--muted); font-size: 17px; }
.btn.google { width: 100%; max-width: 320px; display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 14px 20px; font-weight: 600; box-shadow: 0 2px 10px rgba(10, 14, 40, .08); }
.btn.google:hover { box-shadow: 0 4px 16px rgba(10, 14, 40, .14); }
.login-msg { min-height: 24px; color: var(--no); margin: 12px 0 0; }
.foot { margin: 28px 0 0; color: var(--muted); font-size: 13px; font-family: var(--font); letter-spacing: .5px; }
@media (max-width: 760px) {
  .login-card { grid-template-columns: 1fr; border-radius: 26px; }
  .login-art { min-height: 0; padding: 28px 24px; }
  .art-title { font-size: 28px; margin-top: 8px; }
  .login-side { padding: 32px 24px 28px; }
  .wordmark.big { font-size: 38px; }
}

/* ---------- ढाँचा ---------- */
.brand-row { display: flex; align-items: center; gap: 10px; }
.badge { background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); color: #3b2200; font-family: var(--font); font-size: 12px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 6px; }
.avatar-c { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font); font-weight: 700; color: var(--navy); background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); }
/* नाम वाला मेन्यू … Claude जैसा … ऊपर मेल ID, फिर काम की चीजें, आखिर में बाहर निकलें */
.me-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(10, 14, 40, .28); padding: 8px; z-index: 30; }
.me-email { margin: 0; color: var(--muted); font-size: 13px; font-family: var(--font); overflow-wrap: anywhere; line-height: 1.4; }
.menu-sep { height: 1px; background: var(--line); margin: 4px 6px; }
.menu-item { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.3; }
.menu-item .mi { display: inline-flex; color: var(--muted); flex: 0 0 auto; }
.menu-item .ml { flex: 1; }
.menu-meta { color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
/* नाम वाले मेन्यू में ADGAI की क्षमताएं … छोटी दूसरी लाइन और चालू या जल्द का निशान */
.menu-tag { flex: 0 0 auto; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.menu-tag.soon { background: #fff4d6; color: #8a5d00; }
.menu-item:hover, .menu-item:focus-visible { background: #f1f3fa; outline: none; }
.menu-item.out, .menu-item.out .mi { color: var(--no); }
.menu-item.out:hover, .menu-item.out:focus-visible { background: var(--no-soft); }

main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.view { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 8px 24px 24px; }

/* ---------- होम ---------- */
.block { width: 100%; max-width: 980px; }
.block-head { display: flex; align-items: center; gap: 10px; margin: 0 4px 12px; color: #fff; }
.block-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.count { font-size: 13px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.count:empty { display: none; }

/* बडा चैट डिब्बा */
.composer { background: var(--glass-strong); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--shadow); }
.composer textarea { width: 100%; resize: none; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; line-height: 1.55; outline: none; padding: 4px 6px; max-height: 200px; }
.composer-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 8px; }
.composer-btns { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }
.icon-btn span { display: inline-flex; }
.icon-btn.send { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; border-color: transparent; }
.icon-btn.mic.live { background: var(--no); color: #fff; border-color: transparent; animation: pulse 1.4s infinite; }
.icon-btn.mic.off { opacity: .45; }
/* माइक का हाल … चालू होते समय धडकन नहीं, सुनते समय धडकन; खाली डिब्बे में हल्का सा "जी सर, बोलिए" */
.icon-btn.mic.live.wait { animation: none; opacity: .8; }
.composer textarea.listening::placeholder { color: var(--navy-2); opacity: .75; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(192, 54, 44, .45); } 70% { box-shadow: 0 0 0 14px rgba(192, 54, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(192, 54, 44, 0); } }

/* Action Buttons */
.todo { display: flex; flex-direction: column; gap: 10px; }
.todo-row { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 14px; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 18px; padding: 12px 16px 12px 12px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.act-btn { height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.act-btn.ok { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(27, 37, 80, .25); }
.act-btn.done { color: var(--navy); }
.act-btn:disabled { opacity: .5; }
.todo-main { min-width: 0; }
.todo-title { margin: 0; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.todo-sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.todo-side { display: flex; align-items: center; gap: 8px; }
.pill { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #eef1ff; color: var(--navy-2); white-space: nowrap; }
.pill.mail, .pill.message { background: #e9f1ff; color: #1f4fbf; }
.pill.payment, .pill.delete { background: var(--no-soft); color: var(--no); }
.pill.code, .pill.decision { background: var(--warn-soft); color: #7a5300; }
.pill.task { background: var(--ok-soft); color: var(--ok); }
.pill.due { background: #f2f4f8; color: var(--muted); font-family: var(--font); }
.link-btn { border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 14px; padding: 6px 8px; border-radius: 10px; }
.link-btn:hover { background: #eef1f8; }
.todo-empty { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 18px; padding: 18px; text-align: center; color: var(--muted); }
.more { align-self: center; border: 0; background: rgba(255, 255, 255, .2); color: #fff; padding: 8px 18px; border-radius: 999px; font-weight: 600; }

/* Panels */
.panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.panel { display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius); padding: 18px 18px 14px; min-height: 230px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-align: left; border-width: 1px; }
.panel-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.panel-num { margin: 8px 0 2px; font-family: var(--font); font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--ink); }
.panel-sub { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.panel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.panel-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.panel-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.panel-list li span:last-child { color: var(--muted); font-family: var(--font); white-space: nowrap; }
.panel-open { margin-top: auto; align-self: flex-start; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--navy); }
.panel-gap { flex: 1; min-height: 10px; }

/* ---------- कांच वाला बडा डिब्बा (बातचीत, डायरी, मंजूरी) ---------- */
.glass-panel { flex: 1; min-height: 0; width: 100%; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 6px; }
.panel-head h2 { margin: 0; font-size: 20px; }

/* बातचीत */
.messages { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg.me { justify-content: flex-end; }
.msg .av { flex: 0 0 30px; display: flex; margin-top: 2px; }
.bubble { max-width: 84%; padding: 11px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow-wrap: anywhere; }
.msg.me .bubble { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; border-color: transparent; border-bottom-right-radius: 6px; }
.msg.me.queued .bubble { opacity: .72; }
.q-note { margin-top: 4px; font-size: 12.5px; color: var(--gold-1); }
.msg.ai .bubble { border-top-left-radius: 6px; }
.bubble p { margin: 0 0 8px; }
.bubble p:last-child { margin-bottom: 0; }
.bubble .h { font-weight: 700; }
.bubble ul, .bubble ol { margin: 4px 0 8px; padding-left: 22px; }
.bubble code { background: #eef1ff; padding: 1px 6px; border-radius: 6px; font-size: 14px; }
.tbl { overflow-x: auto; margin: 6px 0 10px; border: 1px solid var(--line); border-radius: 12px; }
.tbl table { border-collapse: collapse; width: 100%; font-size: 14px; }
.nw { white-space: nowrap; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl th { background: #eef1ff; font-weight: 600; }
.tbl tr:last-child td { border-bottom: 0; }
@media (max-width: 480px) { .tbl table { font-size: 13px; } .tbl th, .tbl td { padding: 7px 8px; } }
.typing { display: flex; gap: 6px; align-items: center; height: 42px; }
.typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .4; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-panel .composer { display: flex; align-items: flex-end; gap: 10px; margin: 0 14px 14px; padding: 8px 8px 8px 14px; border-radius: 20px; box-shadow: none; border: 1px solid var(--line); background: #fff; }
.chat-panel .composer textarea { min-height: 46px; padding: 10px 4px; }
.chat-panel .composer-btns { margin-left: 0; }
.chat-empty { margin: auto; text-align: center; color: var(--muted); max-width: 420px; }
.chat-empty p:first-child { color: var(--ink); font-size: 19px; font-weight: 600; margin: 0 0 4px; }

/* डायरी और मंजूरी */
.filters { display: flex; gap: 6px; background: #eef1f8; padding: 4px; border-radius: 999px; }
.filter { border: 0; background: none; color: var(--muted); padding: 6px 16px; border-radius: 999px; font-weight: 500; }
.filter.on { background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 1px 6px rgba(10, 14, 40, .1); }
.list { flex: 1; overflow-y: auto; padding: 12px 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; }
.card.done { opacity: .62; }
.card.done .card-title { text-decoration: line-through; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.date { color: var(--muted); font-size: 13px; font-family: var(--font); }
.card-title { margin: 0; font-weight: 600; }
.card-text { margin: 4px 0 0; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; color: var(--muted); font-size: 14px; }
.meta:empty { display: none; }
.row-end { display: flex; justify-content: flex-end; margin-top: 12px; gap: 10px; }
.row-end.two .btn { flex: 1; max-width: 160px; }
details { margin-top: 8px; }
summary { color: var(--navy-2); cursor: pointer; }
.draft { margin-top: 8px; padding: 10px 12px; background: #f3f5fb; border-radius: 12px; font-size: 15px; }
.section { margin: 8px 2px 0; font-weight: 600; color: var(--muted); font-size: 14px; }
.note { margin: 8px 2px 0; color: var(--muted); font-size: 13px; }
.state { font-weight: 600; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.state.approved { background: var(--ok-soft); color: var(--ok); }
.state.rejected { background: var(--no-soft); color: var(--no); }
.empty-s { color: var(--muted); text-align: center; padding: 40px 8px; }

.btn { border: 1px solid transparent; border-radius: 12px; padding: 10px 18px; font-weight: 600; }
.btn.okay { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; box-shadow: 0 4px 14px rgba(27, 37, 80, .22); }
.btn.no { background: #fff; color: var(--muted); border-color: var(--line); }
.btn.ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn:disabled { opacity: .5; }

.toast { position: fixed; z-index: 10; left: 50%; bottom: 40px; transform: translate(-50%, 20px); background: #141a2e; color: #fff; padding: 10px 18px; border-radius: 14px; opacity: 0; transition: .25s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; font-size: 15px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- मौसम, सब रोको, प्रोजेक्ट ---------- */
.paused-bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: calc(100% - 48px); max-width: 900px; margin: 0 auto 10px; background: var(--no); color: #fff; padding: 10px 10px 10px 18px; border-radius: 16px; box-shadow: var(--shadow); font-size: 15px; }
.paused-bar[hidden] { display: none; }
.resume-btn { flex: 0 0 auto; border: 0; background: #fff; color: var(--no); font-weight: 700; padding: 8px 16px; border-radius: 12px; }
.project-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 22px 0; }
.project-chips:empty { display: none; }
.pchip { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 5px 14px; border-radius: 999px; font-size: 14px; }
.pchip.on { background: var(--navy); color: #fff; border-color: transparent; }
.pill.project { background: #f1ecff; color: #5b3fb5; }

/* बोलकर सुनाना */
.speak { margin-top: 8px; border: 1px solid var(--line); background: #f6f7fb; color: var(--navy); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.speak.on { background: var(--navy); color: #fff; }
.speak span { display: inline-flex; }

/* Settings */
.list.settings { gap: 14px; }
.set-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.set-row + .set-row { border-top: 1px solid var(--line); padding-top: 12px; }
.set-title { margin: 0; font-weight: 600; font-size: 16px; }
.set-sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.seg { display: flex; background: #eef1f8; padding: 4px; border-radius: 999px; flex: 0 0 auto; }
.seg button { border: 0; background: none; padding: 6px 16px; border-radius: 999px; color: var(--muted); font-weight: 500; min-width: 84px; }
.seg button.on { background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 1px 6px rgba(10, 14, 40, .1); }
.switch { flex: 0 0 auto; width: 52px; height: 30px; border-radius: 999px; border: 0; background: #d5d9e4; position: relative; padding: 0; transition: background .2s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); transition: left .2s; }
.switch[aria-checked="true"] { background: var(--navy-2); }
.switch.red[aria-checked="true"] { background: var(--no); }
.switch[aria-checked="true"] span { left: 25px; }
.items { display: flex; flex-direction: column; gap: 8px; }
.item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f6f7fb; border-radius: 14px; padding: 10px 12px 10px 14px; }
.item-text { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.item-sub { display: block; color: var(--muted); font-size: 13px; font-family: var(--font); }
.item-btns { display: flex; gap: 6px; flex: 0 0 auto; align-items: center; }
.x-btn { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 10px; padding: 5px 12px; font-size: 14px; font-weight: 600; }
.x-btn.yes { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; border-color: transparent; }
.ask { font-size: 13px; color: var(--no); font-weight: 600; }
.add-row { display: flex; gap: 8px; }
.add-row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font: inherit; background: #fff; color: var(--ink); outline: none; }
.add-row input:focus { border-color: var(--accent); }
.state-chip { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.state-chip.on { background: var(--ok-soft); color: var(--ok); }
.state-chip.next { background: #e9f1ff; color: #1f4fbf; }
.state-chip.later { background: #f2f4f8; color: var(--muted); }
.items.log .item { background: #fafbfd; border: 1px solid var(--line); }
.empty-mini { color: var(--muted); font-size: 14px; margin: 0; }

/* आज का सार */
.brief { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.brief-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 14px 10px; border-radius: 18px; border: 1px solid var(--glass-edge); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); min-height: 92px; }
.brief-num { font-family: var(--font); font-size: 30px; font-weight: 700; line-height: 1.1; }
.brief-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.brief-tile.red .brief-num { color: var(--no); }
.brief-tile.amber .brief-num { color: #b7791f; }
.brief-tile.blue .brief-num { color: #1f4fbf; }
.brief-tile.orange .brief-num { color: #c2410c; }
.brief-tile:hover { border-color: #fff; }

/* तारीख के रंग */
.pill.due.overdue { background: var(--no-soft); color: var(--no); }
.pill.due.today { background: var(--warn-soft); color: #7a5300; }
.pill.due.week { background: #e9f1ff; color: #1f4fbf; }
.link-btn.later { color: var(--navy-2); }
.link-btn.later:hover { background: #eef1ff; }

/* डायरी की खोज और जल्दी वाला फिल्टर */
.search-row { padding: 8px 22px 0; }
.search-row input { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font: inherit; background: #fff; color: var(--ink); outline: none; }
.search-row input:focus { border-color: var(--accent); }
.quick-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 22px 0; padding: 8px 12px; border-radius: 12px; background: #eef1ff; color: var(--navy); font-weight: 600; font-size: 14px; }

/* अपने बनाए पैनल */
.panel-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.panel-btns .panel-open { margin-top: 0; }

/* मंजूरी कार्ड बदलना */
.row-end.three .btn { flex: 1; max-width: 140px; }
.card.editing { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91, 108, 255, .15); }
.ed-l { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ed-in { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; outline: none; resize: vertical; }
.ed-in:focus { border-color: var(--accent); }

/* दूसरी जाँच, सिर्फ ड्राफ्ट, कभी नहीं */
.review { margin: 10px 0 0; font-size: 14px; border-radius: 12px; padding: 8px 12px; }
.review.ok { display: inline-flex; align-items: center; gap: 6px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.review.ok span { display: inline; }
.review.warn { background: var(--warn-soft); color: #6b4a00; }
.review.warn p { margin: 0 0 4px; font-weight: 600; }
.review.warn ul { margin: 0; padding-left: 20px; }
.todo-warn { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: #8a5a00; }
.state.draft { background: #f1ecff; color: #5b3fb5; display: inline-flex; align-items: center; margin-top: 0; padding: 6px 12px; font-size: 14px; }
/* "सिर्फ ड्राफ्ट" का निशान "पूरी बात देखें" वाली लाइन में, दाएँ किनारे … नीचे तीनों बटन को पूरी लाइन मिलती है */
.draft-line { position: relative; min-height: 32px; margin-top: 8px; }
.draft-line > details { margin-top: 0; }
.draft-line > details > summary { min-height: 32px; line-height: 32px; padding-right: 124px; }
.draft-line > .state.draft { position: absolute; top: 0; right: 0; height: 32px; padding: 0 12px; }
.state-chip.never { background: var(--no-soft); color: var(--no); }
.seg.small button { min-width: 0; padding: 5px 12px; font-size: 14px; white-space: nowrap; }
.card-note.never { margin: 12px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--no-soft); color: var(--no); font-size: 14px; font-weight: 600; }
.seg.small button.on.pv-never { background: var(--navy); color: #fff; }
.seg.small button.on.pv-draft { background: var(--navy); color: #fff; }
.policy-row { flex-wrap: wrap; }

/* गुप्त बातचीत */
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px 0; }
.chat-head h2 { margin: 0; font-size: 18px; }
.incog-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.incog-btn span { display: inline-flex; }
.incog-btn.on { background: #20263f; color: #fff; border-color: transparent; }
.incog-bar { margin: 10px 22px 0; padding: 8px 12px; border-radius: 12px; background: #20263f; color: #fff; font-size: 14px; }
.chat-panel.incog { background: rgba(232, 234, 245, .92); }
.chat-panel.incog .msg.me .bubble { background: linear-gradient(135deg, #3a3f55, #20263f); }

/* लंबा पता या शब्द डिब्बे से बाहर न जाए */
.todo-title, .todo-sub, .card-title, .card-text, .draft, .item-text, .bubble { overflow-wrap: anywhere; }
.card-top { gap: 8px; }
.card-top .tags { min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pill.project { white-space: normal; overflow-wrap: anywhere; }
.card-top > * { min-width: 0; }
.card-top .pill { white-space: normal; overflow-wrap: anywhere; }
.card-top .date { flex: 0 0 auto; }

/* खर्च पैनल का मीटर */
.meter { height: 8px; border-radius: 999px; background: #e6e9f2; overflow: hidden; margin: 4px 0 10px; }
.meter span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--navy-2), var(--accent)); }
.meter.warn span { background: linear-gradient(90deg, var(--gold-2), var(--no)); }

/* ---------- मोबाइल ---------- */
@media (max-width: 760px) {
  .todo-row { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .todo-row .act-btn { order: 3; }
  .todo-side { order: 2; }
  .panels { grid-template-columns: minmax(0, 1fr); }
  .panel { min-height: 0; }
  .glass-panel { border-radius: 24px; }
  .messages { padding: 16px 14px; }
  .bubble { max-width: 90%; }
  .list { padding: 10px 14px 20px; }
  .panel-head { padding: 16px 16px 4px; flex-wrap: wrap; }
  .brief { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .chat-head { padding: 12px 14px 0; }
  .incog-bar { margin: 8px 14px 0; }
  .policy-row .seg { width: 100%; }
  .policy-row .seg button { flex: 1; padding: 6px 4px; font-size: 13px; }
  .row-end.three .btn { max-width: none; padding: 10px 6px; white-space: nowrap; }
  .row-end.draft-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-end.draft-row .state { grid-column: 1 / -1; justify-self: start; }
  .search-row { padding: 8px 14px 0; }
  .quick-bar { margin: 8px 14px 0; }
  .row-end.three { flex-wrap: wrap; }
  .set-row { flex-direction: column; align-items: flex-start; }
  .set-row .switch, .set-row .seg { align-self: flex-end; }
  .project-chips { padding: 6px 14px 0; }
}
@media (min-width: 761px) and (max-width: 1060px) {
  .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- जिंदा आसमान (Hark जैसा) … धीरे चलते बादल, मौसम के साथ रंग ---------- */
.clouds { position: absolute; inset: 0; pointer-events: none; }
.clouds i { position: absolute; left: 0; display: block; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .28) 42%, rgba(255, 255, 255, 0) 70%); filter: blur(6px); animation: drift linear infinite; will-change: transform; }
.clouds .c1 { top: 9%; width: 460px; height: 120px; animation-duration: 210s; animation-delay: -40s; }
.clouds .c2 { top: 21%; width: 320px; height: 84px; animation-duration: 170s; animation-delay: -120s; }
.clouds .c3 { top: 34%; width: 560px; height: 140px; animation-duration: 260s; animation-delay: -200s; }
.clouds .c4 { top: 52%; width: 380px; height: 96px; animation-duration: 190s; animation-delay: -10s; }
.clouds .c5 { top: 66%; width: 520px; height: 130px; animation-duration: 240s; animation-delay: -150s; }
.clouds .c6 { top: 80%; width: 300px; height: 80px; animation-duration: 160s; animation-delay: -90s; }
@keyframes drift { from { transform: translateX(-40vw); } to { transform: translateX(130vw); } }
.clouds { opacity: 0; transition: opacity 1.5s; }
.haze, .rain { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; pointer-events: none; }
.sky::after { content: ''; position: absolute; inset: 0; background: #5d6680; opacity: 0; transition: opacity 1s; pointer-events: none; }
.sky[data-wx="cloudy"] .clouds { opacity: .95; }
.sky.night[data-wx="cloudy"] .clouds, .sky.night[data-wx="rain"] .clouds, .sky.night[data-wx="storm"] .clouds { opacity: .3; }
.sky[data-wx="cloudy"] .clouds i { background: radial-gradient(ellipse at center, rgba(235, 238, 245, .75) 0%, rgba(220, 225, 235, .4) 45%, rgba(220, 225, 235, 0) 70%); }
.sky[data-wx="cloudy"]::after { opacity: .18; }
.sky[data-wx="fog"] .haze { opacity: 1; background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(235, 238, 245, .55) 60%, rgba(235, 238, 245, .7) 100%); }
.sky[data-wx="fog"] .stars { opacity: 0; }
.sky[data-wx="rain"]::after, .sky[data-wx="storm"]::after { opacity: .32; }
.sky[data-wx="storm"]::after { background: #2b2f45; opacity: .45; }
.rain { inset: -25%; transform: rotate(12deg); background: linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, .55) 18px 19.5px, transparent 19.5px) 0 0 / 40px 46px; -webkit-mask: linear-gradient(180deg, transparent 0 55%, #000 55% 100%) 0 0 / 40px 46px; mask: linear-gradient(180deg, transparent 0 55%, #000 55% 100%) 0 0 / 40px 46px; }
.sky[data-wx="rain"] .rain, .sky[data-wx="storm"] .rain { opacity: .6; animation: rainfall .45s linear infinite; }
.sky[data-wx="rain"] .clouds, .sky[data-wx="storm"] .clouds { opacity: 1; }
.sky[data-wx="rain"] .stars, .sky[data-wx="storm"] .stars { opacity: 0; }
@keyframes rainfall { from { background-position: 0 0; -webkit-mask-position: 0 0; mask-position: 0 0; } to { background-position: 0 46px; -webkit-mask-position: 0 46px; mask-position: 0 46px; } }
.clouds i { animation-play-state: paused; }
.sky[data-wx="cloudy"] .clouds i, .sky[data-wx="rain"] .clouds i, .sky[data-wx="storm"] .clouds i { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .clouds i, .rain { animation: none !important; } }

/* ---------- नमस्ते के नीचे एक लाइन और सुबह की रिपोर्ट (Claude Duet जैसा) ---------- */
.report { margin-top: 12px; border-radius: 18px; border: 1px solid var(--glass-edge); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 14px 16px 8px; }
.report-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--navy); }
.report-row { width: 100%; display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 0; border-top: 1px solid var(--line); background: none; padding: 10px 2px; text-align: left; }
.report-row:first-of-type { border-top: 0; }
.report-row:hover .report-text { color: var(--navy-2); }
.report-label { justify-self: start; max-width: 100%; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef1ff; color: var(--navy-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-label.appr { background: #fff1e6; color: #c2410c; }
.report-label.overdue { background: var(--no-soft); color: var(--no); }
.report-label.today { background: var(--warn-soft); color: #7a5300; }
.report-text { font-size: 15px; color: var(--ink); line-height: 1.4; }
.report-empty { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.report-more { border: 0; background: none; color: var(--navy-2); font-weight: 600; font-size: 14px; padding: 8px 2px 6px; }

/* ---------- मंजूरी … रकम, तारीख, "अभी नहीं" ---------- */
.todo-chips { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.amt { font-family: var(--font); font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #10233f; color: #fff; }
.link-btn.soft { color: var(--muted); }
.link-btn.soft:hover { background: #eef1f8; }
.card-note.later, .card-note.info { margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: #eef1ff; color: var(--navy-2); font-size: 14px; font-weight: 600; }
.row-end.four .btn { flex: 1; max-width: 140px; white-space: nowrap; }

@media (max-width: 760px) {
  .paused-bar { width: calc(100% - 28px); font-size: 14px; }
  .report-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .report-label { grid-column: 1 / -1; }
  .report-row .pill { grid-column: 2; grid-row: 2; }
  .report-text { grid-column: 1; grid-row: 2; }
  .row-end.four { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-end.four .btn { max-width: none; }
}

/* ---------- ADGAI का गोला … होम पर AI की मौजूदगी ---------- */
.ai-orb.thinking::before, .ai-orb.thinking::after { animation-duration: 1.1s; }
.ai-orb.paused { filter: grayscale(.8); opacity: .6; }
.ai-orb.paused::before, .ai-orb.paused::after { animation: none; }
@keyframes breathe { 0%, 100% { transform: scale(.85); opacity: .55; } 50% { transform: scale(1.15); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ai-orb::before, .ai-orb::after { animation: none !important; } }

/* ---------- कॉल (डेमो) ---------- */
.call-screen { position: fixed; inset: 0; z-index: 50; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 18px; padding: 24px; color: #fff; text-align: center; background: radial-gradient(120% 80% at 50% 30%, rgba(60, 70, 150, .96) 0%, rgba(16, 20, 50, .98) 70%); backdrop-filter: blur(20px); }
.call-screen[hidden] { display: none; }
.call-orb { position: relative; width: 150px; height: 150px; display: grid; place-items: center; margin-bottom: 8px; }
.call-orb::before, .call-orb::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(181, 160, 255, .45); animation: ring 2.6s ease-out infinite; }
.call-orb::after { animation-delay: -1.3s; }
.call-orb .mark { display: flex; filter: drop-shadow(0 8px 30px rgba(140, 150, 255, .7)); }
@keyframes ring { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.call-name { margin: 0; font-size: 28px; font-weight: 700; font-family: var(--font); letter-spacing: .5px; }
.call-sub { margin: 0; font-size: 17px; opacity: .85; max-width: 360px; line-height: 1.5; }
.call-tag { font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: rgba(255, 211, 110, .2); color: #ffd36e; }
.call-btns { display: flex; gap: 28px; margin-top: 18px; }
.call-btn { width: 64px; height: 64px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; }
.call-btn.end { background: #e5484d; }
.call-btn:disabled { opacity: .45; }

/* ---------- भाषा (डेमो) ---------- */
.soon { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fff4d9; color: #8a5a00; margin-left: 6px; }
.call-btn svg { width: 26px; height: 26px; }
@media (max-height: 520px) {
  .call-screen { gap: 8px; padding: 12px; }
  .call-orb { width: 96px; height: 96px; margin-bottom: 0; }
  .call-btns { margin-top: 6px; }
}
/* 5 … छोटे फोन पर बातचीत के डिब्बे में 3 बटन के साथ लिखने की जगह */
@media (max-width: 400px) {
  .composer-btns { gap: 6px; }
  .composer .icon-btn { width: 40px; height: 40px; }
  .chat-panel .composer { gap: 6px; padding-left: 12px; }
}

/* ---------- CD के काम ---------- */
.cd-list { border-radius: 18px; border: 1px solid var(--glass-edge); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 6px 16px; }
.cd-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.cd-row:first-child { border-top: 0; }
.cd-chip { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.cd-chip.run { background: #eef1ff; color: var(--navy-2); }
.cd-chip.run i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; }
.cd-chip.done { background: var(--ok-soft); color: var(--ok); }
.cd-chip.warn { background: var(--warn-soft); color: #7a5300; }
.cd-chip.fail { background: var(--no-soft); color: var(--no); }
.cd-main { min-width: 0; }
.cd-text { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cd-time { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.cd-err { margin: 4px 0 0; font-size: 13px; color: var(--no); font-weight: 600; }
.cd-empty { padding: 12px 0; color: var(--muted); font-size: 15px; }
.cd-send.sure { color: var(--navy); background: #eef1ff; }
.link-btn.cd { color: var(--navy-2); }
.cd-view { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 14, 40, .55); }
.cd-view[hidden] { display: none; }
.cd-sheet { width: 100%; max-width: 760px; max-height: 88vh; display: flex; flex-direction: column; background: var(--glass-strong); border: 1px solid var(--glass-edge); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.cd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cd-head h2 { margin: 0; font-size: 19px; }
.cd-body { overflow-y: auto; padding: 16px 20px 20px; }
.cd-task { margin: 0 0 10px; font-weight: 600; color: var(--muted); }
.cd-result { max-width: 100%; border-radius: 16px; }
.cd-files-h { margin: 16px 0 8px; font-weight: 700; color: var(--navy); }
.cd-files { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) {
  .cd-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  .cd-chip { grid-column: 1 / -1; }
}

/* ---------- आपके लिए काम … हर लाइन एक नाप की, भीड कम ---------- */
.todo-row { grid-template-columns: 132px minmax(0, 1fr) 40px; min-height: 74px; padding: 12px 12px 12px 14px; gap: 14px; }
.todo-row .act-btn { width: 132px; white-space: nowrap; }
.todo-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px; }
.todo-meta { margin: 5px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; overflow: hidden; min-width: 0; }
.todo-meta > * { flex: 0 0 auto; }
.todo-meta .meta-t { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: var(--muted); }
.pill.warn { background: var(--warn-soft); color: #7a5300; }
.todo-more { position: relative; align-self: center; }
.todo-row { position: relative; }
.todo-row.menu-open { z-index: 10; }
.more-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 20px; line-height: 1; display: grid; place-items: center; }
.more-btn[aria-expanded="true"] { background: #eef1ff; border-color: var(--accent); }
.more-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; z-index: 6; display: flex; flex-direction: column; padding: 6px; background: var(--glass-strong); border: 1px solid var(--glass-edge); border-radius: 14px; box-shadow: var(--shadow); }
.more-menu[hidden] { display: none; }
.more-menu button { border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.more-menu button:hover { background: #eef1ff; }
.more-menu .cd-send.sure { background: #eef1ff; }

/* ---------- Panels … एक नाप, बटन एक सीध में ---------- */
.panels { grid-auto-rows: 1fr; }
.panel { min-height: 214px; padding: 18px 18px 14px; }
.panel-list li { font-size: 13.5px; }
.panel-note { margin: 0; color: var(--muted); font-size: 13px; }
.panel-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.panel-foot .panel-open { margin-top: 0; border: 0; background: none; padding: 6px 0; color: var(--navy-2); font-size: 15px; }
.panel-foot .panel-open:hover { text-decoration: underline; }
.panel-del { border: 0; background: none; color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 6px 4px; }
.panel-foot .ask { font-size: 14px; font-weight: 600; color: var(--navy); }
@media (max-width: 760px) {
  .todo-row { grid-template-columns: minmax(0, 1fr) 40px; gap: 10px; }
  .todo-row .act-btn { grid-column: 1 / -1; order: 3; width: 100%; }
  .todo-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .todo-main { order: 1; }
  .todo-more { order: 2; }
}

/* सेटिंग … उपयोग और खर्च */
.usage .u-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.usage .u-num { margin: 0; font-family: var(--font); font-weight: 800; font-size: 34px; line-height: 1.1; color: var(--ink); }
.usage .u-sub { margin: 0; color: var(--muted); font-size: 14px; }
.usage .u-h { margin: 14px 0 4px; font-weight: 700; font-size: 15px; }
.u-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.u-l { color: var(--ink); }
.u-r { font-weight: 700; font-family: var(--font); text-align: right; }
.u-note { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.set-card.flash { animation: setflash 1.6s ease-out; }
@keyframes setflash { 0% { box-shadow: 0 0 0 3px rgba(91, 108, 255, .55); } 100% { box-shadow: 0 0 0 0 rgba(91, 108, 255, 0); } }
.set-card { scroll-margin-top: 12px; }

/* मदद */
.help-body { display: flex; flex-direction: column; gap: 4px; }
.help-item { padding: 12px 4px; border-bottom: 1px solid var(--line); }
.help-item:last-child { border-bottom: 0; }
.help-item p { margin: 0; color: var(--ink); line-height: 1.65; }
.help-item .help-q { font-weight: 700; margin-bottom: 4px; }
@media (max-width: 760px) {
  .me-menu { width: min(300px, calc(100vw - 24px)); }
}

/* ---------- ब्राउजर में काम ---------- */
.br-pill .br-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; }
.br-pill .br-pill-go { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.br-pill.wait { background: #fff3d6; color: #6b4600; }
.br-pill.wait .br-dot { background: #ff9a5a; }
.br-pill.done .br-dot { animation: none; background: var(--ok); }
.br-view { position: fixed; inset: 0; z-index: 45; display: flex; align-items: center; justify-content: center; padding: 14px; background: rgba(10, 14, 40, .6); }
.br-sheet { width: 100%; max-width: 1280px; height: min(92vh, 900px); display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.br-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.br-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.br-goal { margin: 0; font-weight: 600; font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-btns { display: flex; gap: 8px; flex: 0 0 auto; }
.btn.stop { background: var(--no-soft); color: var(--no); border-color: rgba(192, 54, 44, .2); }
.br-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 340px; }
.br-screen { position: relative; background: #0f1430; min-height: 0; }
.br-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.br-shield { position: absolute; inset: 0; cursor: not-allowed; }
.br-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .8); font-size: 16px; }
.br-take { position: absolute; right: 14px; bottom: 14px; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; background: rgba(15, 20, 48, .88); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.br-take.on { background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); color: #3b2200; }
.br-side { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); background: #f7f8fc; }
.br-wait { margin: 12px; padding: 14px; border-radius: 16px; background: #fff3d6; border: 1px solid #f3d9a0; display: flex; flex-direction: column; gap: 10px; }
.br-wait-h { margin: 0; font-weight: 800; color: #6b4600; }
.br-wait-msg { margin: 0; color: var(--ink); line-height: 1.6; }
.br-wait input { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; background: #fff; }
.br-done { margin: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); max-height: 45%; overflow-y: auto; }
.br-log-h { margin: 12px 16px 6px; font-weight: 700; font-size: 14px; color: var(--muted); }
.br-log { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 16px; }
.br-line { margin: 0; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--ink); line-height: 1.5; }
.br-line:last-child { border-bottom: 0; font-weight: 600; }
/* ब्राउजर चलते समय … काम का हाल या सर और ADGAI की बातचीत (11-11-2026) */
.br-tabs { margin: 12px 16px 6px; align-self: flex-start; }
.br-tabs button { font-weight: 600; }
.br-msg { margin: 0; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--ink); line-height: 1.55; }
.br-msg:last-child { border-bottom: 0; }
.br-msg b { color: var(--navy); margin-right: 6px; font-weight: 700; }
.br-msg.me b { color: var(--muted); }
.br-chat-empty { color: var(--muted); font-size: 14px; padding: 8px 0; }
.br-offer { margin: 10px 0 4px; padding: 12px 14px; border-radius: 14px; background: #f3f5ff; border: 1px solid #dfe3ff; display: grid; gap: 6px; }
.br-offer p { margin: 0; }
.br-offer-h { font-weight: 800; color: var(--navy); }
.br-offer-goal { color: var(--ink); }
.br-offer-note { color: var(--muted); font-size: 13px; }
.br-offer .act-btn { justify-self: start; padding: 0 18px; }
@media (max-width: 760px) {
  .br-view { padding: 0; }
  .br-sheet { height: 100%; border-radius: 0; }
  .br-body { grid-template-columns: 1fr; grid-template-rows: 52vh 1fr; }
  .br-side { border-left: 0; border-top: 1px solid var(--line); overflow-y: auto; }
  .br-side .br-log { flex: 0 0 auto; min-height: 200px; overflow: visible; }
  .br-goal { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; }
}
.item.sub { margin-left: 18px; background: #fff; border: 1px solid var(--line); }

/* ==========================================================
   नया ढाँचा (30-10-2026) … बाईं पट्टी, साफ पहली स्क्रीन, नीचे लिखने की पट्टी
   ========================================================== */
.app { position: relative; z-index: 1; height: 100%; display: flex; }
.main-col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; }

/* ---------- बाईं पट्टी ---------- */
.side { flex: 0 0 var(--side-w); width: var(--side-w); height: 100%; display: flex; flex-direction: column; padding: 16px 12px 12px; padding-top: max(16px, env(safe-area-inset-top)); color: #fff; background: rgba(12, 16, 42, .42); border-right: 1px solid rgba(255, 255, 255, .10); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); position: relative; z-index: 8; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 14px; }
.brand-row { display: flex; align-items: center; gap: 10px; }
.side .wordmark { font-size: 20px; }
.star-mark { width: 30px; height: 30px; display: grid; place-items: center; }
.star-mark svg { width: 30px; height: 30px; display: block; }
.side-x { display: none; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .10); color: #fff; place-items: center; }
.side .nav-btn { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border: 0; border-radius: 11px; background: none; color: rgba(255, 255, 255, .88); font-size: 14.5px; font-weight: 500; text-align: left; }
.side .nav-btn .ni { display: inline-flex; flex: 0 0 auto; opacity: .9; }
.side .nav-btn:hover { background: rgba(255, 255, 255, .08); }
.side .nav-btn.on { background: rgba(255, 255, 255, .16); color: #fff; }
.side .side-new { height: 40px; margin: 0 2px 10px; width: calc(100% - 4px); background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; }
.side .side-new.on { background: rgba(255, 255, 255, .18); }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side .badge { margin-left: auto; min-width: 20px; height: 19px; padding: 0 7px; border-radius: 999px; background: var(--gold-1); color: #5a3b00; font-size: 11.5px; font-weight: 800; }
/* डायरी की गिनती हल्की (जानकारी), ADGAI के चलते काम नीली (चल रहा है) … मंजूरी वाली सुनहरी (आपकी जरूरत) */
.side .badge.soft { background: rgba(255, 255, 255, .16); color: #fff; }
.side .badge.live { background: #8fa2ff; color: #101640; }
.side-lab { margin: 16px 0 4px; padding: 0 12px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .55); }
.side-ais { display: flex; flex-direction: column; gap: 2px; }
.side-ai { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border: 0; border-radius: 11px; background: none; color: rgba(255, 255, 255, .9); font-size: 14px; text-align: left; }
.side-ai:hover { background: rgba(255, 255, 255, .08); }
.side-ai i { flex: 0 0 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 11.5px; color: #fff; }
.side-ai .ai-s { background: linear-gradient(135deg, #ff9a5a, #c2410c); }
.side-ai .ai-a { background: linear-gradient(135deg, #5b6cff, #2c3c86); }
.side-ai .ai-d { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.side .side-t { height: 34px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.side .side-t span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-grow { flex: 1; min-height: 16px; }
.side .me { position: relative; }
.side .me-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-align: left; }
.side .me-btn:hover { background: rgba(255, 255, 255, .13); }
.side .me-name { min-width: 0; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side .me-menu { top: auto; right: 0; left: 0; bottom: calc(100% + 8px); width: auto; padding: 6px; border-radius: 16px; max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; transform-origin: 50% 100%; animation: me-in .16s cubic-bezier(.2, .8, .2, 1); }
.side-shade { display: none; }

/* ---------- ऊपर के बटन ---------- */
.topbar { position: relative; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px 8px; padding-top: max(16px, env(safe-area-inset-top)); pointer-events: none; }
.topbar > * { pointer-events: auto; }
body[data-tab="home"] .topbar { position: absolute; top: 0; left: 0; right: 0; }
.tb-right { margin-left: auto; display: flex; gap: 10px; }
.tb-btn { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tb-btn:hover { background: rgba(255, 255, 255, .2); }
.tb-btn span { display: inline-flex; }
.tb-btn.burger { display: none; }
.tb-dot { position: absolute !important; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; display: grid !important; place-items: center; background: var(--gold-1); color: #5a3b00; font-size: 10.5px; font-weight: 800; line-height: 1; }
.tb-dot[hidden] { display: none !important; }
.tb-btn.run.on { box-shadow: 0 0 18px rgba(255, 211, 110, .35); }
.tb-btn.run .arc { stroke: rgba(255, 255, 255, .95); }
.tb-btn.run.on .arc { stroke: var(--gold-1); transform-origin: 12px 12px; animation: spin 2.4s linear infinite; }
.tb-btn.run.wait { box-shadow: 0 0 0 2px var(--gold-1), 0 0 18px rgba(255, 211, 110, .5); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tb-btn.run.on .arc { animation: none; } }
.run-wrap { position: relative; }
.run-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 340px; max-height: 70vh; overflow-y: auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(10, 14, 40, .28); z-index: 30; }
.run-h { margin: 6px 10px 6px; font-weight: 700; font-size: 15px; color: var(--ink); }
.run-row { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; border: 0; background: none; padding: 9px 10px; border-radius: 12px; text-align: left; }
.run-row:hover { background: #f1f3fa; }
.run-text { min-width: 0; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run-text b { font-weight: 700; }
.run-empty { margin: 4px 10px 10px; color: var(--muted); font-size: 14px; }
.run-all { width: 100%; border: 0; border-top: 1px solid var(--line); background: none; margin-top: 4px; padding: 10px 10px 6px; color: var(--navy-2); font-weight: 600; font-size: 14px; text-align: left; }

/* ---------- पन्ने ---------- */
.view { padding: 0 24px 22px; }
.view.home { padding: 0; }
.x-close { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; place-items: center; padding: 0; }
.x-close:hover { color: var(--ink); background: #f1f3fa; }
.x-close span { display: inline-flex; }
.head-btns { display: flex; align-items: center; gap: 10px; }

/* ---------- पहली स्क्रीन ---------- */
.stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; }
.ai-orb { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; color: #fff; background: none; box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 46px rgba(255, 201, 77, .28); transition: transform .2s; }
.ai-orb:hover { transform: scale(1.04); }
.ai-orb:focus-visible { outline: 2px solid #fff; outline-offset: 14px; }
.ai-orb svg { position: relative; z-index: 1; width: 84px; height: 84px; display: block; }
.ai-orb::before { content: none; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); animation: breathe 1.1s ease-in-out infinite; pointer-events: none; }
.ai-orb.thinking::before { content: ''; }
.ai-orb::after { content: none; }
.greet { margin: 18px 0 0; font-size: 21px; font-weight: 600; line-height: 1.4; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .15); }
.when { margin: 12px 0 0; font-size: 15px; color: #fff; }
.when b { font-weight: 700; }
.rep { margin: 5px 0 0; font-size: 14px; color: rgba(255, 255, 255, .68); }
.rep .weather:not([hidden]) + .greet-line:not(:empty)::before { content: ' … '; color: rgba(255, 255, 255, .68); }
.need { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--gold-1); cursor: pointer; }
.need:hover { text-decoration: underline; }
.bottom { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 24px 22px; padding-bottom: max(22px, env(safe-area-inset-bottom)); }
.composer.inbar { width: 100%; max-width: 720px; display: flex; align-items: flex-end; gap: 8px; min-height: 60px; padding: 8px; background: rgba(255, 255, 255, .95); border: 0; border-radius: 22px; box-shadow: 0 10px 34px rgba(10, 14, 40, .25); }
.composer.inbar textarea { flex: 1; min-width: 0; min-height: 42px; padding: 9px 4px; font-size: 16.5px; }
.composer.inbar .composer-btns { margin-left: 0; gap: 8px; }
.composer.inbar .icon-btn { width: 42px; height: 42px; }
.plus-wrap { position: relative; flex: 0 0 auto; }
.plus-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; padding: 0; }
.plus-btn span { display: inline-flex; }
.plus-btn[aria-expanded="true"] { background: #eef1ff; }
.plus-menu { position: absolute; left: 0; bottom: calc(100% + 10px); min-width: 220px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(10, 14, 40, .28); z-index: 20; display: flex; flex-direction: column; }
.plus-menu[hidden] { display: none; }
.plus-menu button { display: flex; align-items: center; gap: 10px; border: 0; background: none; text-align: left; padding: 9px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.plus-menu button span { display: inline-flex; color: var(--muted); }
.plus-menu button:hover { background: #f1f3fa; }
.acts { display: flex; flex-wrap: nowrap; justify-content: center; gap: 6px; max-width: 100%; }
.ac { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 2px 12px 0; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ac:hover { background: rgba(255, 255, 255, .24); }
.ac span { display: inline-flex; opacity: .9; }
.ac svg { width: 16px; height: 16px; }

/* ---------- आज का हाल ---------- */
.view.today { overflow-y: auto; align-items: center; gap: 24px; padding-top: 0; }
.page-head { width: 100%; max-width: 980px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; }
.page-head h2 { margin: 0; font-size: 22px; font-weight: 600; }
.page-head .x-close { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .26); color: #fff; }

/* ब्राउजर वाली पट्टी … सिर्फ तब जब सर की बारी हो या काम पूरा हुआ हो */
.br-pill { position: fixed; top: 16px; left: calc(50% + var(--side-w) / 2); transform: translateX(-50%); z-index: 25; display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 9px 10px 9px 16px; background: #fff; color: var(--navy); font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(10, 14, 40, .3); }
.toast { left: calc(50% + var(--side-w) / 2); bottom: 130px; }

/* ---------- फोन ---------- */
@media (max-width: 760px) {
  .side { position: fixed; z-index: 36; top: 0; bottom: 0; left: 0; width: min(290px, 84vw); background: rgba(16, 20, 48, .95); transform: translateX(-104%); transition: transform .25s ease; }
  body.side-open .side { transform: none; }
  .side-shade { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(5, 8, 25, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.side-open .side-shade { opacity: 1; pointer-events: auto; }
  .side-x { display: grid; }
  .tb-btn.burger { display: grid; }
  .topbar { padding: 14px 14px 6px; padding-top: max(14px, env(safe-area-inset-top)); }
  .view { padding: 0 12px 14px; }
  .view.home { padding: 0; }
  .stage { padding: 56px 16px; }
  .ai-orb { width: 76px; height: 76px; }
  .ai-orb svg { width: 76px; height: 76px; }
  .greet { font-size: 20px; }
  .rep { font-size: 13.5px; padding: 0 12px; }
  .rep span { display: block; }
  .rep .weather:not([hidden]) + .greet-line:not(:empty)::before { content: none; }
  .bottom { padding: 0 14px 18px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .composer.inbar { gap: 6px; padding: 7px; border-radius: 20px; }
  .composer.inbar .icon-btn, .plus-btn { width: 40px; height: 40px; }
  .acts { flex-wrap: wrap; }
  .ac { height: 31px; padding: 2px 9px 0; font-size: 12px; gap: 5px; }
  .ac svg { width: 14px; height: 14px; }
  /* डिब्बा दाएँ वाले बटनों की सीध से खुले … पहले अपने बटन की सीध से खुलकर स्क्रीन के बाएँ किनारे से बाहर कट जाता था */
  .tb-right { position: relative; }
  .run-wrap { position: static; }
  .run-menu { width: min(340px, calc(100vw - 28px)); }
  .br-pill { top: 64px; left: 50%; }
  .toast { left: 50%; bottom: 170px; }
  .page-head h2 { font-size: 20px; }
}

/* ---------- जवाब को पूरी जगह … ADGAI का जवाब लगभग पूरी चौडाई तक, सर की बात दाईं ओर ---------- */
.chat-panel { max-width: 1040px; }
.msg.ai .bubble { max-width: calc(100% - 40px); }
.msg.me .bubble { max-width: 78%; }
.msg .av svg { width: 30px; height: 30px; display: block; }
@media (max-width: 760px) {
  .msg.ai { gap: 6px; }
  .msg.ai .av { flex-basis: 24px; }
  .msg.ai .av svg { width: 24px; height: 24px; }
  .msg.ai .bubble { max-width: calc(100% - 30px); }
  .msg.me .bubble { max-width: 86%; }
}

/* ---------- प्रोजेक्ट और ADGAI के काम ---------- */
.panel-sub { margin: -4px 22px 12px; font-size: 14px; color: var(--muted); }
.proj-grid { flex: 1; overflow-y: auto; padding: 4px 22px 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; align-content: start; }
.proj-card { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.proj-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(20, 30, 80, .10); }
.proj-name { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.proj-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.proj-meta span { font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #eef1ff; color: var(--navy-2); }
.proj-meta span.due-soon { background: #fff4d6; color: #7a5200; }
.proj-meta span.due-over { background: #ffe4dc; color: #a12d0a; }
.proj-next { margin: 0; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.work-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 10px; border: 1px solid var(--line); background: #fff; border-radius: 16px; }
.work-kind { font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 8px; background: #16306e; color: #fff; }
.work-kind.br { background: #2c3c86; }
.work-text { margin: 0; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-empty { margin: 30px 22px; text-align: center; color: var(--muted); }
@media (max-width: 760px) {
  .proj-grid { padding: 4px 14px 16px; grid-template-columns: 1fr; }
  .panel-sub { margin: -4px 16px 10px; }
  .work-row { grid-template-columns: minmax(0, 1fr) auto; }
  .work-row .cd-chip { grid-column: 1 / -1; justify-self: start; }
}

/* =====================================================================
   v2.8 … पूरे ऐप का अलाइनमेंट और 3D बटन (सब बदलाव एक जगह)
   ===================================================================== */
:root { --page-w: 1040px; }
/* फोन पर बटन दबाते ही पीछे चौकोर रंग नहीं चमकेगा */
* { -webkit-tap-highlight-color: transparent; }

/* ---------- बीच का गोला … असली 3D बटन, दबाने पर नीचे जाता है ---------- */
.ai-orb { box-shadow: 0 6px 0 #0a1336, 0 14px 28px rgba(2, 5, 20, .55), 0 0 46px rgba(255, 201, 77, .22); transition: transform .12s ease, box-shadow .12s ease; }
.ai-orb:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #0a1336, 0 18px 32px rgba(2, 5, 20, .55), 0 0 52px rgba(255, 201, 77, .28); }
.ai-orb:active { transform: translateY(5px); box-shadow: 0 1px 0 #0a1336, 0 4px 10px rgba(2, 5, 20, .5), 0 0 30px rgba(255, 201, 77, .16); }
.ai-orb::after { content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 2; pointer-events: none; background: radial-gradient(circle at 34% 22%, rgba(255, 255, 255, .36) 0, rgba(255, 255, 255, .10) 30%, rgba(255, 255, 255, 0) 54%), radial-gradient(circle at 50% 116%, rgba(0, 0, 0, .34) 0, rgba(0, 0, 0, 0) 54%); box-shadow: inset 0 2px 3px rgba(255, 255, 255, .35), inset 0 -5px 10px rgba(0, 0, 0, .35); }
.ai-orb:active::after { background: radial-gradient(circle at 34% 24%, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, 0) 50%), radial-gradient(circle at 50% 116%, rgba(0, 0, 0, .40) 0, rgba(0, 0, 0, 0) 54%); }
.greet { margin-top: 30px; }
.need.next { color: #fff; }
.when { margin-top: 8px; }
.rep { margin-top: 6px; }

/* ---------- कॉल वाली स्क्रीन … गोला 3D, तीनों बटन एक नाप और बीच में, नीचे नाम ---------- */
.call-orb .mark { position: relative; display: block; border-radius: 50%; filter: none; box-shadow: 0 6px 0 #0a1336, 0 16px 34px rgba(2, 5, 20, .5), 0 0 44px rgba(140, 150, 255, .45); }
.call-orb .mark svg { display: block; }
.call-orb .mark::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 34% 22%, rgba(255, 255, 255, .34) 0, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, 0) 54%), radial-gradient(circle at 50% 116%, rgba(0, 0, 0, .32) 0, rgba(0, 0, 0, 0) 54%); box-shadow: inset 0 2px 3px rgba(255, 255, 255, .32), inset 0 -5px 10px rgba(0, 0, 0, .32); }
.call-sub { max-width: 420px; text-wrap: balance; }
.call-btns { gap: 34px; align-items: flex-start; }
.call-act { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.call-lab { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.call-btn { position: relative; box-shadow: 0 4px 0 rgba(0, 0, 0, .28), 0 10px 20px rgba(0, 0, 0, .25), inset 0 1px 2px rgba(255, 255, 255, .25); transition: transform .12s, box-shadow .12s; }
.call-btn:not(:disabled):active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .28), 0 4px 8px rgba(0, 0, 0, .25), inset 0 1px 2px rgba(255, 255, 255, .2); }
.call-btn.end { box-shadow: 0 4px 0 #a52a2e, 0 10px 22px rgba(229, 72, 77, .35), inset 0 1px 2px rgba(255, 255, 255, .35); }
.call-btn.end:active { box-shadow: 0 1px 0 #a52a2e, 0 4px 10px rgba(229, 72, 77, .3), inset 0 1px 2px rgba(255, 255, 255, .3); }
.call-btn > span { display: inline-flex; }
.call-btn svg { display: block; width: 26px; height: 26px; }
.call-btn.end svg { width: 34px; height: 34px; }

/* ---------- पहली स्क्रीन की लिखने वाली पट्टी … बटन ठीक बीच में ---------- */
.composer.inbar { min-height: 58px; }
.composer.inbar textarea { min-height: 42px; padding: 8px 4px; }
.chat-panel .composer textarea { padding: 11px 4px 9px; }
.plus-menu { bottom: calc(100% + 18px); }
.plus-menu button svg { width: 18px; height: 18px; }
.icon-btn.send svg { transform: translateX(1.5px); }

/* ---------- बाईं पट्टी … हर निशान एक सीध में, हर नाम एक सीध में ---------- */
.side .nav-btn .ni svg { width: 18px; height: 18px; }
.side .side-new { margin: 0 0 10px; width: 100%; padding: 0 11px; }
.side-ai { padding: 0 9px; gap: 9px; }
.side .me-btn { padding: 7px 8px 7px 5px; gap: 6px; }
.side .me-btn .avatar-c { width: 30px; height: 30px; flex: 0 0 30px; }
.side .me-menu { max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); }
.side-x span { display: inline-flex; }
@media (min-width: 761px) { .topbar { padding-top: max(13px, env(safe-area-inset-top)); } }

/* ---------- नाम वाला मेन्यू ---------- */
/* छोटा, नाम के ठीक ऊपर और पट्टी के अंदर, हर चीज एक लाइन की (19-11-2026)
   पहले इसमें ADGAI की सारी चीजों की दो लाइन वाली सूची भी थी … मेन्यू पट्टी से चौडा और खिडकी से लंबा होकर बाहर निकलता था और अंदर खिसकता था */
.side .me-menu .me-email { padding: 7px 10px 8px; }
.side .me-menu .menu-item { padding: 9px 10px; gap: 10px; transition: background-color .12s; }
.side .me-menu .menu-item.sub { padding: 7px 10px; }
.side .me-menu .menu-sub { margin: 2px 6px 2px 38px; }
.side .me-menu .menu-item[aria-expanded="true"] .menu-caret { transform: rotate(-90deg); }
.side .me-menu .menu-sub:not([hidden]) { animation: sub-in .14s ease-out; }
.side .me-menu:focus { outline: none; }
.side .me-btn { transition: background-color .15s, border-color .15s; }
.side .me-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .28); }
/* बहुत छोटी खिडकी … लाइनें थोडी पास, ताकि भाषा की सूची खुलने पर भी मेन्यू पूरा दिखे */
@media (min-width: 761px) and (max-height: 620px) { .side .me-menu .menu-item { padding-top: 7px; padding-bottom: 7px; } }
@keyframes me-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes sub-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .side .me-menu, .side .me-menu .menu-sub:not([hidden]) { animation: none; } }
.menu-item .mi svg { width: 18px; height: 18px; }
.menu-meta { display: inline-flex; align-items: center; align-self: stretch; padding-top: 2px; }

/* ---------- हर स्क्रीन की चौडाई और ऊपर की पट्टी एक जैसी ---------- */
.glass-panel { max-width: var(--page-w); }
.panel-head, .chat-head { min-height: 64px; padding: 14px 22px 6px; box-sizing: border-box; }
.panel-head h2, .chat-head h2 { font-size: 20px; }
.incog-btn { height: 36px; padding: 0 14px; }
.filters { padding: 3px; }
.filter { height: 30px; display: inline-flex; align-items: center; padding: 0 14px; }
.view.today { padding-top: 12px; }
.view.today .page-head, .view.today .block { max-width: calc(var(--page-w) - 44px); }
.view.today .page-head { min-height: 50px; }
.view.today .page-head h2 { font-size: 20px; }
.block-head { margin: 0 0 12px; }

/* ---------- बातचीत की पट्टी … संदेशों की सीध में ---------- */
.chat-panel .composer { margin: 0 22px 16px; }

/* ---------- ADGAI के काम और ब्रेन के काम … लिखावट हर लाइन में एक ही जगह से, हाल दाईं ओर ---------- */
.work-row { grid-template-columns: minmax(0, 1fr) auto 118px; }
.work-row > .cd-chip, .cd-row > .cd-chip { justify-self: end; }
.work-row > :last-child, .cd-row > :last-child { justify-self: end; }
.work-row > div { order: 1; }
.work-row > .cd-chip { order: 2; }
.work-row > :last-child { order: 3; }
.cd-row { grid-template-columns: minmax(0, 1fr) auto 118px; }
.cd-row > div { order: 1; }
.cd-row > .cd-chip { order: 2; }
.cd-row > :last-child { order: 3; }

/* ---------- लिखावट … आखिरी शब्द अकेला न लटके ---------- */
.card-title, .todo-title, .u-l, .u-note, .proj-next, .help-item p { text-wrap: pretty; }
.proj-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.set-card > .set-sub { margin-top: -8px; }

@media (max-width: 760px) {
  .view { padding: 0 14px 14px; }
  .composer.inbar { min-height: 54px; }
  .composer.inbar textarea { min-height: 40px; padding: 7px 4px; }
  .chat-panel .composer { margin: 0 14px 14px; padding: 7px 7px 7px 12px; }
  .chat-panel .composer textarea { min-height: 40px; padding: 9px 4px 7px; }
  .panel-head, .chat-head { padding: 14px 16px 6px; }
  .side .me-menu { max-height: calc(100dvh - 150px); }
  .side-x { width: 36px; height: 36px; }
  .side-top { padding-right: 0; }
  .view.today { padding-top: 8px; }
  .view.today .page-head, .view.today .block { max-width: none; }
  .work-row { grid-template-columns: minmax(0, 1fr) auto; }
  .work-row > div { grid-column: 1 / -1; }
  .work-row > .cd-chip { grid-column: 1; justify-self: start; }
  .work-row > :last-child { grid-column: 2; }
  .cd-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cd-row > div { grid-column: 1 / -1; }
  .cd-row > .cd-chip { grid-column: 1; justify-self: start; }
  .cd-row > :last-child { grid-column: 2; }
  .report-row .report-label { grid-column: 1; grid-row: 1; justify-self: start; }
  .report-row .pill { grid-column: 2; grid-row: 1; justify-self: end; }
  .report-row .report-text { grid-column: 1 / -1; grid-row: 2; }
  .row-end:not(.four) { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
  .row-end .btn { max-width: none; white-space: nowrap; padding-left: 6px; padding-right: 6px; font-size: 14px; }
  .set-row { flex-wrap: wrap; }
  .set-row .seg { width: 100%; }
  .set-row .seg button { flex: 1; }
}

/* ---------- नाम वाला मेन्यू … भाषा की छोटी सूची (Claude जैसी) ---------- */
.menu-caret { color: var(--muted); font-size: 18px; line-height: 1; margin-left: 2px; transition: transform .15s; }
.menu-item[aria-expanded="true"] .menu-caret { transform: rotate(90deg); }
.menu-sub { margin: 0 6px 4px 42px; padding-left: 6px; border-left: 2px solid var(--line); }
.menu-sub[hidden] { display: none; }
.menu-item.sub { padding: 7px 10px; font-size: 14.5px; }
.menu-item.sub .tick { color: var(--navy-2); font-weight: 700; visibility: hidden; }
.menu-item.sub.on .tick { visibility: visible; }
.menu-item.sub.on { font-weight: 600; }

/* ---------- सेटिंग … Claude जैसे खाने, ADGAI का रंग (नेवी डिब्बे, सुनहरी पट्टी) ---------- */
.set-wrap { flex: 1; min-height: 0; display: grid; grid-template-columns: 236px 1fr; }
.set-nav { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 6px 14px 18px 18px; border-right: 1px solid var(--line); }
.set-tab { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 14px; color: var(--ink); font: inherit; font-size: 15.5px; font-weight: 600; line-height: 1.25; cursor: pointer; }
.set-tab:hover { background: rgba(255, 255, 255, .75); }
.st-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--ok-soft); color: var(--navy-2); }
.st-ic svg { width: 18px; height: 18px; }
.st-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-tx small { display: none; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--muted); }
.st-go { display: none; color: var(--muted); font-size: 24px; line-height: 1; }
.set-tab.on { background: #fff; box-shadow: 0 4px 16px rgba(20, 26, 46, .08); }
.set-tab.on .st-ic { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; }
.set-tab.on::before { content: ''; position: absolute; left: -8px; top: 9px; bottom: 9px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); }
.set-pane { min-height: 0; overflow-y: auto; }
.set-pane .list.settings { overflow: visible; padding-top: 6px; }
.set-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.set-back, .st-cur { display: none; }
#view-settings [data-sgroup][hidden] { display: none; }
@media (max-width: 760px) {
  .set-wrap { grid-template-columns: 1fr; }
  .set-nav { border-right: 0; gap: 8px; padding: 6px 14px 20px; }
  .set-tab { background: #fff; border: 1px solid var(--line); padding: 12px; border-radius: 16px; }
  .set-tab.on { box-shadow: none; }
  .set-tab.on::before { display: none; }
  .set-tab.on .st-ic { background: var(--ok-soft); color: var(--navy-2); }
  .st-tx small { display: block; }
  .st-go { display: block; }
  .set-panel[data-view="list"] .set-pane { display: none; }
  .set-panel[data-view="pane"] .set-nav { display: none; }
  .set-panel[data-view="pane"] .set-back { display: grid; place-items: center; width: 36px; height: 36px; padding: 0 0 3px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--navy-2); font: inherit; font-size: 26px; line-height: 1; }
  .set-panel[data-view="pane"] .st-all { display: none; }
  .set-panel[data-view="pane"] .st-cur { display: inline; }
  /* फोन पर ऊपर खाने का नाम आ गया … अकेले कार्ड में वही नाम दोबारा नहीं */
  .set-card.solo > .set-title:first-child, .set-card.solo > .set-row:first-child .set-title { display: none; }
}

/* ---------- एक बार की सलाह (जैसे iPhone पर माइक की अनुमति) … ADGAI की सुनहरी पट्टी ---------- */
.tip-card { position: fixed; z-index: 45; left: 50%; top: 72px; transform: translateX(-50%); width: min(520px, calc(100% - 32px)); display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 40px rgba(10, 14, 40, .28); padding: 14px 14px 14px 20px; overflow: hidden; }
.tip-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); }
.tip-card[hidden] { display: none; }
.tip-card p { margin: 0; flex: 1; font-size: 15px; line-height: 1.5; color: var(--ink); }
.tip-card .btn { flex: 0 0 auto; }
@media (min-width: 761px) { .tip-card { left: calc(50% + var(--side-w) / 2); } }

/* ---------- याद दिलाने वाली कॉल ---------- */
.rm-card { margin-top: 10px; border: 1px solid rgba(27, 37, 80, .14); border-radius: 16px; background: linear-gradient(180deg, #f7f8ff, #eef1ff); padding: 10px 12px; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.rm-card.off { opacity: .7; }
.rm-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; box-shadow: 0 3px 0 #0a1336; }
.rm-ic svg { width: 20px; height: 20px; }
.rm-t { font-weight: 700; font-size: 16px; color: var(--navy); line-height: 1.3; }
.rm-s { font-size: 14px; color: var(--muted); line-height: 1.35; }
.rm-s b { color: var(--navy); }
.rm-btns, .rm-edit { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rm-edit[hidden] { display: none; }
.rm-edit input { flex: 1; min-width: 0; border: 1px solid rgba(27, 37, 80, .2); border-radius: 12px; padding: 6px 10px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.rm-btn { border: 1px solid rgba(27, 37, 80, .16); background: #fff; color: var(--navy); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 600; font-family: inherit; }
.rm-btn.ok { background: var(--navy); color: #fff; border-color: transparent; padding: 6px 14px; }
.rm-btn:disabled { opacity: .5; }
.rm-perm { margin-top: 10px; border-radius: 14px; background: #fff7e3; border: 1px solid #f4d488; padding: 9px 12px; font-size: 14px; line-height: 1.4; color: #5a4300; display: flex; gap: 10px; align-items: center; }
.rm-perm svg { width: 20px; height: 20px; flex: none; color: #c98a00; }
.rm-perm button { margin-left: auto; flex: none; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 12px; font-family: inherit; }
.rm-perm button:disabled { opacity: .5; }
.pill.remind { display: inline-flex; align-items: center; gap: 5px; background: #eef1ff; color: var(--navy); font-weight: 700; }
.pill.remind svg { width: 13px; height: 13px; }
.rc-ear { display: none !important; }
.call-screen.rc { z-index: 60; }
.rc .in-tag { font-size: 14px; font-weight: 700; padding: 4px 14px; border-radius: 999px; background: rgba(255, 211, 110, .2); color: #ffd36e; }
.rc .in-what { margin: 2px 0 0; font-size: 21px; font-weight: 600; line-height: 1.45; max-width: 330px; text-wrap: balance; }
.rc .in-time { margin: -6px 0 0; font-size: 15px; opacity: .75; }
.rc .in-btns { display: flex; gap: 90px; margin-top: 40px; align-items: flex-start; }
.rc .in-act { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.rc .in-btn { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; transition: transform .12s; }
.rc .in-btn:active { transform: translateY(3px); }
.rc .in-btn svg { width: 34px; height: 34px; }
.rc .in-btn.later { background: rgba(255, 255, 255, .18); box-shadow: 0 4px 0 rgba(0, 0, 0, .28), 0 10px 20px rgba(0, 0, 0, .25), inset 0 1px 2px rgba(255, 255, 255, .25); }
.rc .in-btn.pick { background: #2fb36a; box-shadow: 0 4px 0 #1d7a46, 0 10px 24px rgba(47, 179, 106, .45), inset 0 1px 2px rgba(255, 255, 255, .35); animation: rc-pulse 1.2s ease-in-out infinite; }
@keyframes rc-pulse { 50% { transform: scale(1.06); } }
.rc .in-lab { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.rc .rc-body { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.rc .talk-time { margin: -10px 0 0; font-size: 15px; opacity: .75; font-variant-numeric: tabular-nums; }
.rc .talk-say { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 12px 16px; font-size: 18px; line-height: 1.5; max-width: 330px; text-align: left; }
.rc .talk-say small { display: block; font-size: 12px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.rc .ans { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 340px; }
.rc .ans button { border: 0; border-radius: 999px; padding: 10px 18px; font-size: 16px; font-weight: 700; font-family: inherit; color: var(--navy); background: #fff; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.rc .ans button.ok { background: #2fb36a; color: #fff; box-shadow: 0 3px 0 #1d7a46; }
.rc .ans button:disabled { opacity: .55; }
.rc .ans-hint { margin: -6px 0 0; min-height: 20px; font-size: 14px; opacity: .75; }
.rc .call-btn.on { background: rgba(255, 255, 255, .85); color: var(--navy); }
@media (max-height: 640px) {
  .rc .in-btns { margin-top: 16px; }
  .rc .rc-body { gap: 10px; }
}

/* ---------- गोले वाली कॉल ---------- */
.oc-grow { position: fixed; z-index: 59; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 50% 40%, rgba(60, 70, 150, .97) 0%, rgba(16, 20, 50, .99) 70%); transition: transform .38s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.call-screen.oc { z-index: 60; }
.oc .oc-body { width: 100%; max-width: 360px; }
.oc .oc-state { margin: -8px 0 0; font-size: 16px; opacity: .8; min-height: 22px; }
.oc .oc-state.talk-time { font-size: 15px; opacity: .75; font-variant-numeric: tabular-nums; }
.oc .oc-list { display: flex; flex-direction: column; gap: 10px; width: 100%; align-items: center; }
.oc .oc-list:empty { display: none; }
.oc .oc-say { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 10px 14px; font-size: 17px; line-height: 1.5; width: 100%; max-width: 330px; text-align: left; box-sizing: border-box; white-space: pre-line; max-height: 34vh; overflow-y: auto; }
.oc .oc-say small { display: block; font-size: 12px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.oc .oc-say.me { background: rgba(255, 255, 255, .92); color: var(--navy); border-color: transparent; }
.oc .oc-say.me small { color: var(--muted); opacity: 1; }
.oc .oc-hint { margin: -4px 0 0; min-height: 20px; font-size: 14px; opacity: .7; }
.oc-live { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; margin-right: 6px; vertical-align: -2px; }
.oc-live i { width: 3px; height: 4px; border-radius: 2px; background: #9fe0b8; animation: oc-bar .9s ease-in-out infinite; }
.oc-live.me i { background: var(--navy); }
.oc-live i:nth-child(2) { animation-delay: -.3s; }
.oc-live i:nth-child(3) { animation-delay: -.6s; }
@keyframes oc-bar { 50% { height: 14px; } }
.oc .call-btn.on { background: rgba(255, 255, 255, .85); color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .oc-live i { animation: none; height: 10px; } }

/* ---------- जुडी सेवाएं … कनेक्टर (CD वाले Custom connector की तरह) ---------- */
.cx-sec { font-size: 13px; font-weight: 700; color: var(--muted); margin: 14px 2px 6px; }
.cx-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 8px; }
.cx-row.go { cursor: pointer; }
.cx-row.go:active { background: #f6f7fb; }
.cx-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; flex: none; }
.cx-tx { flex: 1; min-width: 0; }
.cx-tx b { display: block; font-size: 16px; line-height: 1.3; }
.cx-tx small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.cx-go { color: var(--muted); font-size: 20px; }
.cx-add { width: 100%; margin-top: 6px; padding: 12px; border-radius: 14px; border: 1.5px dashed var(--accent); background: #f4f5ff; color: var(--navy-2); font-weight: 700; font-size: 16px; }
.cx-h { font-size: 19px; font-weight: 800; margin: 0 2px 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cx-h .state-chip { font-size: 13px; }
.cx-f label { display: block; font-size: 14px; font-weight: 700; margin: 12px 2px 5px; }
.cx-f input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font: inherit; background: #fff; color: var(--ink); outline: none; }
.cx-f input:focus { border-color: var(--accent); }
.cx-note { font-size: 13.5px; color: var(--muted); background: #f6f7fb; border-radius: 12px; padding: 10px 12px; margin: 12px 0 0; line-height: 1.45; }
.cx-btns { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.cx-btns.start { justify-content: flex-start; margin-top: 10px; }
.cx-btns .ask { font-weight: 700; color: var(--no); margin-right: auto; }
.cx-tool { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 8px; }
.cx-tool p { margin: 0; font-size: 15px; font-weight: 600; }
.cx-seg { display: flex; gap: 6px; }
.cx-seg button { flex: 1; text-align: center; font-size: 13.5px; padding: 6px 0; border-radius: 999px; border: 0; background: #f2f4f8; color: var(--muted); font-weight: 600; }
.cx-seg button.on.always { background: var(--ok-soft); color: var(--ok); }
.cx-seg button.on.ask { background: #fff3d6; color: #8a5a00; }
.cx-seg button.on.never { background: var(--no-soft); color: var(--no); }
/* बातचीत में … "W App से" वाला निशान और जवाब के नीचे मंजूरी कार्ड */
.via-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #1f4fbf; background: #e9f1ff; border-radius: 999px; padding: 1px 9px; margin-bottom: 4px; }
.chat-card { margin: 10px 0 2px; padding: 12px 14px; }
.chat-card .card-title { margin: 6px 0 0; }
.cc-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.card-note.done { margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-size: 14px; font-weight: 600; }

/* ---------- कॉल में ब्राउजर … "हाँ, खोलो" वाला कार्ड, काम पूरा होने की खबर, ब्राउजर के ऊपर कॉल की पट्टी ---------- */
.oc .oc-card { width: 100%; display: flex; justify-content: center; }
.oc .oc-card:empty { display: none; }
.oc.oc-has-card .call-orb { transform: scale(.62); margin: -40px 0 -46px; }
.oc .oc-offer { width: 100%; max-width: 330px; box-sizing: border-box; background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 14px; text-align: left; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.oc .oc-offer-h { margin: 0 0 4px; font-size: 13px; font-weight: 800; color: #3d4bb0; }
.oc .oc-offer-goal { margin: 0; font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oc .oc-offer-note { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.oc .oc-offer-btns { display: flex; gap: 8px; margin-top: 10px; }
.oc .oc-offer-btns button { flex: 1; border: 0; border-radius: 999px; padding: 10px 0; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.oc .oc-no { background: #eef0f6; color: #3a4260; }
.oc .oc-yes { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; }
.oc .oc-done { width: 100%; max-width: 330px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; background: rgba(46, 160, 103, .18); border: 1px solid rgba(120, 220, 160, .45); border-radius: 16px; padding: 10px 12px; text-align: left; }
.oc .oc-done.stop { background: rgba(229, 72, 77, .16); border-color: rgba(255, 150, 150, .4); }
.oc .oc-done b { display: block; font-size: 14px; }
.oc .oc-done small { display: block; font-size: 12.5px; opacity: .8; }
.oc .oc-done button { margin-left: auto; border: 0; border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 700; background: #fff; color: var(--navy); white-space: nowrap; cursor: pointer; }
.oc-strip { display: none; }
body.oc-br #browserView { z-index: 70; flex-direction: column; justify-content: flex-start; padding: 0; }
body.oc-br #browserView .br-sheet { flex: 1; height: auto; min-height: 0; max-width: none; border-radius: 0; }
body.oc-br .oc-strip { width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); background: radial-gradient(circle at 10% 0%, #34408f, #141a3e 75%); color: #fff; flex: none; cursor: pointer; }
.oc-strip .oc-strip-orb { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #16306e; box-shadow: 0 0 0 3px rgba(159, 170, 255, .35); }
.oc-strip .oc-strip-tx { flex: 1; min-width: 0; }
.oc-strip .oc-strip-tx b { display: block; font-size: 14px; }
.oc-strip .oc-strip-line { display: block; font-size: 13px; opacity: .85; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.oc-strip .oc-live { display: inline-flex; gap: 3px; align-items: flex-end; height: 12px; margin-right: 5px; vertical-align: -1px; }
.oc-strip .oc-live i { width: 3px; height: 8px; border-radius: 2px; background: #9fe0b8; display: block; animation: ocbar .9s ease-in-out infinite; }
.oc-strip .oc-live i:nth-child(2) { animation-delay: .15s; }
.oc-strip .oc-live i:nth-child(3) { animation-delay: .3s; }
@keyframes ocbar { 0%, 100% { height: 4px; } 50% { height: 12px; } }
.oc-strip .oc-mini { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; flex: none; cursor: pointer; }
.oc-strip .oc-mini.on { background: rgba(255, 255, 255, .85); color: var(--navy); }
.oc-strip .oc-mini.end { background: #e5484d; }
.oc-strip .oc-mini svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .oc-strip .oc-live i { animation: none; } }

/* ---------- v2.9.13 … सुबह और दिन के हल्के आसमान में नीचे के बटन, मौसम और "जरूरत" वाली लाइन साफ दिखें ---------- */
body[data-sky="day"] .ac, body[data-sky="morning"] .ac { background: rgba(10, 28, 72, .42); border-color: rgba(255, 255, 255, .34); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
body[data-sky="day"] .ac:hover, body[data-sky="morning"] .ac:hover { background: rgba(10, 28, 72, .52); }
body[data-sky="day"] .ac span, body[data-sky="morning"] .ac span { opacity: 1; }
body[data-sky="day"] .rep, body[data-sky="morning"] .rep, body[data-sky="day"] .rep .weather:not([hidden]) + .greet-line:not(:empty)::before, body[data-sky="morning"] .rep .weather:not([hidden]) + .greet-line:not(:empty)::before { color: rgba(255, 255, 255, .94); text-shadow: 0 1px 2px rgba(8, 20, 60, .45); }
body[data-sky="day"] .need, body[data-sky="morning"] .need { text-shadow: 0 1px 2px rgba(8, 20, 60, .55); }

/* ---------- v2.9.13 … उपयोग और खर्च में हर जगह का Claude सर खुद चुनें ---------- */
.m-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.m-row .m-l { margin: 0; color: var(--ink); }
.m-row .m-now { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); }
.m-row .seg.small button.on { background: var(--navy); color: #fff; }
@media (max-width: 760px) {
  .m-row { grid-template-columns: 1fr; }
  .m-row .m-seg { width: 100%; }
  .m-row .m-seg button { flex: 1; padding: 6px 4px; font-size: 13px; }
}

/* ---------- v2.9.13 … डायरी की चीज बदलना और हटाना ---------- */
.card-top .date { display: inline-flex; align-items: center; gap: 6px; }
.ed-pen { display: inline-grid; place-items: center; width: 32px; height: 32px; margin: -6px -6px -6px 0; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.ed-pen svg { width: 17px; height: 17px; }
.ed-pen:hover { background: #eef1f8; color: var(--navy); }
.d-edit .seg { align-self: flex-start; margin-top: 2px; }
.de-due { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.de-due .ed-in { flex: 1 1 150px; min-width: 0; resize: none; }
.chip-btn { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip-btn:active { background: #eef1f8; }
.d-edit .row-end .btn.no { margin-right: auto; }
.undo-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 9px 12px; border-radius: 12px; background: #eef1ff; color: var(--navy); font-weight: 600; font-size: 14px; }
.undo-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.undo-bar .x-btn { flex: 0 0 auto; white-space: nowrap; }

/* ---------- v2.9.13 … प्रोजेक्ट … आपके अपने और ADGAI के अलग, हर प्रोजेक्ट की अपनी लिखावट ---------- */
.proj-h { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 -4px; }
.proj-h p { margin: 0; font-weight: 700; font-size: 15px; color: var(--navy); }
.proj-h ~ .proj-h { margin-top: 14px; }
.proj-empty { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); font-size: 14px; text-align: center; background: rgba(255, 255, 255, .6); }
.proj-empty.left { text-align: left; }
.proj-new { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.proj-new .ed-in { flex: 1 1 200px; min-width: 0; resize: none; }
.proj-meta span.has-note { background: #eaf7ef; color: #1d6b3c; }
.proj-grid.proj-open { display: block; }
.pd { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.pd-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pd .pill.mine { background: #fff4d6; color: #7a5200; }
.pd .pill.ai { background: #eef1ff; color: var(--navy-2); }
.pd-name { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; font-weight: 800; color: var(--ink); }
.pd-name .ed-pen { margin: 0; }
.pd-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.pd-h p { margin: 0; font-weight: 700; color: var(--navy); }
.pd-notes { white-space: pre-wrap; word-break: break-word; line-height: 1.6; color: var(--ink); background: #f7f8fc; border-radius: 12px; padding: 12px 14px; }
.pd-text { width: 100%; min-height: 200px; line-height: 1.6; }
.pd-row { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.pd-row:last-of-type { border-bottom: 0; }
.pd-row .pill { flex: 0 0 auto; }
.pd-btns { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

/* ===== LOOK v4 … साफ और हल्का रूप (वही आसमान, वही कांच, वही नेवी, वही Baloo 2) =====
   सिर्फ रूप बदलता है … कोई बटन, कोई काम, कोई क्रम नहीं बदलता। */

/* 1. कांच … मटमैले स्लेटी की जगह साफ हल्का नीला-सफेद, शाम और रात में भी एक जैसा */
:root {
  --glass: rgba(250, 252, 255, .94);
  --glass-strong: rgba(255, 255, 255, .97);
  --glass-edge: rgba(255, 255, 255, .8);
  --line: rgba(20, 26, 46, .08);
  --shadow: 0 8px 28px rgba(10, 14, 40, .12);
}

/* 2. सेटिंग के अंदर के पन्ने … डिब्बे के अंदर डिब्बे की जगह पतली लकीर वाली कतारें */
.set-card { border-radius: 18px; padding: 14px 16px; }
.set-card .items { gap: 0; }
.set-card .item, .set-card .items.log .item { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 0; }
.set-card .item.sub { margin-left: 0; padding-left: 44px; }
.cx-row { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 0; margin: 0; background: none; }
.cx-sec { margin: 16px 0 6px; font-weight: 600; }
.cx-sec + .cx-row { border-top: 0; }
.cx-add { border: 1px dashed rgba(91, 108, 255, .45); background: none; font-weight: 500; font-size: 15px; margin-top: 10px; }
.item .x-btn { min-height: 36px; }
.item .x-btn:not(.yes) { border-color: transparent; background: #eef1f8; color: var(--navy); }
.seg, .filters { background: #edf0f7; }
.seg button.on, .filter.on { box-shadow: 0 1px 3px rgba(10, 14, 40, .10); }
.m-row .seg.small button.on { background: #fff; color: var(--navy); }
.st-go { font-size: 20px; font-weight: 400; color: #9aa1b5; }
.cx-go { color: #9aa1b5; }

/* 3. अक्षर की मोटाई … पढने का लिखा 400, छोटे बटन और टैग 500, शीर्षक और मुख्य बटन 600, बडे अंक 700 */
.panel-head h2, .chat-head h2, .cd-head h2 { font-weight: 600; }
.report-title, .proj-name, .pd-name, .cx-h, .cx-tx b, .me-full, .rm-t, .run-h, .help-item .help-q, .usage .u-h, .proj-h p, .pd-h p, .cd-files-h, .br-wait-h, .br-offer-h, .u-r, .when b { font-weight: 600; }
.usage .u-num { font-weight: 700; }
.menu-lab, .side-lab, .cx-f label { font-weight: 600; }
.pill, .report-label, .cd-chip, .state-chip, .state, .proj-meta span, .brief-label, .panel-top, .section { font-weight: 500; }
.menu-tag, .soon, .amt, .via-tag, .call-tag { font-weight: 600; }
.btn { font-weight: 500; }
.btn.okay { font-weight: 600; }
.act-btn, .x-btn, .chip-btn, .link-btn, .incog-btn, .speak, .panel-open, .more, .rm-btn, .more-menu button, .panel-del, .report-more, .run-all { font-weight: 500; }
.act-btn.ok { font-weight: 600; }
.filter.on, .seg button.on, .br-tabs button, .cx-seg button { font-weight: 500; }
.review.ok, .card-note.never, .card-note.later, .card-note.info, .card-note.done, .quick-bar, .undo-bar { font-weight: 500; }
.set-tab { font-weight: 500; }
.st-tx small, .menu-item .ml small, .menu-meta { font-weight: 400; }
.menu-lab { letter-spacing: 0; }

/* 4. गहरे हिस्से … वही नेवी, पर चारों तरफ की भारी छाया नहीं; किनारे नरम */
.btn.okay, .act-btn.ok { box-shadow: 0 1px 3px rgba(27, 37, 80, .18); }
.composer.inbar { box-shadow: 0 6px 22px rgba(10, 14, 40, .14); }
.card, .proj-card, .work-row, .pd, .todo-row, .report, .cd-list, .brief-tile, .todo-empty { border-radius: 16px; }
.msg.ai .bubble { border-color: transparent; box-shadow: 0 1px 2px rgba(20, 26, 46, .05); }
.work-kind, .work-kind.br { background: var(--ok-soft); color: var(--navy-2); font-weight: 600; }
.tbl th { background: #f3f5fd; }

/* 5. होम … दिन और सुबह के हल्के आसमान पर लिखा साफ पढा जाए */
body[data-sky="day"] .ac, body[data-sky="morning"] .ac { background: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .9); color: var(--navy); text-shadow: none; font-weight: 500; }
body[data-sky="evening"] .ac { background: rgba(10, 28, 72, .42); border-color: rgba(255, 255, 255, .34); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
body[data-sky="evening"] .ac:hover { background: rgba(10, 28, 72, .52); }
body[data-sky="evening"] .ac span { opacity: 1; }
body[data-sky="day"] .ac:hover, body[data-sky="morning"] .ac:hover { background: rgba(255, 255, 255, .92); }
body[data-sky="day"] .need:not(.next), body[data-sky="morning"] .need:not(.next) { display: inline-block; padding: 2px 14px; border-radius: 999px; background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); color: #3b2200; text-shadow: none; }

@media (min-width: 761px) {
  body[data-sky="day"] .need:not(.next), body[data-sky="morning"] .need:not(.next) { margin-left: 6px; }
}

/* 6. आज वाला पन्ना … नीचे के हल्के आसमान पर सफेद शीर्षक पढा जाए */
body[data-tab="today"][data-sky="day"] .sky::before, body[data-tab="today"][data-sky="morning"] .sky::before, body[data-tab="today"][data-sky="evening"] .sky::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 52, 110, 0) 30%, rgba(22, 52, 110, .26) 100%); pointer-events: none; }
.view.today .block-head h2 { text-shadow: 0 1px 2px rgba(8, 20, 60, .55), 0 0 8px rgba(8, 20, 60, .45); }
body[data-sky="day"] .count, body[data-sky="morning"] .count, body[data-sky="evening"] .count { background: rgba(10, 28, 72, .36); }

/* 7. फोन पर */
@media (max-width: 760px) {
  /* सेटिंग की सूची … 7 अलग डिब्बों की जगह एक डिब्बा, कतारों के बीच पतली लकीर */
  .set-nav { gap: 0; margin: 6px 12px 20px; padding: 2px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; align-self: start; max-height: calc(100% - 26px); }
  .set-tab { border: 0; border-radius: 0; background: none; padding: 12px 0; }
  .set-tab + .set-tab { border-top: 1px solid var(--line); }

  /* चालू-बंद वाला बटन शीर्षक की ही लाइन में दाईं ओर (बडी स्क्रीन पर पहले से ऐसा ही है) */
  .set-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
  .set-row > div:first-child { flex: 1 1 160px; min-width: 0; }
  .set-row .switch, .set-row > .btn { align-self: center; flex: 0 0 auto; }
  .set-row .seg { flex: 1 0 100%; align-self: auto; }

  body[data-sky="day"] .need:not(.next), body[data-sky="morning"] .need:not(.next) { margin-top: 6px; }

  /* शीर्षक, खोज, चिप और कार्ड … सबका बायां किनारा एक सीध में */
  .list { padding: 10px 12px 20px; }
  .search-row, .project-chips { padding-left: 12px; padding-right: 12px; }
}

/* 8. टोन … बाईं पट्टी और गहरे बटन लगभग काले की जगह ऐप की अपनी नेवी में */
@media (max-width: 760px) {
  .side { background: linear-gradient(180deg, rgba(27, 37, 80, .96) 0%, rgba(40, 54, 122, .96) 100%); }
}
.btn.okay, .act-btn.ok, .x-btn.yes { background: var(--navy-2); }
.set-row .set-title { font-weight: 500; }
body[data-sky="day"] .when, body[data-sky="morning"] .when, body[data-sky="day"] .rep, body[data-sky="morning"] .rep { text-shadow: 0 1px 2px rgba(8, 20, 60, .5), 0 0 8px rgba(8, 20, 60, .35); }

/* ===== जुडी सेवाएं (कनेक्टर) … पन्ना समझ में आए ===== */
/* सूची में ID वाली छोटी लाइन एक ही लाइन में, जगह कम हो तो आखिर में … */
.cx-tx small.one { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ADGAI के अपने हिस्से … ये खुलते नहीं, इसलिए हल्के */
.cx-row.own { padding: 8px 0; }
.cx-row.own .cx-ic { width: 28px; height: 28px; border-radius: 9px; font-size: 12px; margin: 0 3px; opacity: .85; }
.cx-row.own .cx-tx b { font-size: 15px; font-weight: 500; }
/* खुलने वाली कतार का तीर साफ दिखे */
.cx-row.go .cx-go { color: var(--navy-2); font-size: 22px; }
/* कनेक्टर के अंदर … डिब्बों की जगह पतली लकीर, और चुनने का वही रूप जो "सुरक्षा" पन्ने में है */
.cx-tool { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 12px 0; margin: 0; gap: 8px; }
.cx-sec + .cx-tool { border-top: 0; padding-top: 4px; }
.cx-tool p { font-size: 16px; font-weight: 400; }
.cx-seg { background: #edf0f7; padding: 4px; border-radius: 999px; gap: 0; }
.cx-seg button { background: none; min-height: 36px; font-size: 14px; }
.cx-seg button.on.always { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(10, 14, 40, .10); }
.cx-seg button.on.ask { background: #fff; color: #8a5a00; box-shadow: 0 1px 3px rgba(10, 14, 40, .10); }
.cx-seg button.on.never { background: var(--navy); color: #fff; }
/* नीचे … "कनेक्टर हटाएँ" बाईं ओर और लाल, "हो गया" से अलग; पक्का करने वाला "हाँ, हटाएँ" लाल भरा हुआ (पहले बंद बटन जैसा स्लेटी दिखता था) */
.cx-btns [data-cdelask] { margin-right: auto; color: var(--no); }
.cx-btns .btn.no { background: var(--no); color: #fff; border-color: transparent; }
/* Gmail के अंदर … जुडी ID पतली लकीर वाली कतारों में, हटाने का सवाल ID के नीचे की लाइन में (ID बीच से न टूटे) */
.cx-ids .item { flex-wrap: wrap; row-gap: 6px; }
.cx-ids .item:first-child { border-top: 0; padding-top: 4px; }
.cx-ids .item-text { flex: 0 1 auto; min-width: 0; overflow-wrap: break-word; }
.cx-ids .item-btns { margin-left: auto; }
.cx-ids .item.asking .item-text, .cx-ids .item.asking .item-btns { flex: 1 0 100%; }
.cx-ids .item.asking .ask { margin-right: auto; font-size: 14px; }
.cx-ids .item .x-btn.yes { background: var(--no); }
.cx-none { margin: 4px 0 8px; color: var(--muted); font-size: 15px; }
.cx-add:disabled { opacity: .6; }

/* ---------- काम के बटन (17-11) … ADGAI तरीका नहीं बताता, बटन देता है। जवाब के नीचे और कॉल वाली स्क्रीन पर ---------- */
.ax { margin: 8px 0 4px; padding: 12px 14px; max-width: 420px; border-radius: 14px; background: #f3f5fd; border: 1px solid #e2e6f5; }
.bubble .ax p { margin: 0; }
.ax .ax-h { font-size: 13px; font-weight: 500; color: var(--muted); }
.bubble .ax .ax-v, .ax .ax-v { margin-top: 1px; font-size: 21px; font-weight: 700; color: var(--navy); line-height: 1.3; overflow-wrap: anywhere; }
.bubble .ax .ax-t, .ax .ax-t { margin-top: 2px; font-size: 15.5px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
/* लिंक … ऊपर साइट का नाम बडा, पूरा लिंक नीचे छोटा */
.ax .ax-t.url { font-size: 13px; line-height: 1.4; color: var(--muted); }
/* बडा बटन पूरी चौडाई में, छोटे दो उसके नीचे अपनी लिखावट जितने (छोटे फोन पर जगह कम पडे तो अगली लाइन में, लिखावट बटन से बाहर नहीं) */
.ax-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ax-btn { flex: 1 1 auto; height: 40px; min-width: 0; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.ax-btn.main { flex: 1 0 100%; height: 46px; font-size: 16.5px; font-weight: 600; background: var(--navy-2); color: #fff; border-color: transparent; box-shadow: 0 1px 3px rgba(27, 37, 80, .18); }
.ax-btn svg { width: 17px; height: 17px; flex: none; }
.ax-btn:active { transform: translateY(1px); }
/* हर जवाब के नीचे … सुनें, कॉपी, भेजें */
.bub-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bub-btn { margin-top: 8px; border: 1px solid var(--line); background: #f6f7fb; color: var(--navy); border-radius: 999px; padding: 3px 12px; font: inherit; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.bub-btn span { display: inline-flex; }
.bub-btn svg { width: 16px; height: 16px; }
/* कॉल वाली स्क्रीन पर वही बटन, कार्ड में */
.oc .oc-ax .ax-h { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.oc .oc-ax .ax-v { margin: 0; font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.oc .oc-ax .oc-go { flex: 1.8; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--navy-2); }
.oc .oc-ax .oc-go svg { width: 18px; height: 18px; }
.oc .oc-ax .oc-go span { display: inline-flex; }
