:root {
  color-scheme: light dark;
  --lpr-c0: #fff;
  --lpr-c1: #151515;
  --lpr-c2: #202124;
  --lpr-c3: #050505;
  --lpr-c4: #606367;
  --lpr-c5: #cdcdcd;
  --lpr-c6: #0e4dca;
  --lpr-c7: #cecece;
  --lpr-c8: #e1e3e1;
  --lpr-c9: #ebf0f9;
  --lpr-c10: #eaeef5;
  --lpr-c11: #f8fafd;
  --lpr-c12: #edf0f6;
  --lpr-c13: #d2d3d5;
  --lpr-c14: #dddfdd;
  --lpr-c15: #ea4335;
  --lpr-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --lpr-shadow: -3px 4px 12px rgb(0 0 0 / 13%);
  --lpr-search-bg: #fff;
}

/* Ensure HTML hidden attribute always wins over author display rules */
[hidden] { display: none !important; }

@media (prefers-color-scheme: dark) {
  :root {
    --lpr-c0: rgb(60, 60, 60);
    --lpr-c1: #f1f3f4;
    --lpr-c2: #e8eaed;
    --lpr-c3: #f8fafd;
    --lpr-c4: #bdc1c6;
    --lpr-c5: #9aa0a6;
    --lpr-c7: #5f6368;
    --lpr-c8: #5f6368;
    --lpr-c9: #303134;
    --lpr-c10: #303134;
    --lpr-c11: #3c4043;
    --lpr-c12: #5f6368;
    --lpr-c13: #5f6368;
    --lpr-c14: #3c4043;
    --lpr-search-bg: #fff;
  }
}

* { box-sizing: border-box; }
html { height: 100%; overflow: hidden; }
body.lpr-n0 {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--lpr-c2);
  background: var(--lpr-c0);
  font-family: var(--lpr-font);
}
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
.lpr-n1 { display: flex; flex: 0 0 auto; justify-content: flex-end; min-height: 48px; padding: 12px 28px; }
.lpr-n2 { display: flex; align-items: center; gap: 25px; }
.lpr-n3 { color: var(--lpr-c1); font-size: 14px; letter-spacing: -.04em; text-decoration: none; }
.lpr-n3:hover { text-decoration: underline; }
.lpr-n4 { display: grid; width: 40px; height: 40px; padding: 8px; place-items: center; border: 0; border-radius: 50%; background: transparent; }
.lpr-n4:hover { background: color-mix(in srgb, var(--lpr-c2) 10%, transparent); }
.lpr-n4 img { width: 24px; height: 24px; }
.lpr-n5 {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  width: 100%;
  padding: clamp(26.4px, 8.8vh, 105.6px) 26.4px clamp(13.2px, 2.75vh, 35.2px);
  overflow: hidden;
}
.lpr-n6 {
  width: min(299px, 70vw);
  height: auto;
  max-height: min(160px, 18vh);
  margin-bottom: clamp(12px, 2.5vh, 28px);
  object-fit: contain;
  image-rendering: auto;
  flex: 0 0 auto;
}
.lpr-n7 { position: relative; width: min(736px, 100%); flex: 0 0 auto; }
.lpr-n8 { display: flex; align-items: center; min-height: 56px; padding: 0 18px; border: 1px solid var(--lpr-c7); border-radius: 100px; background: var(--lpr-search-bg); }
.lpr-n8:focus-within { box-shadow: 0 1px 6px rgb(32 33 36 / 28%); }
.lpr-n9, .lpr-n11 { display: grid; flex: 0 0 32px; width: 32px; height: 32px; padding: 0; place-items: center; border: 0; background: transparent; }
.lpr-n11 img { width: 11px; height: 15px; filter: brightness(0); }
.lpr-n10 { min-width: 0; flex: 1; padding: 0 12px; border: 0; outline: 0; color: var(--lpr-c2); background: transparent; font-size: 15px; letter-spacing: -.02em; }
.lpr-n10::placeholder { color: var(--lpr-c5); }
.lpr-n12 { position: absolute; z-index: 5; top: 55px; right: 0; left: 0; overflow: auto; max-height: min(384px, 45vh); border: 1px solid var(--lpr-c7); border-radius: 0 0 27px 27px; background: var(--lpr-search-bg); box-shadow: var(--lpr-shadow); }
@media (prefers-color-scheme: dark) {
  .lpr-n8, .lpr-n12 {
    border-color: #cecece;
    color: #202124;
  }
  .lpr-n10 { color: #202124; }
  .lpr-n10::placeholder { color: #cdcdcd; }
}
.lpr-n13 {
  display: flex;
  width: min(737px, 100%);
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: clamp(8px, 1.5vh, 20px) 20px;
  margin-top: clamp(16px, 3vh, 40px);
  min-height: 0;
}
.lpr-n14 { position: relative; display: flex; width: 100px; min-height: 100px; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px; border: 0; border-radius: 0; color: var(--lpr-c3); background: transparent; text-decoration: none; }
.lpr-n14:hover { background: color-mix(in srgb, var(--lpr-c9) 42%, transparent); }
.lpr-n15 { display: grid; width: 48px; height: 48px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--lpr-c9); }
.lpr-n15 img { display: block; width: 32px; height: 32px; object-fit: contain; border-radius: 10px; }
/* Show more / Show less icons fill the 48×48 well; shortcut icons stay 32×32 */
#lpr-shortcuts-more .lpr-n15 img,
#lpr-shortcuts-less .lpr-n15 img { width: 48px; height: 48px; }
.lpr-n16 { width: 100%; overflow: hidden; font-size: 12px; line-height: 12px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.lpr-n17 { font: inherit; }
.lpr-n18 {
  position: fixed;
  z-index: 20;
  top: 68px;
  right: 20px;
  width: min(342px, calc(100vw - 40px));
  max-height: min(480px, calc(100vh - 88px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--lpr-c13);
  border-radius: 14px;
  background: var(--lpr-c10);
  box-shadow: var(--lpr-shadow);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--lpr-c4) 45%, transparent) transparent;
}
.lpr-n18::-webkit-scrollbar { width: 6px; }
.lpr-n18::-webkit-scrollbar-track { margin: 14px 2px; background: transparent; }
.lpr-n18::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background: color-mix(in srgb, var(--lpr-c4) 40%, transparent);
}
.lpr-n18::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--lpr-c4) 65%, transparent);
}
.lpr-n19 { padding: 24px 16px 32px; border-radius: 14px; background: var(--lpr-c11); }
.lpr-n24 { margin-top: 4px; background: transparent; }
.lpr-n20 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; }
.lpr-n21 { margin: 0; font-size: 14px; font-weight: 500; }
.lpr-n22 { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--lpr-c6); background: transparent; }
.lpr-n22 img { display: block; width: 18px; height: 18px; object-fit: contain; }
@media (prefers-color-scheme: dark) {
  .lpr-n22 { background: #5f6368; }
  .lpr-n22:hover { background: #7a7e82; }
}
.lpr-n23 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
/* Voice overlay — Figma voiceOverlay: full opaque surface, no dim card shell */
.lpr-n25 { position: fixed; z-index: 40; inset: 0; place-items: center; background: var(--lpr-c0); }
.lpr-n25:not([hidden]) { display: grid; }
.lpr-n25[hidden] { display: none !important; }
.lpr-n26 {
  position: absolute;
  top: clamp(20px, 4vh, 84px);
  right: clamp(16px, 4vw, 48px);
  display: grid;
  width: 40px;
  height: 40px;
  padding: 8px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.lpr-n26:hover { background: color-mix(in srgb, var(--lpr-c2) 8%, transparent); }
.lpr-n26 img { width: 24px; height: 24px; display: block; }
.lpr-n27 {
  position: relative;
  display: flex;
  width: min(859px, calc(100vw - 48px));
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 48px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.lpr-n28 {
  margin: 0;
  color: var(--lpr-c4);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.lpr-n29 {
  display: grid;
  width: 170px;
  height: 170px;
  flex: 0 0 170px;
  place-items: center;
  border: 1px solid #d2d2d2;
  border-radius: 50%;
  background: transparent;
}
.lpr-n29 img { width: 52px; height: 70px; display: block; }
.lpr-n30 {
  position: absolute;
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%);
  border: 0;
  color: var(--lpr-c6);
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.lpr-n31 { width: min(523px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 8px; color: var(--lpr-c2); background: var(--lpr-c0); box-shadow: 3px 4px 8.6px rgb(0 0 0 / 25%); }
.lpr-n31::backdrop { background: rgb(0 0 0 / 35%); }
.lpr-n32 { display: grid; gap: 8px; padding: 16px 24px; }
.lpr-n33 { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.lpr-n34 { font-size: 12px; }
.lpr-n35 { height: 38px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--lpr-c13); border-radius: 10px 10px 0 0; background: var(--lpr-c14); font-size: 12px; outline-color: var(--lpr-c6); }
.lpr-n36 { min-height: 16px; margin: 0; color: var(--lpr-c15); font-size: 12px; }
.lpr-n37 { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; }
.lpr-n38, .lpr-n39 { min-width: 74px; padding: 8px 16px; border-radius: 100px; font-size: 12px; font-weight: 500; }
.lpr-n38 { border: 1px solid var(--lpr-c6); color: var(--lpr-c6); background: transparent; }
.lpr-n39 { border: 1px solid var(--lpr-c6); color: #fff; background: var(--lpr-c6); }
.lpr-n40 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.lpr-n8.lpr-js-attached { border-radius: 27px 27px 0 0; border-bottom-color: transparent; }
.lpr-js-suggestion { display: flex; min-height: 46px; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; }
.lpr-js-suggestion:hover, .lpr-js-suggestion[aria-selected="true"] { background: #edf0f6; }
.lpr-js-suggestion-icon { width: 18px; color: #606367; text-align: center; font-size: 20px; }
.lpr-js-suggestion-text { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lpr-js-history-remove { width: 28px; height: 28px; border: 0; border-radius: 50%; opacity: .55; background: transparent; font-size: 0; }
.lpr-js-history-remove::before { content: "×"; font-size: 20px; }
.lpr-js-suggestion:hover .lpr-js-history-remove { opacity: 1; background: #ebf0f9; }
.lpr-js-shortcut-menu-button { position: absolute; top: 5px; right: 4px; border: 0; opacity: 0; color: inherit; background: transparent; font-size: 18px; }
.lpr-js-shortcut:hover .lpr-js-shortcut-menu-button, .lpr-js-shortcut:focus-within .lpr-js-shortcut-menu-button { opacity: 1; }
.lpr-js-shortcut-menu { position: absolute; z-index: 8; top: 28px; right: 4px; display: grid; min-width: 106px; padding: 4px; border-radius: 8px; background: var(--lpr-c0); box-shadow: var(--lpr-shadow); }
.lpr-js-shortcut-menu button { padding: 7px 10px; border: 0; color: inherit; background: transparent; text-align: left; }
.lpr-js-shortcut-menu button:hover { background: var(--lpr-c12); }
.lpr-js-avatar, .lpr-js-plus { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; font-size: 22px; font-weight: 600; }
.lpr-js-plus { color: var(--lpr-c2); font-size: 30px; font-weight: 400; }
.lpr-js-app { position: relative; display: grid; min-height: 68px; place-items: center; gap: 5px; color: var(--lpr-c2); font-size: 11px; text-align: center; text-decoration: none; }
.lpr-js-app img { width: 40px; height: 40px; object-fit: contain; }
.lpr-js-app:hover { background: color-mix(in srgb, var(--lpr-c6) 10%, transparent); border-radius: 12px; }
@media (prefers-color-scheme: dark) {
  .lpr-js-app:hover { background: color-mix(in srgb, #fff 14%, transparent); }
}
.lpr-js-apps-editing {
  max-height: 90vh;
  height: max-content;
  overflow-x: hidden;
  overflow-y: auto;
}
.lpr-js-apps-editing .lpr-js-app { animation: lpr-js-wiggle .84s ease-in-out infinite alternate; cursor: grab; }
.lpr-js-apps-editing .lpr-js-app:nth-child(3n+2) { animation-delay: .11s; }
.lpr-js-apps-editing .lpr-js-app:nth-child(3n) { animation-delay: .22s; }
.lpr-js-app.lpr-js-dragging { opacity: .45; animation: none; }
.lpr-js-insert-line { position: absolute; width: 3px; background: var(--lpr-c5); pointer-events: none; }
.lpr-n23 { position: relative; }
.lpr-js-voice-error { color: var(--lpr-c15); }
/* Listening: pulse only — keep Figma ring; light red tint as behavioral cue */
.lpr-js-listening .lpr-n29 {
  border-color: color-mix(in srgb, var(--lpr-c15) 55%, #d2d2d2);
  background: rgb(234 67 53 / 12%);
  animation: lpr-js-pulse 1.2s ease-in-out infinite;
}
.lpr-js-listening .lpr-n29 img { filter: none; }
@keyframes lpr-js-wiggle { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes lpr-js-pulse { 50% { transform: scale(1.08); } }

@media (max-width: 600px) {
  .lpr-n1 { padding: 8px 14px; }
  .lpr-n2 { gap: 14px; }
  .lpr-n5 { padding-inline: 16px; }
  .lpr-n6 { max-height: min(120px, 16vh); margin-bottom: 16px; }
  .lpr-n13 { gap: 8px 12px; margin-top: 20px; }
  .lpr-n14 { width: 88px; min-height: 88px; padding: 8px 10px; }
  .lpr-n27 { flex-direction: column; text-align: center; }
  .lpr-n29 { order: -1; }
}

@media (max-height: 720px) {
  .lpr-n1 { padding-block: 8px; min-height: 44px; }
  .lpr-n6 { max-height: min(110px, 14vh); margin-bottom: 12px; }
  .lpr-n13 { margin-top: 16px; gap: 8px 16px; }
  .lpr-n14 { width: 92px; min-height: 88px; padding: 8px 10px; gap: 8px; }
}
