.rb-computer-screen {
  background: #000000;
  color: #F9FAFB;
  justify-content: space-between;
}

.rb-comp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: #000000;
  flex-shrink: 0;
}

.rb-comp-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.rb-comp-circle-btn {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid #2A2A2A;
  background: #1C1C1E;
  color: #F9FAFB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
}

.rb-comp-bot-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 112px;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
}

.rb-comp-zoom-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #2A2A2A;
  background: #1C1C1E;
  overflow: hidden;
  flex-shrink: 0;
}

.rb-comp-zoom-btn {
  width: 30px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #F9FAFB;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.rb-comp-zoom-btn:active {
  background: #2C2C2E;
}

.rb-comp-zoom-val {
  min-width: 44px;
  height: 36px;
  border: 0;
  border-left: 1px solid #2A2A2A;
  border-right: 1px solid #2A2A2A;
  background: transparent;
  color: #E5E7EB;
  font-size: 11.5px;
  font-weight: 650;
  font-family: var(--rb-mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 6px;
}

.rb-comp-viewport {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
  background: #000000;
}

.rb-comp-viewport.is-zoomed {
  align-items: flex-start;
  justify-content: flex-start;
}

.rb-comp-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 460px;
  flex-shrink: 0;
  overflow: hidden;
  background: #7B7F85;
}

.rb-desktop-os {
  position: absolute;
  left: 0;
  top: 0;
  width: 1024px;
  height: 768px;
  transform-origin: 0 0;
  background:
    radial-gradient(120% 90% at 15% 85%, #C8CCD0 0%, transparent 50%),
    linear-gradient(132deg, #6E7278 0%, #ABAeb3 34%, #52565B 47%, #9FA3A9 62%, #C9CDD2 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rb-os-window-layer {
  position: relative;
  flex: 1;
  width: 1024px;
  height: 740px;
  overflow: hidden;
}

.rb-os-win {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  color: #111827;
  border: 1px solid #8C9198;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.rb-desktop-os input,
.rb-desktop-os textarea {
  user-select: text;
  -webkit-user-select: text;
  pointer-events: auto;
}

.rb-os-win.is-browser {
  top: 22px;
  left: 36px;
  width: 952px;
  height: 696px;
  border-radius: 6px 6px 0 0;
  z-index: 10;
}

.rb-os-win.is-files {
  top: 44px;
  left: 72px;
  width: 780px;
  height: 560px;
  border-radius: 6px 6px 0 0;
  z-index: 20;
}

.rb-os-win.is-terminal {
  top: 86px;
  left: 156px;
  width: 780px;
  height: 540px;
  background: #000000;
  color: #E5E7EB;
  border-color: #6B7280;
  border-radius: 6px 6px 0 0;
  z-index: 30;
}

.rb-os-win.is-maximized {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
}

.rb-os-win.is-focused {
  z-index: 50;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.rb-xfce-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  padding: 0 10px;
  background: linear-gradient(180deg, #ECEEF1 0%, #D5D8DC 100%);
  border-bottom: 1px solid #A0A5AC;
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
  flex-shrink: 0;
}

.rb-xfce-menubar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 24px;
  padding: 0 10px;
  background: #F3F4F6;
  border-bottom: 1px solid #E5E7EB;
  font-size: 12.5px;
  color: #374151;
  flex-shrink: 0;
}

.rb-xfce-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 10px;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  font-size: 12.5px;
  color: #374151;
  flex-shrink: 0;
}

.rb-xfce-pathbar {
  flex: 1;
  height: 24px;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 3px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  font-size: 12.5px;
  color: #111827;
}

.rb-win-ctrl-btn {
  border: 0;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  line-height: 1;
  border-radius: 3px;
}

.rb-win-ctrl-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

.rb-chrome-tabbar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 6px 10px 0;
  background: #DEE1E6;
  flex-shrink: 0;
}

.rb-chrome-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px 8px 0 0;
  background: #EDF0F5;
  color: #3C4043;
  font-size: 12.5px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  min-width: 160px;
  max-width: 220px;
}

.rb-chrome-tab.is-active {
  background: #FFFFFF;
  color: #202124;
}

.rb-chrome-tab-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-chrome-tab-close {
  font-size: 12px;
  opacity: 0.65;
  padding: 0 4px;
}

.rb-chrome-tab-add {
  border: 0;
  background: transparent;
  color: #3C4043;
  font-size: 18px;
  cursor: pointer;
  padding: 0 8px;
}

.rb-chrome-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
}

.rb-chrome-nav-btn {
  border: 0;
  background: transparent;
  color: #5F6368;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 50%;
}

.rb-chrome-omnibox {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  background: #F1F3F4;
  border: 1.5px solid #1A73E8;
  border-radius: 999px;
  padding: 0 14px;
  margin: 0;
}

.rb-chrome-omnibox input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 13.5px;
  color: #202124;
}

.rb-chrome-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  background: #FFFFFF;
  color: #202124;
}

.rb-google-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 24px;
}

.rb-google-wordmark {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
  font-family: Arial, sans-serif;
}

.rb-google-searchbox {
  width: 100%;
  max-width: 520px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #DFE1E5;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.14);
  margin: 0 0 28px;
}

.rb-google-searchbox input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #202124;
}

.rb-ntp-shortcuts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.rb-ntp-shortcut {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px;
  width: 84px;
}

.rb-ntp-shortcut-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F1F3F4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #202124;
}

.rb-ntp-shortcut-label {
  font-size: 12px;
  color: #3C4043;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

.rb-site-btn {
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  background: #FFFFFF;
  color: #1F2937;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  cursor: pointer;
}

.rb-files-body {
  flex: 1;
  display: flex;
  overflow: hidden;
  background: #FFFFFF;
}

.rb-files-sidebar {
  width: 135px;
  background: #F9FAFB;
  border-right: 1px solid #E5E7EB;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: #374151;
  flex-shrink: 0;
}

.rb-files-place-btn {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12.5px;
  cursor: pointer;
  color: #1F2937;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rb-files-place-btn:hover {
  background: #E5E7EB;
}

.rb-files-grid {
  flex: 1;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-content: start;
  overflow-y: auto;
}

.rb-folder-item {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #111827;
  cursor: pointer;
  text-align: center;
}

.rb-folder-item:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.rb-thunar-statusbar {
  height: 24px;
  padding: 0 10px;
  background: #F3F4F6;
  border-top: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  font-size: 11.5px;
  color: #4B5563;
  flex-shrink: 0;
}

.rb-terminal-body {
  flex: 1;
  padding: 10px 12px;
  background: #000000;
  font-family: var(--rb-mono);
  font-size: 13.5px;
  line-height: 1.48;
  color: #E5E7EB;
  overflow-y: auto;
  white-space: pre-wrap;
}

.rb-term-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 10px;
  background: #000000;
  font-family: var(--rb-mono);
  font-size: 13.5px;
  color: #4ADE80;
  margin: 0;
}

.rb-term-input-row input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: #FFFFFF;
  font-family: var(--rb-mono);
  font-size: 13.5px;
}

.rb-os-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 60;
  transition: left 0.18s ease, top 0.18s ease;
}

.rb-os-taskbar {
  height: 32px;
  width: 1024px;
  background: #F3F4F6;
  border-top: 1px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 12px;
  color: #1F2937;
  flex-shrink: 0;
  z-index: 70;
}

.rb-taskbar-left {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.rb-taskbar-app-btn {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 3px;
  padding: 2px 6px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #1F2937;
  cursor: pointer;
  flex-shrink: 0;
}

.rb-taskbar-app-btn:hover {
  background: #E5E7EB;
}

.rb-xfce-task-tab {
  border: 1px solid #D1D5DB;
  background: #E5E7EB;
  border-radius: 3px;
  padding: 0 10px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #1F2937;
  cursor: pointer;
  max-width: 210px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-xfce-task-tab.is-focused {
  background: #FFFFFF;
  border-color: #9CA3AF;
  font-weight: 600;
}

.rb-comp-bottombar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 24px;
  background: #000000;
  flex-shrink: 0;
}

.rb-take-control-btn {
  white-space: nowrap;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid #2E2E2E;
  background: #FFFFFF;
  color: #0F141C;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.rb-take-control-btn.is-active {
  background: #171717;
  color: #F9FAFB;
}

.rb-comp-kbd-bar:not([hidden]) {
  padding: 8px 16px;
  background: #111113;
  border-top: 1px solid #27272A;
  flex-shrink: 0;
}

.rb-comp-kbd-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rb-comp-kbd-form input {
  flex: 1;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #3F3F46;
  background: #18181B;
  color: #F9FAFB;
  font-size: 13.5px;
  outline: none;
}

.rb-comp-kbd-send {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: #3B82F6;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.rb-search-hit:hover {
  background: #F8FAFC;
}
