:root {
  --white: #ffffff;
  --bg: #fff7fd;
  --cyan: #7eeeff;
  --cyan2: #37d5ed;
  --pink: #ff9bd4;
  --pink2: #ff5eb8;
  --purple: #cab9ff;
  --text: #25304a;
  --muted: #7b86a3;
  --line: rgba(90, 190, 220, .28);
  --panel: rgba(255,255,255,.72);
  --shadow: 0 24px 70px rgba(92, 160, 210, .20);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", "Noto Sans JP", system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 8%, rgba(126,238,255,.55), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(255,155,212,.42), transparent 30%),
    linear-gradient(135deg, #fffaff, #effcff 52%, #fff4fb);
  overflow-x: hidden;
}

.bg-deco span,
.bg-deco i {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  opacity: .42;
}

.bg-deco span {
  color: var(--cyan2);
  font-size: 38px;
  animation: floatNote 9s ease-in-out infinite;
}

.bg-deco span:nth-child(1) { left: 12%; top: 18%; }
.bg-deco span:nth-child(2) { right: 14%; top: 26%; animation-delay: 1.6s; }
.bg-deco span:nth-child(3) { left: 58%; bottom: 12%; animation-delay: 3s; }

.bg-deco i {
  width: 90px;
  height: 90px;
  border: 1px solid rgba(126,238,255,.42);
  border-radius: 50%;
  animation: bubble 12s ease-in-out infinite;
}

.bg-deco i:nth-of-type(1) { left: 8%; bottom: 8%; }
.bg-deco i:nth-of-type(2) { right: 8%; bottom: 22%; animation-delay: 2s; }
.bg-deco i:nth-of-type(3) { left: 72%; top: 8%; animation-delay: 4s; }
.bg-deco i:nth-of-type(4) { left: 38%; top: 76%; animation-delay: 6s; }

@keyframes floatNote {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}

@keyframes bubble {
  0%, 100% { transform: translateY(0) scale(1); opacity: .22; }
  50% { transform: translateY(-36px) scale(1.08); opacity: .48; }
}

.app-shell {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 60px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
}

.sidebar {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.58));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(126,238,255,.34);
}

.brand-logo {
  width: 180px;
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(126,238,255,.28));
}

.brand h1 {
  margin: 8px 0 4px;
  font-size: 24px;
  letter-spacing: .08em;
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

nav {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

button,
.button {
  border: 1px solid rgba(126,238,255,.38);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text);
  background: rgba(255,255,255,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
}

button:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,155,212,.7);
  box-shadow: 0 12px 28px rgba(255,155,212,.18);
}

button.active,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink2), var(--cyan2));
  border-color: transparent;
}

.button.disabled {
  opacity: .45;
  pointer-events: none;
}

.sidebar-foot {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.main { min-width: 0; }

.topbar,
.hero,
.plugin-card,
.stats > div,
.empty,
.obs-row {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 5;
  margin-bottom: 22px;
  padding: 18px 22px;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--cyan2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
}

#pageTitle {
  margin: 0;
  font-size: 34px;
}

.user-box {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  font-weight: 900;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  margin-bottom: 22px;
  padding: 34px;
  border-radius: 38px;
}

.hero::before {
  content: "♪ ♫ ♬";
  position: absolute;
  right: 32px;
  top: 26px;
  color: rgba(126,238,255,.55);
  font-size: 44px;
  letter-spacing: 14px;
  transform: rotate(-8deg);
}

.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 2px solid rgba(255,155,212,.28);
}

.hero h2 {
  max-width: 720px;
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

.page { display: none; }
.page.active { display: block; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.stats > div {
  border-radius: 26px;
  padding: 22px;
}

.stats strong {
  display: block;
  font-size: 34px;
}

.stats span {
  color: var(--muted);
  font-weight: 900;
}

.section-title {
  margin: 22px 0 14px;
  font-size: 24px;
}

.section-title::before {
  content: "✦ ";
  color: var(--pink2);
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plugin-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 22px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
}

.plugin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.62), transparent);
  transform: translateX(-110%);
  transition: .6s;
}

.plugin-card:hover::before {
  transform: translateX(110%);
}

.preview {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  font-size: 36px;
  background: linear-gradient(135deg, rgba(126,238,255,.34), rgba(255,155,212,.24));
}

.plugin-meta,
.card-actions {
  position: relative;
  z-index: 1;
}

.plugin-meta h3 {
  margin: 8px 0;
  font-size: 24px;
}

.plugin-meta p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink2), var(--cyan2));
  font-size: 12px;
  font-weight: 950;
}

.pill.muted {
  color: var(--muted);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
}

.card-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.obs-row {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 20px;
}

.obs-row code {
  overflow: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.7);
}

.empty {
  padding: 26px;
  border-radius: 24px;
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .sidebar-foot {
    position: static;
    margin-top: 20px;
  }

  .plugin-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .obs-row {
    grid-template-columns: 1fr;
  }
}


.home-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.overview-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.overview-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 24px;
  font-size: 32px;
  background: linear-gradient(135deg, rgba(126,238,255,.34), rgba(255,155,212,.24));
}

.overview-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.overview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 800;
}

.notice-list {
  display: grid;
  gap: 12px;
}

.notice-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 14px 34px rgba(92,160,210,.12);
}

.notice-item span {
  display: inline-flex;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink2), var(--cyan2));
  font-size: 12px;
  font-weight: 950;
}

.notice-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 980px) {
  .home-overview {
    grid-template-columns: 1fr;
  }

  .notice-item {
    grid-template-columns: 1fr;
  }
}

.request-layout {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 22px;
  align-items: start;
}

.request-form,
.dm-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
}

.request-form .section-title,
.request-form .full,
.request-form button,
.request-message {
  grid-column: 1 / -1;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(126,238,255,.38);
  border-radius: 18px;
  padding: 13px 15px;
  color: var(--text);
  background: rgba(255,255,255,.78);
  outline: none;
  font: inherit;
  font-weight: 800;
}

.request-form textarea {
  resize: vertical;
  min-height: 160px;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: rgba(255,155,212,.75);
  box-shadow: 0 0 0 4px rgba(255,155,212,.12);
}

.request-message {
  margin: 0;
  min-height: 24px;
  font-weight: 900;
}

.request-message.info {
  color: var(--cyan2);
}

.request-message.success {
  color: #18b98f;
}

.request-message.error {
  color: #ff4f8f;
}

.dm-card {
  position: sticky;
  top: 120px;
  padding: 28px;
  overflow: hidden;
}

.dm-card::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 2px solid rgba(255,155,212,.28);
}

.dm-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
  border-radius: 28px;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink2), var(--cyan2));
  box-shadow: 0 16px 38px rgba(255,155,212,.28);
}

.dm-card h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

.dm-card p {
  color: var(--muted);
  line-height: 1.8;
  font-weight: 800;
}

.dm-id {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .request-layout {
    grid-template-columns: 1fr;
  }

  .request-form {
    grid-template-columns: 1fr;
  }

  .dm-card {
    position: static;
  }
}

.compact-request-layout {
  grid-template-columns: 1.5fr 0.65fr;
}

.request-accordion {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.request-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border: 0;
  border-radius: 0;
  background: rgba(255,255,255,.65);
  color: var(--text);
  box-shadow: none;
}

.request-toggle span {
  font-size: 22px;
  font-weight: 950;
}

.request-toggle small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.request-toggle::after {
  content: "＋";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink2), var(--cyan2));
  flex: 0 0 auto;
}

.request-toggle.open::after {
  content: "－";
}

.request-form.collapsed {
  display: none;
}

.request-accordion .request-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 20px 24px 24px;
}

.compact-dm-card {
  padding: 22px;
}

.compact-dm-card .dm-icon {
  width: 58px;
  height: 58px;
  border-radius: 22px;
  font-size: 28px;
  margin-bottom: 14px;
}

.compact-dm-card h2 {
  font-size: 21px;
  margin-bottom: 8px;
}

.compact-dm-card p {
  font-size: 13px;
  line-height: 1.7;
}

.compact-dm-card .button {
  padding: 10px 14px;
  font-size: 13px;
}

.compact-dm-card .dm-id {
  padding: 10px 12px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .compact-request-layout {
    grid-template-columns: 1fr;
  }
}

.setup-steps {
  position: relative;
  overflow: hidden;
  margin: 28px 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(242,252,255,.62)),
    radial-gradient(circle at 20% 10%, rgba(126,238,255,.22), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(255,155,212,.22), transparent 34%);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.setup-steps::before {
  content: "♪ ♫";
  position: absolute;
  right: 34px;
  top: 28px;
  color: rgba(126,238,255,.55);
  font-size: 42px;
  letter-spacing: 10px;
  transform: rotate(-8deg);
  pointer-events: none;
}

.setup-steps::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255,155,212,.24);
  border-radius: 50%;
  pointer-events: none;
}

.setup-head {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px;
}

.setup-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink2), var(--cyan2));
  box-shadow: 0 12px 28px rgba(255,155,212,.22);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
}

.setup-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
}

.setup-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

.step-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  position: relative;
  min-height: 230px;
  padding: 26px 22px;
  border: 1px solid rgba(126,238,255,.32);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 46px rgba(92,160,210,.14);
  text-align: center;
}

.step-card:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(126,238,255,.9);
  font-size: 38px;
  font-weight: 900;
}

.step-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--pink2), var(--cyan2));
  box-shadow: 0 14px 30px rgba(126,238,255,.26);
}

.step-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.step-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 800;
}

.step-tag {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(126,238,255,.32);
  font-size: 12px;
  font-weight: 950;
}

.setup-note {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  max-width: 720px;
  margin: 24px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(126,238,255,.3);
  border-radius: 18px;
  background: rgba(255,255,255,.62);
}

.setup-note span {
  display: inline-flex;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink2), var(--cyan2));
  font-size: 12px;
  font-weight: 950;
}

.setup-note p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 980px) {
  .step-grid {
    grid-template-columns: 1fr;
  }

  .step-card:not(:last-child)::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -28px;
    transform: translateX(50%);
  }

  .setup-note {
    grid-template-columns: 1fr;
  }
}

.plugin-header{
display:flex;
justify-content:space-between;
align-items:flex-end;
gap:20px;
margin-bottom:28px;
}

.plugin-search{
width:320px;
}

.plugin-search input{
width:100%;
padding:14px 18px;
border-radius:16px;
border:1px solid rgba(120,220,255,.25);
background:rgba(255,255,255,.75);
font-size:15px;
}

.plugin-list{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:14px;
}

.plugin-row{
display:grid;
grid-template-rows:auto auto auto;
gap:14px;
align-content:start;
padding:17px;
border-radius:22px;
background:rgba(255,255,255,.72);
border:1px solid rgba(120,220,255,.22);
backdrop-filter:blur(16px);
box-shadow:0 10px 28px rgba(37,56,92,.08);
transition:.25s;
}

.plugin-row:hover{
transform:translateY(-2px);
box-shadow:0 14px 32px rgba(37,56,92,.12);
}

.plugin-card-head{
display:flex;
align-items:flex-start;
gap:12px;
min-width:0;
}

.plugin-icon{
flex:0 0 auto;
width:48px;
height:48px;
display:flex;
justify-content:center;
align-items:center;
font-size:25px;
border-radius:15px;
background:linear-gradient(135deg,#9fefff,#ffd7ef);
}

.plugin-title-line{
display:flex;
align-items:center;
gap:8px;
flex-wrap:wrap;
}

.plugin-name{
font-size:18px;
font-weight:900;
}

.plugin-description{
color:var(--muted);
margin-top:5px;
font-size:13px;
font-weight:750;
line-height:1.55;
}

.plugin-version{
padding:3px 7px;
border-radius:999px;
color:var(--muted);
background:rgba(239,252,255,.9);
font-size:10px;
font-weight:900;
}

.plugin-card-footer{
display:flex;
justify-content:space-between;
align-items:center;
gap:10px;
padding-top:11px;
border-top:1px solid var(--line);
}

.plugin-technical summary{
color:var(--muted);
font-size:11px;
font-weight:900;
cursor:pointer;
}

.plugin-technical small{
display:block;
margin-top:7px;
max-width:260px;
overflow-wrap:anywhere;
color:var(--muted);
font-size:10px;
line-height:1.5;
}

.plugin-actions{
display:flex;
justify-content:flex-end;
gap:8px;
flex-wrap:wrap;
}

.plugin-actions button{
padding:10px 14px;
font-size:12px;
}

@media(max-width:980px){
.plugin-header{
flex-direction:column;
align-items:stretch;
}

.plugin-search{
width:100%;
}

.plugin-row{
padding:16px;
}

.plugin-list{
grid-template-columns:1fr;
}}

.home-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.customer-list {
  display: grid;
  gap: 14px;
}

.customer-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(92,160,210,.12);
}

.customer-item h3 {
  margin: 8px 0;
  font-size: 19px;
}

.customer-item p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 800;
  white-space: pre-wrap;
}

.customer-item small {
  color: var(--muted);
  font-weight: 800;
}

.updates-list-tools { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.home-feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin: 22px 0 14px; }
.home-feed-heading .section-title { margin: 0; }
.home-feed-heading .updates-list-tools { margin: 0; flex-shrink: 0; }
.updates-list-tools button, .update-item-footer button { padding: 7px 13px; font-size: 12px; }
.update-item-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.update-item-footer button { margin-left: auto; white-space: nowrap; }

.mini-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink2), var(--cyan2));
  font-size: 11px;
  font-weight: 950;
}

@media (max-width: 980px) {
  .home-feed {
    grid-template-columns: 1fr;
  }
}

.backup-panel {
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.backup-panel h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.backup-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 800;
}

.runner-panel-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.pairing-mini-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pairing-mini-guide li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 11px;
  border: 1px solid rgba(126,238,255,.3);
  border-radius: 16px;
  background: rgba(255,255,255,.58);
}

.pairing-mini-guide li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink2), var(--cyan2));
  font-size: 12px;
  font-weight: 950;
}

.pairing-mini-guide strong,
.pairing-mini-guide small {
  display: block;
}

.pairing-mini-guide strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
}

.pairing-mini-guide small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.backup-panel .pairing-environment-note {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.pairing-environment-note span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 10px;
  font-weight: 950;
}

.pairing-environment-note strong {
  color: var(--ink);
}

.backup-create {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 18px;
}

.backup-create input {
  width: 100%;
  border: 1px solid rgba(126,238,255,.38);
  border-radius: 18px;
  padding: 13px 15px;
  color: var(--text);
  background: rgba(255,255,255,.78);
  outline: none;
  font: inherit;
  font-weight: 800;
}

.backup-list {
  display: grid;
  gap: 14px;
}

.backup-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
}

.backup-item h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.backup-item p,
.backup-item small {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 700px) {
  .backup-create,
  .backup-item {
    grid-template-columns: 1fr;
  }
}

.pairing-result {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(239,252,255,.82);
  overflow-wrap: anywhere;
}

.pairing-result[hidden] {
  display: none !important;
}

.pairing-result-title {
  color: var(--ink);
  font-size: 13px;
}

.pairing-result-description {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}

.pairing-result code {
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  user-select: all;
}

.pairing-result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pairing-result-actions > * {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 9px 10px;
  font-size: 11px;
}

@media (max-width: 520px) {
  .plugin-card-footer { align-items: stretch; flex-direction: column; }
  .plugin-actions { justify-content: stretch; }
  .plugin-actions > * { width: 100%; }
  .pairing-result-actions { grid-template-columns: 1fr; }
}

.dashboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(239,252,255,.78));
  box-shadow: var(--shadow);
}

.dashboard h2 { margin: 0 0 10px; font-size: clamp(25px, 4vw, 38px); }
.dashboard p:not(.eyebrow) { margin: 0; color: var(--muted); font-weight: 750; line-height: 1.7; }
.dashboard-date { color: var(--pink2); font-size: 18px; font-weight: 950; white-space: nowrap; }
.page-lead { margin-top: 0; color: var(--muted); font-weight: 750; }

.session-error {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid rgba(255,79,143,.45);
  border-radius: 20px;
  color: #a72a5b;
  background: rgba(255,255,255,.82);
  font-weight: 800;
}

.runner-download {
  display: grid;
  justify-items: start;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.runner-panel details, .pairing-result details { width:100%; font-size:13px; line-height:1.65; }
.runner-panel summary, .pairing-result summary { cursor:pointer; color:var(--muted); font-weight:800; }
.runner-panel details[open] > summary, .pairing-result details[open] > summary { margin-bottom:8px; }
.runner-download details small, .runner-download details .runner-trust-note { display:block; margin-top:8px; }

.runner-download-help { max-width: 520px; font-weight: 500; }
.runner-download-help ol { margin: 10px 0; padding-left: 22px; }
.runner-download-help li + li { margin-top: 14px; }
.runner-download-help strong { color: var(--text); }
.runner-download-help p { margin: 4px 0 8px; }
.runner-download-help kbd { padding: 1px 5px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: inherit; font-weight: 700; }
.runner-download-menu { margin: 10px 0; }
/* Keep the original screenshot text intact; show only its first three menu items. */
.runner-download-menu-crop { position: relative; width: 292px; max-width: 100%; aspect-ratio: 292 / 124; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.runner-download-menu-crop img { position: absolute; top: 0; left: -5.479452%; display: block; width: 109.589041%; max-width: none; height: auto; }
.runner-download-menu figcaption { max-width: 360px; margin-top: 6px; font-size: 11px; line-height: 1.6; }

.runner-download small,
.plugin-hash {
  max-width: 420px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
}

.runner-trust-note {
  max-width: 460px;
  padding: 8px 10px;
  border: 1px solid rgba(255,177,68,.3);
  border-radius: 12px;
  color: #765318;
  background: rgba(255,244,219,.74);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.5;
}

.plugin-actions .button { display: inline-flex; justify-content: center; align-items: center; }

.trial-notice { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 24px; margin:0 0 24px; border:1px solid #a6d6ca; border-radius:16px; background:#f1faf6; color:#244b43; }
.trial-notice[hidden], .trial-notice [hidden] { display:none !important; }
.trial-notice > div { min-width:0; }
.trial-notice h3 { margin:2px 0 8px; font-size:19px; }
.trial-notice p { margin:6px 0 0; font-size:13px; line-height:1.75; overflow-wrap:anywhere; }
.trial-notice .trial-label { margin:0; color:#247463; font-size:12px; font-weight:700; }
.trial-notice .trial-deadline { font-weight:700; }
.trial-notice .trial-requirements { color:#526c64; font-size:12px; }
.trial-actions { display:flex; flex-direction:column; align-items:stretch; gap:9px; flex:0 0 188px; text-align:center; }
.trial-actions > a:last-child { color:#34685b; font-size:12px; }
.trial-actions > button, .trial-actions > .button { width:100%; margin:0; white-space:normal; }
.customer-portal[data-trial-state="ended"] .trial-notice { background:#f6f7f8; border-color:#d5dce0; }
.customer-portal[data-trial-state="ended"] #runnerPanel,
.customer-portal[data-trial-state="ended"] #desktopReleaseNotice,
.customer-portal[data-trial-state="ended"] #homeSetupSteps,
.customer-portal[data-trial-state="ended"] .plugin-install-cta,
.customer-portal[data-trial-state="ended"] .updates-plugin-link { display:none; }
@media(max-width:640px) {
  .trial-notice { align-items:stretch; flex-direction:column; gap:16px; padding:18px; }
  .trial-actions { flex-basis:auto; }
}
.account-details { display: grid; gap: 12px; }
.account-detail { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.account-detail:last-child { border-bottom: 0; }
.account-detail span { color: var(--muted); font-weight: 850; }
.account-detail strong { overflow-wrap: anywhere; }

input[type="search"] { font: inherit; }

@media (max-width: 700px) {
  .dashboard { align-items: flex-start; flex-direction: column; padding: 24px; }
  .runner-panel-head,
  .pairing-mini-guide { grid-template-columns: 1fr; }
  .runner-download { justify-items: start; }
  .account-detail { grid-template-columns: 1fr; gap: 4px; }
}

.account-panel {
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.account-panel h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}

.account-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.account-grid input {
  width: 100%;
  border: 1px solid rgba(126,238,255,.38);
  border-radius: 18px;
  padding: 13px 15px;
  color: var(--text);
  background: rgba(255,255,255,.78);
  outline: none;
  font: inherit;
  font-weight: 800;
}

.connection-status {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.status-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-width: 96px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.status-badge.offline {
  background: linear-gradient(135deg, #a8b0c2, #7b86a3);
}

.status-badge.online {
  background: linear-gradient(135deg, #18b98f, var(--cyan2));
}

.connection-status small {
  color: var(--muted);
  font-weight: 800;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.account-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

  .connection-status {
    min-width: 0;
  }

  .account-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
