/* FensterOS 11 – PC-Problem-Overlay für Tischsimulator V4.
   Alle Selektoren sind unter #pcd-root bzw. .pcd-* gekapselt. */

#pcd-root {
  --pcd-accent: #9BC31C;
  --pcd-accent-h: #aad62a;
  --pcd-accent-ink: #172306;
  --pcd-teal: #12a89c;
  --pcd-line: rgba(255, 255, 255, .08);
  --pcd-line-2: rgba(255, 255, 255, .14);
  --pcd-text: #f2f4f7;
  --pcd-dim: rgba(242, 244, 247, .62);
  --pcd-card: rgba(255, 255, 255, .045);
  --pcd-card-h: rgba(255, 255, 255, .085);
  --pcd-acrylic: rgba(38, 41, 49, .86);
  --pcd-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(28, 58, 66, .82), rgba(4, 6, 10, .94) 70%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 13px;
  line-height: 1.35;
  color: var(--pcd-text);
  text-align: left;
  letter-spacing: normal;
  -webkit-user-select: none;
  user-select: none;
  cursor: default;
  outline: none;
  animation: pcd-fadein .22s ease-out;
  -webkit-font-smoothing: antialiased;
}

#pcd-root *, #pcd-root *::before, #pcd-root *::after { box-sizing: border-box; }
#pcd-root h1, #pcd-root h2, #pcd-root h3, #pcd-root p, #pcd-root ul { margin: 0; padding: 0; }
#pcd-root button {
  font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0;
  cursor: pointer; text-align: inherit; line-height: inherit; text-transform: none;
  letter-spacing: inherit; box-shadow: none; border-radius: 0; outline: none;
}
#pcd-root button:focus-visible { outline: 2px solid var(--pcd-accent); outline-offset: 1px; }
#pcd-root input, #pcd-root textarea { font: inherit; color: inherit; margin: 0; -webkit-user-select: text; user-select: text; }
#pcd-root .pcd-svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* ---------------- header ---------------- */
#pcd-root .pcd-header {
  flex: 0 0 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 14px; padding: 0 20px; color: #e8edf2;
}
#pcd-root .pcd-h-title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pcd-root .pcd-h-title strong { color: var(--pcd-accent); }
#pcd-root .pcd-h-task {
  display: flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--pcd-line); font-size: 12.5px; color: var(--pcd-dim);
}
#pcd-root .pcd-h-task b { color: var(--pcd-text); font-weight: 600; }
#pcd-root .pcd-h-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffb020; box-shadow: 0 0 0 3px rgba(255, 176, 32, .2); animation: pcd-pulse 1.6s ease-in-out infinite; }
#pcd-root .pcd-h-right { display: flex; justify-content: flex-end; }
#pcd-root .pcd-backbtn {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 8px;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--pcd-line-2); font-weight: 600;
  transition: background .15s, transform .1s;
}
#pcd-root .pcd-backbtn:hover { background: rgba(255, 255, 255, .15); }
#pcd-root .pcd-backbtn:active { transform: scale(.97); }
#pcd-root .pcd-backic { width: 15px; height: 15px; }

/* ---------------- monitor ---------------- */
#pcd-root .pcd-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 2px 18px 18px; }
#pcd-root .pcd-monitor {
  position: relative; width: 100%; height: 100%; max-width: 1720px;
  padding: 14px 14px 30px; border-radius: 18px;
  background: linear-gradient(180deg, #26292f, #131519 55%, #0c0d10);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(255, 255, 255, .04);
  animation: pcd-zoomin .34s cubic-bezier(.2, .9, .3, 1.1);
}
#pcd-root .pcd-brand { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); font-size: 10px; letter-spacing: .3em; color: rgba(255, 255, 255, .26); font-weight: 700; }
#pcd-root .pcd-led { position: absolute; right: 28px; bottom: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--pcd-accent); box-shadow: 0 0 8px var(--pcd-accent); }
#pcd-root .pcd-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 5px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9); isolation: isolate;
}
#pcd-root .pcd-screen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 60;
  background: linear-gradient(125deg, rgba(255, 255, 255, .055), transparent 32%);
}
#pcd-root .pcd-wall { position: absolute; inset: 0; z-index: 0; transition: filter .6s; }
#pcd-root .pcd-wall svg { width: 100%; height: 100%; display: block; }

/* ---------------- desktop icons ---------------- */
#pcd-root .pcd-desk {
  position: absolute; left: 0; top: 0; right: 0; bottom: 250px; z-index: 1; padding: 8px;
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 96px);
  grid-auto-columns: 90px; gap: 2px 4px; align-content: start; justify-content: start;
}
#pcd-root .pcd-desk.pcd-refresh .pcd-dicon { animation: pcd-fadein .35s ease-out; }
#pcd-root .pcd-dicon {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px 4px;
  border-radius: 6px; border: 1px solid transparent; cursor: pointer; height: 94px; overflow: hidden;
  transition: background .12s;
}
#pcd-root .pcd-dicon:hover { background: rgba(255, 255, 255, .1); }
#pcd-root .pcd-dicon.pcd-sel { background: rgba(155, 195, 28, .24); border-color: rgba(155, 195, 28, .6); overflow: visible; z-index: 1; }
#pcd-root .pcd-dicon-img { width: 44px; height: 44px; flex: 0 0 44px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
#pcd-root .pcd-dicon-lbl {
  font-size: 11.5px; text-align: center; color: #fff; line-height: 1.2; max-width: 84px; word-break: break-word;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 6px rgba(0, 0, 0, .6);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#pcd-root .pcd-dicon.pcd-sel .pcd-dicon-lbl { -webkit-line-clamp: 4; }
#pcd-root .pcd-dicon.pcd-new { animation: pcd-newicon 1.6s ease-out; }

/* ---------------- windows ---------------- */
#pcd-root .pcd-layer { position: absolute; left: 0; top: 0; right: 0; bottom: 48px; z-index: 2; pointer-events: none; }
#pcd-root .pcd-layer > * { pointer-events: auto; }
#pcd-root .pcd-win {
  position: absolute; display: flex; flex-direction: column;
  background: rgba(32, 34, 41, .9);
  -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--pcd-line-2); border-radius: 9px; overflow: hidden;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .42), 0 1px 3px rgba(0, 0, 0, .35);
  transition: opacity .16s, transform .18s cubic-bezier(.2, .8, .3, 1), box-shadow .2s, visibility 0s;
  transform-origin: 50% 70%;
}
#pcd-root .pcd-win.pcd-active { box-shadow: 0 24px 64px rgba(0, 0, 0, .58), 0 2px 8px rgba(0, 0, 0, .4); border-color: rgba(255, 255, 255, .19); }
#pcd-root .pcd-win.pcd-win-enter { opacity: 0; transform: scale(.94) translateY(8px); }
#pcd-root .pcd-win.pcd-win-closing { opacity: 0; transform: scale(.95); }
#pcd-root .pcd-win.pcd-min { opacity: 0; transform: translateY(55%) scale(.55); pointer-events: none; visibility: hidden; transition: opacity .18s, transform .22s, visibility 0s .22s; }
#pcd-root .pcd-win.pcd-max { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; }
#pcd-root .pcd-win.pcd-dragging { transition: none; }
#pcd-root .pcd-titlebar { flex: 0 0 36px; display: flex; align-items: center; gap: 9px; padding-left: 12px; touch-action: none; min-width: 0; }
#pcd-root .pcd-wicon { width: 16px; height: 16px; flex: 0 0 16px; }
#pcd-root .pcd-wtitle { flex: 1; min-width: 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--pcd-dim); }
#pcd-root .pcd-win.pcd-active .pcd-wtitle { color: var(--pcd-text); }
#pcd-root .pcd-wctrls { display: flex; align-self: stretch; flex: 0 0 auto; }
#pcd-root .pcd-wbtn { width: 46px; height: 100%; display: grid; place-items: center; transition: background .12s; color: var(--pcd-text); }
#pcd-root .pcd-wbtn .pcd-svg { width: 10px; height: 10px; }
#pcd-root .pcd-wbtn:hover { background: rgba(255, 255, 255, .09); }
#pcd-root .pcd-wclose:hover { background: #c42b1c; color: #fff; }
#pcd-root .pcd-wbody { flex: 1; min-height: 0; position: relative; overflow: hidden; display: flex; flex-direction: column; }
#pcd-root .pcd-wbody.pcd-rowbody { flex-direction: row; }
#pcd-root .pcd-shake { animation: pcd-shake .45s cubic-bezier(.36, .07, .19, .97); }

/* ---------------- taskbar ---------------- */
#pcd-root .pcd-taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 28, 35, .8);
  -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
#pcd-root .pcd-tb-center, #pcd-root .pcd-tb-apps { display: flex; align-items: center; gap: 4px; }
#pcd-root .pcd-tb-btn { position: relative; width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; transition: background .12s; }
#pcd-root .pcd-tb-btn > .pcd-svg { width: 24px; height: 24px; transition: transform .12s; }
#pcd-root .pcd-tb-start > .pcd-svg { width: 27px; height: 27px; }
#pcd-root .pcd-tb-search > .pcd-svg { width: 19px; height: 19px; color: #e6eaee; }
#pcd-root .pcd-tb-btn:hover, #pcd-root .pcd-tb-btn.pcd-fly-on { background: rgba(255, 255, 255, .09); }
#pcd-root .pcd-tb-btn:active > .pcd-svg { transform: scale(.84); }
#pcd-root .pcd-tb-app::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, .55); transform: translateX(-50%); transition: width .2s, background .2s;
}
#pcd-root .pcd-tb-app.pcd-running::after { width: 6px; }
#pcd-root .pcd-tb-app.pcd-activeapp { background: rgba(255, 255, 255, .07); }
#pcd-root .pcd-tb-app.pcd-activeapp::after { width: 16px; background: var(--pcd-accent); }
#pcd-root .pcd-tray { position: absolute; right: 0; top: 0; bottom: 0; display: flex; align-items: center; gap: 2px; }
#pcd-root .pcd-tray-grp { display: flex; align-items: center; }
#pcd-root .pcd-tray-btn { height: 40px; min-width: 30px; padding: 0 6px; border-radius: 6px; display: grid; place-items: center; color: #eef1f4; transition: background .12s; }
#pcd-root .pcd-tray-btn .pcd-svg { width: 18px; height: 18px; }
#pcd-root .pcd-tray-chev .pcd-svg { width: 14px; height: 14px; }
#pcd-root .pcd-tray-btn:hover, #pcd-root .pcd-tray-btn.pcd-fly-on, #pcd-root .pcd-clock:hover, #pcd-root .pcd-clock.pcd-fly-on { background: rgba(255, 255, 255, .09); }
#pcd-root .pcd-clock { height: 40px; padding: 0 9px; border-radius: 6px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; font-size: 12px; line-height: 1.3; font-variant-numeric: tabular-nums; }
#pcd-root .pcd-peek { width: 9px; align-self: stretch; margin-left: 4px; border-left: 1px solid rgba(255, 255, 255, .14); cursor: pointer; }
#pcd-root .pcd-peek:hover { background: rgba(255, 255, 255, .08); }

/* ---------------- flyouts / acrylic panels ---------------- */
#pcd-root .pcd-flylayer { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
#pcd-root .pcd-flylayer > * { pointer-events: auto; }
#pcd-root .pcd-start, #pcd-root .pcd-qs, #pcd-root .pcd-menu, #pcd-root .pcd-toast {
  background: var(--pcd-acrylic);
  -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, .11); border-radius: 10px; box-shadow: var(--pcd-shadow);
}
#pcd-root .pcd-fly { animation: pcd-flyin .2s cubic-bezier(.2, .9, .3, 1); }
#pcd-root .pcd-fly-out { opacity: 0; transform: translateY(10px); transition: opacity .12s, transform .12s; pointer-events: none; }

/* start menu */
#pcd-root .pcd-start {
  position: absolute; left: 0; right: 0; margin: 0 auto; bottom: 58px;
  width: min(610px, calc(100% - 24px)); height: min(640px, calc(100% - 72px));
  display: flex; flex-direction: column;
}
#pcd-root .pcd-start-searchwrap { position: relative; margin: 24px 28px 8px; }
#pcd-root .pcd-start-search {
  width: 100%; height: 36px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 2px solid var(--pcd-accent); background: rgba(0, 0, 0, .28); padding: 0 16px 0 40px; outline: none;
}
#pcd-root .pcd-start-search::placeholder { color: var(--pcd-dim); }
#pcd-root .pcd-start-sic { position: absolute; left: 14px; top: 10px; width: 16px; height: 16px; color: var(--pcd-dim); }
#pcd-root .pcd-start-main { flex: 1; min-height: 0; overflow: auto; padding: 4px 28px 12px; }
#pcd-root .pcd-start-head { display: flex; justify-content: space-between; align-items: center; margin: 12px 8px 8px; font-weight: 600; }
#pcd-root .pcd-start-pill { font-size: 11.5px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); font-weight: 500; }
#pcd-root .pcd-start-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
#pcd-root .pcd-start-app { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 9px; border-radius: 6px; transition: background .12s; }
#pcd-root .pcd-start-app:hover, #pcd-root .pcd-start-recitem:hover, #pcd-root .pcd-start-res:hover { background: rgba(255, 255, 255, .08); }
#pcd-root .pcd-start-ic { width: 32px; height: 32px; flex: 0 0 32px; }
#pcd-root .pcd-start-ic.pcd-sm { width: 28px; height: 28px; flex-basis: 28px; }
#pcd-root .pcd-start-lbl { font-size: 11.5px; text-align: center; line-height: 1.2; max-width: 88px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#pcd-root .pcd-start-rec { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
#pcd-root .pcd-start-recitem, #pcd-root .pcd-start-res { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 6px; min-width: 0; width: 100%; transition: background .12s; }
#pcd-root .pcd-start-rectx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
#pcd-root .pcd-start-rectx b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pcd-root .pcd-start-rectx small { color: var(--pcd-dim); font-size: 11.5px; }
#pcd-root .pcd-start-results { display: flex; flex-direction: column; gap: 2px; }
#pcd-root .pcd-start-res.pcd-best { background: rgba(255, 255, 255, .09); box-shadow: inset 3px 0 0 var(--pcd-accent); }
#pcd-root .pcd-start-open { font-size: 11.5px; color: var(--pcd-dim); }
#pcd-root .pcd-start-empty { padding: 30px 10px; color: var(--pcd-dim); text-align: center; }
#pcd-root .pcd-start-foot {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 44px;
  background: rgba(0, 0, 0, .2); border-top: 1px solid var(--pcd-line); border-radius: 0 0 10px 10px;
}
#pcd-root .pcd-start-user { display: flex; align-items: center; gap: 10px; }
#pcd-root .pcd-start-power { width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; transition: background .12s; }
#pcd-root .pcd-start-power .pcd-svg { width: 18px; height: 18px; }
#pcd-root .pcd-start-power:hover { background: rgba(255, 255, 255, .09); }
#pcd-root .pcd-avatar {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pcd-accent), var(--pcd-teal)); color: #10200a; font-weight: 800;
}
#pcd-root .pcd-avatar-lg { width: 52px; height: 52px; flex-basis: 52px; font-size: 22px; }
#pcd-root .pcd-avatar-xl { width: 72px; height: 72px; flex-basis: 72px; font-size: 30px; }

/* quick-settings style flyouts */
#pcd-root .pcd-qs { position: absolute; right: 10px; bottom: 58px; width: 370px; max-height: calc(100% - 70px); display: flex; flex-direction: column; padding: 16px; }
#pcd-root .pcd-qs-small { width: 330px; }
#pcd-root .pcd-qs-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
#pcd-root .pcd-qs-head b { font-size: 14px; font-weight: 600; }
#pcd-root .pcd-qs-head small, #pcd-root .pcd-qs-htx small { color: var(--pcd-dim); font-size: 12px; }
#pcd-root .pcd-qs-headrow { flex-direction: row; align-items: center; gap: 12px; }
#pcd-root .pcd-qs-hic { width: 34px; height: 34px; border-radius: 6px; background: var(--pcd-accent); color: var(--pcd-accent-ink); display: grid; place-items: center; padding: 8px; flex: 0 0 34px; }
#pcd-root .pcd-qs-htx { flex: 1; display: flex; flex-direction: column; min-width: 0; }
#pcd-root .pcd-qs-sub { margin: 16px 0 6px; font-weight: 600; font-size: 12.5px; color: var(--pcd-dim); }
#pcd-root .pcd-qs-foot {
  margin: 14px -16px -16px; padding: 8px 12px; border-top: 1px solid var(--pcd-line);
  background: rgba(0, 0, 0, .16); border-radius: 0 0 10px 10px; display: flex; justify-content: flex-end;
}
#pcd-root .pcd-linkbtn { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; color: var(--pcd-dim); transition: background .12s, color .12s; }
#pcd-root .pcd-linkbtn:hover { background: rgba(255, 255, 255, .08); color: var(--pcd-text); }
#pcd-root .pcd-linkic { width: 16px; height: 16px; }
#pcd-root .pcd-hiddenfly { width: auto; right: 250px; flex-direction: row; gap: 4px; padding: 8px; }
#pcd-root .pcd-hid-btn { width: 38px; height: 38px; padding: 8px; border-radius: 6px; }
#pcd-root .pcd-hid-btn:hover { background: rgba(255, 255, 255, .09); }
#pcd-root .pcd-cal { width: 320px; }
#pcd-root .pcd-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 12px; }
#pcd-root .pcd-cal-wd { color: var(--pcd-dim); font-weight: 600; padding-bottom: 4px; }
#pcd-root .pcd-cal-d { padding: 6px 0; border-radius: 50%; }
#pcd-root .pcd-cal-d.pcd-today { background: var(--pcd-accent); color: var(--pcd-accent-ink); font-weight: 700; }

/* volume */
#pcd-root .pcd-volctl { display: flex; align-items: center; gap: 10px; }
#pcd-root .pcd-volmute { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 6px; display: grid; place-items: center; padding: 8px; transition: background .12s, color .12s; }
#pcd-root .pcd-volmute:hover { background: rgba(255, 255, 255, .09); }
#pcd-root .pcd-volmute.pcd-muted { color: #ff8a80; background: rgba(255, 93, 93, .13); }
#pcd-root .pcd-volmute.pcd-muted:hover { background: rgba(255, 93, 93, .22); }
#pcd-root .pcd-volval { width: 30px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
#pcd-root .pcd-slider { flex: 1; height: 30px; display: flex; align-items: center; cursor: pointer; touch-action: none; outline: none; padding: 0 10px; }
#pcd-root .pcd-sl-track { position: relative; width: 100%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .24); }
#pcd-root .pcd-sl-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--pcd-accent); }
#pcd-root .pcd-sl-thumb {
  position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  background: #41444c; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
#pcd-root .pcd-sl-thumb::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--pcd-accent); transition: inset .12s; }
#pcd-root .pcd-slider:hover .pcd-sl-thumb::after { inset: 4px; }
#pcd-root .pcd-slider.pcd-sl-drag .pcd-sl-thumb::after { inset: 6px; }
#pcd-root .pcd-slider.pcd-dim .pcd-sl-fill, #pcd-root .pcd-slider.pcd-dim .pcd-sl-thumb::after { background: #80848c; }
#pcd-root .pcd-mixrow { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 6px; }
#pcd-root .pcd-mixic { width: 22px; height: 22px; flex: 0 0 22px; color: var(--pcd-dim); }
#pcd-root .pcd-mixtx { flex: 1; display: flex; flex-direction: column; }
#pcd-root .pcd-mixtx b { font-weight: 500; }
#pcd-root .pcd-mixtx small { color: var(--pcd-dim); font-size: 11.5px; }
#pcd-root .pcd-eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
#pcd-root .pcd-eq i { width: 3px; height: 3px; border-radius: 1px; background: rgba(255, 255, 255, .3); }
#pcd-root .pcd-eq.pcd-eq-on i { background: var(--pcd-accent); animation: pcd-eq .8s ease-in-out infinite alternate; }
#pcd-root .pcd-eq.pcd-eq-on i:nth-child(2) { animation-delay: -.3s; }
#pcd-root .pcd-eq.pcd-eq-on i:nth-child(3) { animation-delay: -.55s; }
#pcd-root .pcd-eq.pcd-eq-on i:nth-child(4) { animation-delay: -.15s; }

/* network */
#pcd-root .pcd-netlist { display: flex; flex-direction: column; gap: 2px; overflow: auto; min-height: 0; margin: 0 -6px; padding: 0 6px; }
#pcd-root .pcd-net { border-radius: 6px; transition: background .12s; }
#pcd-root .pcd-net:hover, #pcd-root .pcd-net.pcd-open { background: rgba(255, 255, 255, .065); }
#pcd-root .pcd-net.pcd-conn .pcd-net-tx b { color: var(--pcd-accent); }
#pcd-root .pcd-net-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; }
#pcd-root .pcd-net-ic { position: relative; width: 22px; height: 22px; flex: 0 0 22px; }
#pcd-root .pcd-lockb { position: absolute; right: -4px; bottom: -3px; width: 10px; height: 10px; color: #fff; filter: drop-shadow(0 0 2px #000); }
#pcd-root .pcd-net-tx { display: flex; flex-direction: column; min-width: 0; }
#pcd-root .pcd-net-tx b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pcd-root .pcd-net-tx small { color: var(--pcd-dim); font-size: 11.5px; }
#pcd-root .pcd-net-body { padding: 0 12px 12px 44px; display: flex; flex-direction: column; gap: 10px; animation: pcd-pagein .18s ease-out; }
#pcd-root .pcd-net-lbl { font-size: 12px; color: var(--pcd-dim); }
#pcd-root .pcd-checkline { display: flex; align-items: center; gap: 8px; font-size: 12.5px; cursor: pointer; }
#pcd-root .pcd-checkline input { accent-color: var(--pcd-accent); width: 15px; height: 15px; }
#pcd-root .pcd-pwwrap { position: relative; }
#pcd-root .pcd-pwwrap .pcd-input { padding-right: 38px; }
#pcd-root .pcd-eye { position: absolute; right: 4px; top: 4px; width: 28px; height: 26px; padding: 5px; border-radius: 4px; color: var(--pcd-dim); }
#pcd-root .pcd-eye:hover { background: rgba(255, 255, 255, .09); color: var(--pcd-text); }
#pcd-root .pcd-err { color: #ff9a8f; font-size: 12px; }
#pcd-root .pcd-connecting { display: flex; align-items: center; gap: 10px; color: var(--pcd-dim); }
#pcd-root .pcd-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--pcd-accent); animation: pcd-spin .8s linear infinite; }

/* ---------------- controls ---------------- */
#pcd-root .pcd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 32px; padding: 0 14px;
  border-radius: 6px; background: rgba(255, 255, 255, .085); border: 1px solid rgba(255, 255, 255, .1);
  border-top-color: rgba(255, 255, 255, .15); font-size: 12.5px; font-weight: 500; white-space: nowrap;
  transition: background .12s, transform .08s, opacity .12s;
}
#pcd-root .pcd-btn:hover { background: rgba(255, 255, 255, .14); }
#pcd-root .pcd-btn:active { transform: scale(.97); background: rgba(255, 255, 255, .06); }
#pcd-root .pcd-btn:disabled { opacity: .4; cursor: default; transform: none; background: rgba(255, 255, 255, .06); }
#pcd-root .pcd-btn-accent { background: var(--pcd-accent); color: var(--pcd-accent-ink); border-color: rgba(0, 0, 0, .12); font-weight: 650; }
#pcd-root .pcd-btn-accent:hover { background: var(--pcd-accent-h); }
#pcd-root .pcd-btn-accent:active { background: #8ab018; }
#pcd-root .pcd-btn-accent:disabled { background: var(--pcd-accent); }
#pcd-root .pcd-btn-ghost { background: transparent; border-color: transparent; }
#pcd-root .pcd-btn-wide { width: 100%; }
#pcd-root .pcd-btnic { width: 15px; height: 15px; }
#pcd-root .pcd-btnrow { display: flex; gap: 8px; flex-wrap: wrap; }
#pcd-root .pcd-input {
  height: 34px; width: 100%; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 2px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .3); padding: 0 10px; outline: none;
  transition: border-color .12s;
}
#pcd-root .pcd-input:focus { border-bottom-color: var(--pcd-accent); background: rgba(0, 0, 0, .4); }
#pcd-root .pcd-input::placeholder { color: var(--pcd-dim); }
#pcd-root .pcd-switch { position: relative; width: 40px; height: 20px; flex: 0 0 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .6); transition: background .15s, border-color .15s; }
#pcd-root .pcd-switch::after { content: ''; position: absolute; top: 3px; left: 4px; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .85); transition: left .16s cubic-bezier(.3, .8, .3, 1.3), background .15s; }
#pcd-root .pcd-switch:hover::after { transform: scale(1.12); }
#pcd-root .pcd-switch.pcd-on { background: var(--pcd-accent); border-color: var(--pcd-accent); }
#pcd-root .pcd-switch.pcd-on::after { left: 23px; background: #10200a; }
#pcd-root .pcd-chev { width: 14px; height: 14px; flex: 0 0 14px; opacity: .6; transition: transform .18s; }
#pcd-root .pcd-bar { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .13); overflow: hidden; }
#pcd-root .pcd-bar > i { display: block; height: 100%; border-radius: 3px; background: var(--pcd-accent); }
#pcd-root .pcd-bar.pcd-full > i { background: #ff5d5d; }
#pcd-root .pcd-bar-sm { width: 120px; }
#pcd-root .pcd-dimtx { color: var(--pcd-dim); font-variant-numeric: tabular-nums; }

/* dropdown */
#pcd-root .pcd-dd { position: relative; }
#pcd-root .pcd-dd-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 12px; border-radius: 6px;
  background: rgba(255, 255, 255, .075); border: 1px solid rgba(255, 255, 255, .12); border-bottom-color: rgba(255, 255, 255, .32);
  transition: background .12s;
}
#pcd-root .pcd-dd-btn:hover { background: rgba(255, 255, 255, .12); }
#pcd-root .pcd-dd-btn > span:nth-child(2) { flex: 1; text-align: left; font-variant-numeric: tabular-nums; }
#pcd-root .pcd-dd-ph { color: var(--pcd-dim); }
#pcd-root .pcd-dd-ic { width: 16px; height: 16px; color: var(--pcd-dim); }
#pcd-root .pcd-dd.pcd-open .pcd-chev { transform: rotate(180deg); }
#pcd-root .pcd-dd-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 10; max-height: 230px; overflow: auto;
  padding: 4px; border-radius: 8px; background: #2d3038; border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: var(--pcd-shadow); animation: pcd-flyin .14s ease-out;
}
#pcd-root .pcd-dd-opt { display: flex; justify-content: space-between; width: 100%; padding: 8px 10px; border-radius: 5px; font-variant-numeric: tabular-nums; }
#pcd-root .pcd-dd-opt:hover { background: rgba(255, 255, 255, .09); }
#pcd-root .pcd-dd-opt.pcd-on { background: rgba(155, 195, 28, .18); }
#pcd-root .pcd-dd-check { color: var(--pcd-accent); font-weight: 700; }

/* context menu */
#pcd-root .pcd-menu { position: absolute; min-width: 210px; padding: 4px; border-radius: 8px; animation: pcd-flyin .14s ease-out; }
#pcd-root .pcd-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 10px; border-radius: 5px; }
#pcd-root .pcd-menu-item:hover { background: rgba(255, 255, 255, .09); }
#pcd-root .pcd-menu-item:disabled { opacity: .4; cursor: default; background: none; }
#pcd-root .pcd-menu-item.pcd-danger { color: #ff9a8f; }
#pcd-root .pcd-menu-ic { width: 16px; height: 16px; flex: 0 0 16px; }
#pcd-root .pcd-menu-sep { height: 1px; margin: 4px 6px; background: var(--pcd-line-2); }

/* toasts */
#pcd-root .pcd-toasts { position: absolute; right: 12px; bottom: 60px; z-index: 7; transition: bottom .2s ease; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
#pcd-root .pcd-toast { width: 350px; max-width: calc(100vw - 80px); display: flex; gap: 12px; padding: 14px 16px; animation: pcd-toastin .34s cubic-bezier(.2, .9, .3, 1.2); }
#pcd-root .pcd-toast-out { opacity: 0; transform: translateX(30px); transition: opacity .25s, transform .25s; }
#pcd-root .pcd-toast-ic { width: 28px; height: 28px; flex: 0 0 28px; }
#pcd-root .pcd-toast-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#pcd-root .pcd-toast-tx b { font-weight: 600; }
#pcd-root .pcd-toast-tx span { color: var(--pcd-dim); }

/* ---------------- Post-its & bubble ---------------- */
#pcd-root .pcd-note {
  position: absolute; left: 26px; bottom: 92px; width: 236px; z-index: 20; padding: 18px 16px 14px;
  background: linear-gradient(175deg, #fff7a6, #ffe95c 70%, #f9df4a); color: #3a3200;
  rotate: -2.5deg; border-radius: 2px 2px 16px 2px; cursor: grab; touch-action: none;
  box-shadow: 0 12px 20px rgba(0, 0, 0, .38), 0 2px 3px rgba(0, 0, 0, .22);
  font-family: "Comic Sans MS", "Marker Felt", "Segoe Print", "Bradley Hand", "Chalkboard SE", cursive;
  font-size: 14.5px; line-height: 1.3; animation: pcd-notein .5s .18s backwards cubic-bezier(.2, .9, .3, 1.3);
}
#pcd-root .pcd-note.pcd-grab { cursor: grabbing; box-shadow: 0 20px 32px rgba(0, 0, 0, .45); }
#pcd-root .pcd-note::before {
  content: ''; position: absolute; top: -10px; left: 50%; width: 76px; height: 21px; margin-left: -38px;
  background: rgba(255, 255, 255, .5); rotate: 3deg; box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
#pcd-root .pcd-note-text b { font-weight: 700; }
#pcd-root .pcd-note-hint { margin-top: 8px; padding-top: 7px; border-top: 1.5px dashed rgba(90, 77, 0, .35); font-size: 13px; color: #574a00; }
#pcd-root .pcd-note-hint b { background: rgba(255, 255, 255, .6); padding: 0 3px; border-radius: 2px; font-family: system-ui, sans-serif; font-size: 12.5px; }
#pcd-root .pcd-note2 { left: auto; right: 410px; top: 4px; bottom: auto; width: 214px; rotate: 3deg; background: linear-gradient(175deg, #d4f9b0, #aeec7f); color: #173300; }
#pcd-root .pcd-note-title { font-weight: 700; margin-bottom: 6px; }
#pcd-root .pcd-pwline { margin: 4px 0; line-height: 1.5; }
#pcd-root .pcd-pwline s { opacity: .72; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
#pcd-root .pcd-pwline em { font-size: 11px; color: #b0261c; font-style: normal; font-weight: 700; rotate: -6deg; display: inline-block; }
#pcd-root .pcd-pw { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .55); padding: 1px 5px; border-radius: 3px; -webkit-user-select: text; user-select: text; }
#pcd-root .pcd-pwsmall { font-size: 11px; opacity: .7; margin-top: 4px; }
#pcd-root .pcd-bubble {
  position: absolute; left: 6px; bottom: calc(100% + 16px); width: max-content; min-width: 150px; max-width: 300px;
  padding: 10px 14px; background: #fff; color: #1d1d1d; border-radius: 14px; rotate: 2.5deg;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 13.5px; font-weight: 600; line-height: 1.3;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(8px) scale(.9); transform-origin: 24px 100%;
  transition: opacity .18s, transform .24s cubic-bezier(.2, .9, .3, 1.4); pointer-events: none;
}
#pcd-root .pcd-bubble::after { content: ''; position: absolute; left: 26px; top: 100%; border: 9px solid transparent; border-top-color: #fff; }
#pcd-root .pcd-bubble.pcd-show { opacity: 1; transform: none; }
#pcd-root .pcd-bubble.pcd-loud { background: #ff3b30; color: #fff; font-size: 20px; font-weight: 900; letter-spacing: .01em; }
#pcd-root .pcd-bubble.pcd-loud::after { border-top-color: #ff3b30; }
#pcd-root .pcd-bubble.pcd-loud.pcd-show { animation: pcd-shake .5s; }

/* feedback */
#pcd-root .pcd-fx { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
#pcd-root .pcd-fx.pcd-flash { animation: pcd-redflash .55s ease-out; }
#pcd-root .pcd-success {
  position: absolute; inset: 0; z-index: 40; display: grid; place-items: center;
  background: rgba(8, 20, 8, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: pcd-fadein .2s;
}
#pcd-root .pcd-success-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 46px; border-radius: 16px;
  background: rgba(28, 32, 38, .92); border: 1px solid rgba(155, 195, 28, .55);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 70px rgba(155, 195, 28, .28); animation: pcd-pop .42s cubic-bezier(.2, .9, .3, 1.5);
}
#pcd-root .pcd-check { width: 80px; height: 80px; }
#pcd-root .pcd-check-c { stroke-dasharray: 214; stroke-dashoffset: 214; animation: pcd-draw .45s forwards; }
#pcd-root .pcd-check-p { stroke-dasharray: 60; stroke-dashoffset: 60; animation: pcd-draw .3s .32s forwards; }
#pcd-root .pcd-success-title { font-size: 24px; font-weight: 750; }
#pcd-root .pcd-success-sub { color: var(--pcd-dim); }

/* ---------------- settings ---------------- */
#pcd-root .pcd-set-side { width: 250px; flex: 0 0 250px; padding: 6px 10px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
#pcd-root .pcd-set-prof { display: flex; align-items: center; gap: 12px; padding: 8px 4px; }
#pcd-root .pcd-set-proftx { display: flex; flex-direction: column; min-width: 0; }
#pcd-root .pcd-set-proftx b { font-size: 14px; font-weight: 600; }
#pcd-root .pcd-set-proftx small { color: var(--pcd-dim); font-size: 11.5px; }
#pcd-root .pcd-set-search { height: 32px; }
#pcd-root .pcd-set-nav { display: flex; flex-direction: column; gap: 2px; }
#pcd-root .pcd-set-navitem { position: relative; display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-radius: 6px; transition: background .12s; }
#pcd-root .pcd-set-navitem:hover { background: rgba(255, 255, 255, .06); }
#pcd-root .pcd-set-navitem.pcd-on { background: rgba(255, 255, 255, .09); }
#pcd-root .pcd-set-navitem.pcd-on::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--pcd-accent); }
#pcd-root .pcd-set-navitem.pcd-hide { display: none; }
#pcd-root .pcd-set-navic { width: 18px; height: 18px; flex: 0 0 18px; }
#pcd-root .pcd-nic-network { color: #58b2ff; }
#pcd-root .pcd-nic-accounts { color: #c38bff; }
#pcd-root .pcd-nic-time { color: #ffb020; }
#pcd-root .pcd-set-main { flex: 1; min-width: 0; overflow: auto; padding: 14px 28px 28px 18px; }
#pcd-root .pcd-set-page { animation: pcd-pagein .22s ease-out; }
#pcd-root .pcd-set-title { font-size: 27px; font-weight: 600; margin: 4px 0 18px; }
#pcd-root .pcd-section-label { margin: 20px 2px 8px; font-weight: 600; font-size: 13.5px; }
#pcd-root .pcd-set-hero {
  display: flex; align-items: center; gap: 18px; padding: 16px 18px; margin-bottom: 14px; border-radius: 8px;
  background: linear-gradient(120deg, rgba(155, 195, 28, .15), rgba(18, 168, 156, .1)); border: 1px solid rgba(255, 255, 255, .07);
}
#pcd-root .pcd-set-hero.pcd-hero-warn { background: linear-gradient(120deg, rgba(255, 176, 32, .16), rgba(255, 93, 93, .08)); }
#pcd-root .pcd-set-heroimg { width: 64px; height: 64px; flex: 0 0 64px; }
#pcd-root .pcd-set-herotx { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#pcd-root .pcd-set-herotx b { font-size: 16px; font-weight: 600; }
#pcd-root .pcd-set-herotx small { color: var(--pcd-dim); }
#pcd-root .pcd-bigtime { font-size: 30px !important; font-variant-numeric: tabular-nums; }
#pcd-root .pcd-card {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; margin-bottom: 4px; border-radius: 7px;
  background: var(--pcd-card); border: 1px solid rgba(255, 255, 255, .04); text-align: left; transition: background .12s;
}
#pcd-root .pcd-card.pcd-click:hover { background: var(--pcd-card-h); }
#pcd-root .pcd-card-col { flex-direction: column; align-items: stretch; gap: 10px; }
#pcd-root .pcd-card-row { display: flex; align-items: center; gap: 14px; }
#pcd-root .pcd-card-ic { width: 22px; height: 22px; flex: 0 0 22px; }
#pcd-root .pcd-ic-mono .pcd-card-ic, #pcd-root .pcd-card-ic.pcd-ic-mono, #pcd-root .pcd-set-heroimg.pcd-ic-mono { color: #cdd5de; }
#pcd-root .pcd-card-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#pcd-root .pcd-card-tx b { font-weight: 500; }
#pcd-root .pcd-card-tx small { color: var(--pcd-dim); font-size: 12px; }
#pcd-root .pcd-card-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
#pcd-root .pcd-printers { display: flex; flex-direction: column; gap: 4px; }
#pcd-root .pcd-prn { border-radius: 7px; background: var(--pcd-card); border: 1px solid rgba(255, 255, 255, .04); overflow: hidden; transition: background .12s; }
#pcd-root .pcd-prn.pcd-open { background: rgba(255, 255, 255, .07); }
#pcd-root .pcd-prn-head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; transition: background .12s; }
#pcd-root .pcd-prn-head:hover { background: rgba(255, 255, 255, .05); }
#pcd-root .pcd-prn-ic { width: 30px; height: 30px; flex: 0 0 30px; }
#pcd-root .pcd-prn-tx { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#pcd-root .pcd-prn-tx b { font-weight: 500; }
#pcd-root .pcd-prn-tx small { color: var(--pcd-dim); font-size: 12px; display: flex; align-items: center; }
#pcd-root .pcd-prn.pcd-open .pcd-chev { transform: rotate(180deg); }
#pcd-root .pcd-badge { display: inline-block; padding: 1px 7px; margin-right: 7px; border-radius: 4px; background: var(--pcd-accent); color: var(--pcd-accent-ink); font-size: 10.5px; font-weight: 800; }
#pcd-root .pcd-prn-acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 16px 14px 60px; animation: pcd-pagein .18s ease-out; }
#pcd-root .pcd-hintline { width: 100%; font-size: 12px; color: #ffcf6e; }
#pcd-root .pcd-wallpick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
#pcd-root .pcd-wallopt { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 8px; border: 2px solid transparent; transition: border-color .12s, background .12s; }
#pcd-root .pcd-wallopt:hover { background: rgba(255, 255, 255, .06); }
#pcd-root .pcd-wallopt.pcd-on { border-color: var(--pcd-accent); }
#pcd-root .pcd-wallthumb { display: block; aspect-ratio: 16 / 10; border-radius: 5px; overflow: hidden; }
#pcd-root .pcd-wallthumb svg { width: 100%; height: 100%; display: block; }
#pcd-root .pcd-wallopt small { color: var(--pcd-dim); font-size: 11.5px; text-align: center; }
#pcd-root .pcd-swatch { width: 26px; height: 26px; border-radius: 50%; background: var(--pcd-accent); box-shadow: 0 0 0 2px rgba(255, 255, 255, .3); }

/* ---------------- task manager ---------------- */
#pcd-root .pcd-tm-side { width: 50px; flex: 0 0 50px; padding: 6px 5px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--pcd-line); }
#pcd-root .pcd-tm-sbtn { position: relative; width: 40px; height: 36px; padding: 9px; border-radius: 6px; color: var(--pcd-dim); }
#pcd-root .pcd-tm-sbtn:hover { background: rgba(255, 255, 255, .07); }
#pcd-root .pcd-tm-sbtn.pcd-on { background: rgba(255, 255, 255, .09); color: var(--pcd-text); }
#pcd-root .pcd-tm-sbtn.pcd-on::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--pcd-accent); }
#pcd-root .pcd-tm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#pcd-root .pcd-tm-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; }
#pcd-root .pcd-tm-top > b { font-size: 15px; font-weight: 600; margin-right: auto; }
#pcd-root .pcd-tm-table { flex: 1; min-height: 0; display: flex; flex-direction: column; font-size: 12.5px; }
#pcd-root .pcd-tm-headrow, #pcd-root .pcd-tm-row { display: grid; grid-template-columns: minmax(160px, 1fr) 150px 70px 112px 90px 90px; }
#pcd-root .pcd-tm-headrow { border-bottom: 1px solid var(--pcd-line); color: var(--pcd-dim); font-size: 11.5px; }
#pcd-root .pcd-tm-headrow .pcd-tm-c { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; padding-top: 4px; padding-bottom: 6px; }
#pcd-root .pcd-tm-headrow .pcd-tm-name, #pcd-root .pcd-tm-headrow .pcd-tm-status { align-items: flex-start; }
#pcd-root .pcd-tm-sort { cursor: pointer; }
#pcd-root .pcd-tm-sort:hover { color: var(--pcd-text); }
#pcd-root .pcd-tm-hv { font-size: 15px; color: var(--pcd-text); font-weight: 600; }
#pcd-root .pcd-tm-rows { flex: 1; min-height: 0; overflow: auto; }
#pcd-root .pcd-tm-group { padding: 10px 14px 4px; font-weight: 600; font-size: 12.5px; color: var(--pcd-text); }
#pcd-root .pcd-tm-row { cursor: pointer; border-radius: 4px; transition: background .1s; }
#pcd-root .pcd-tm-row:hover { background: rgba(255, 255, 255, .055); }
#pcd-root .pcd-tm-row.pcd-sel { background: rgba(155, 195, 28, .2); box-shadow: inset 3px 0 0 var(--pcd-accent); }
#pcd-root .pcd-tm-row.pcd-flashrow { animation: pcd-rowflash .8s ease-out; }
#pcd-root .pcd-tm-c { padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; font-variant-numeric: tabular-nums; }
#pcd-root .pcd-tm-name { text-align: left; display: flex; align-items: center; gap: 9px; padding-left: 16px; }
#pcd-root .pcd-tm-nm { overflow: hidden; text-overflow: ellipsis; }
#pcd-root .pcd-tm-status { text-align: left; color: var(--pcd-dim); }
#pcd-root .pcd-tm-ic { width: 16px; height: 16px; flex: 0 0 16px; }
#pcd-root .pcd-tm-row.pcd-hung .pcd-tm-status { color: #ffb4a8; font-weight: 600; }
#pcd-root .pcd-tm-foot { padding: 7px 14px; border-top: 1px solid var(--pcd-line); color: var(--pcd-dim); font-size: 11.5px; white-space: nowrap; overflow: hidden; }

/* ---------------- explorer / trash ---------------- */
#pcd-root .pcd-ex-bar { display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-bottom: 1px solid var(--pcd-line); flex: 0 0 auto; overflow: hidden; }
#pcd-root .pcd-ex-tool { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-radius: 5px; font-size: 12.5px; white-space: nowrap; transition: background .12s, opacity .12s; }
#pcd-root .pcd-ex-tool:hover { background: rgba(255, 255, 255, .08); }
#pcd-root .pcd-ex-tool:disabled { opacity: .38; cursor: default; background: none; }
#pcd-root .pcd-ex-tic { width: 17px; height: 17px; flex: 0 0 17px; }
#pcd-root .pcd-ex-sep { width: 1px; height: 20px; background: var(--pcd-line-2); margin: 0 4px; }
#pcd-root .pcd-ex-addr { display: flex; align-items: center; gap: 6px; padding: 6px 10px; flex: 0 0 auto; }
#pcd-root .pcd-ex-nav { width: 30px; height: 30px; padding: 7px; border-radius: 5px; color: var(--pcd-dim); }
#pcd-root .pcd-ex-nav:hover { background: rgba(255, 255, 255, .08); color: var(--pcd-text); }
#pcd-root .pcd-ex-crumb { flex: 1; min-width: 0; height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 5px; background: rgba(0, 0, 0, .24); border: 1px solid var(--pcd-line); white-space: nowrap; overflow: hidden; }
#pcd-root .pcd-ex-cic { width: 16px; height: 16px; flex: 0 0 16px; }
#pcd-root .pcd-ex-search { position: relative; width: 210px; flex: 0 0 210px; }
#pcd-root .pcd-ex-search input { width: 100%; height: 30px; border-radius: 5px; border: 1px solid var(--pcd-line); background: rgba(0, 0, 0, .24); padding: 0 10px 0 30px; outline: none; }
#pcd-root .pcd-ex-search input:focus { border-color: rgba(155, 195, 28, .6); }
#pcd-root .pcd-ex-search input::placeholder { color: var(--pcd-dim); }
#pcd-root .pcd-ex-sic { position: absolute; left: 9px; top: 8px; width: 14px; height: 14px; color: var(--pcd-dim); }
#pcd-root .pcd-ex-split { flex: 1; min-height: 0; display: flex; }
#pcd-root .pcd-ex-side { width: 180px; flex: 0 0 180px; padding: 6px; border-right: 1px solid var(--pcd-line); overflow: auto; }
#pcd-root .pcd-ex-sitem { display: flex; align-items: center; gap: 9px; width: 100%; height: 30px; padding: 0 9px; border-radius: 5px; }
#pcd-root .pcd-ex-sitem:hover { background: rgba(255, 255, 255, .06); }
#pcd-root .pcd-ex-sitem.pcd-on { background: rgba(255, 255, 255, .1); }
#pcd-root .pcd-ex-sic2 { width: 17px; height: 17px; flex: 0 0 17px; color: #cdd5de; }
#pcd-root .pcd-ex-content { flex: 1; min-width: 0; overflow: auto; padding: 10px; }
#pcd-root .pcd-ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 4px; }
#pcd-root .pcd-ex-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 8px; border-radius: 6px; border: 1px solid transparent; }
#pcd-root .pcd-ex-item:hover { background: rgba(255, 255, 255, .07); }
#pcd-root .pcd-ex-item.pcd-sel { background: rgba(155, 195, 28, .18); border-color: rgba(155, 195, 28, .45); }
#pcd-root .pcd-ex-iic { width: 46px; height: 46px; }
#pcd-root .pcd-ex-ilbl { font-size: 11.5px; text-align: center; word-break: break-word; line-height: 1.2; }
#pcd-root .pcd-ex-drives { display: flex; flex-wrap: wrap; gap: 8px; }
#pcd-root .pcd-ex-drive { display: flex; align-items: center; gap: 12px; width: 300px; padding: 10px 12px; border-radius: 6px; border: 1px solid transparent; }
#pcd-root .pcd-ex-drive:hover { background: rgba(255, 255, 255, .07); }
#pcd-root .pcd-ex-dic { width: 44px; height: 44px; flex: 0 0 44px; }
#pcd-root .pcd-ex-dtx { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
#pcd-root .pcd-ex-dtx b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pcd-root .pcd-ex-dtx small { color: var(--pcd-dim); font-size: 11.5px; }
#pcd-root .pcd-ex-status { padding: 5px 12px; font-size: 11.5px; color: var(--pcd-dim); border-top: 1px solid var(--pcd-line); flex: 0 0 auto; white-space: pre; }
#pcd-root .pcd-empty { padding: 40px 20px; text-align: center; color: var(--pcd-dim); }
#pcd-root .pcd-list { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 6px; }
#pcd-root .pcd-list-head, #pcd-root .pcd-list-row { display: grid; grid-template-columns: minmax(220px, 2.2fr) 1.5fr 1.2fr 80px 1.3fr; }
#pcd-root .pcd-list-head > div { padding: 6px 10px; color: var(--pcd-dim); font-size: 12px; border-right: 1px solid var(--pcd-line); cursor: pointer; white-space: nowrap; overflow: hidden; }
#pcd-root .pcd-list-head > div:hover { color: var(--pcd-text); background: rgba(255, 255, 255, .04); }
#pcd-root .pcd-list-rows { flex: 1; min-height: 0; overflow: auto; }
#pcd-root .pcd-list-row { border-radius: 4px; cursor: pointer; transition: background .1s; }
#pcd-root .pcd-list-row:hover { background: rgba(255, 255, 255, .055); }
#pcd-root .pcd-list-row.pcd-sel { background: rgba(155, 195, 28, .2); box-shadow: inset 3px 0 0 var(--pcd-accent); }
#pcd-root .pcd-list-row > div { padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
#pcd-root .pcd-list-row > div:not(:first-child) { color: rgba(242, 244, 247, .78); }
#pcd-root .pcd-list-name { display: flex; align-items: center; gap: 9px; }
#pcd-root .pcd-list-ic { width: 18px; height: 18px; flex: 0 0 18px; }
#pcd-root .pcd-num { text-align: right; font-variant-numeric: tabular-nums; }
#pcd-root .pcd-sortar { color: var(--pcd-accent); font-size: 10px; }

/* ---------------- editor / doc / calc ---------------- */
#pcd-root .pcd-ed-menu { display: flex; gap: 2px; padding: 3px 8px; border-bottom: 1px solid var(--pcd-line); flex: 0 0 auto; }
#pcd-root .pcd-ed-menu button { padding: 4px 10px; border-radius: 4px; font-size: 12.5px; }
#pcd-root .pcd-ed-menu button:hover { background: rgba(255, 255, 255, .08); }
#pcd-root .pcd-ed-text {
  flex: 1; min-height: 0; resize: none; border: 0; outline: none; background: rgba(0, 0, 0, .24); padding: 12px 14px;
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; color: var(--pcd-text);
}
#pcd-root .pcd-ed-status { display: flex; justify-content: flex-end; gap: 24px; padding: 4px 14px; font-size: 11.5px; color: var(--pcd-dim); border-top: 1px solid var(--pcd-line); }
#pcd-root .pcd-doc-wrap { flex: 1; min-height: 0; overflow: auto; background: #24272e; padding: 22px; }
#pcd-root .pcd-doc-page {
  max-width: 560px; min-height: 100%; margin: 0 auto; padding: 38px 46px; border-radius: 3px; background: #fff; color: #1c1f24;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .45); font-family: Georgia, "Times New Roman", serif; font-size: 13.5px; line-height: 1.6;
  -webkit-user-select: text; user-select: text;
}
#pcd-root .pcd-doc-page h1 { font-size: 21px; margin-bottom: 12px; font-family: system-ui, sans-serif; }
#pcd-root .pcd-doc-page h1 small { font-size: 12px; color: #777; font-weight: 400; }
#pcd-root .pcd-doc-page p, #pcd-root .pcd-doc-page ul { margin: 10px 0; }
#pcd-root .pcd-doc-page ul { padding-left: 22px; }
#pcd-root .pcd-doc-page table { border-collapse: collapse; width: 100%; margin: 10px 0; font-family: system-ui, sans-serif; font-size: 12.5px; }
#pcd-root .pcd-doc-page th, #pcd-root .pcd-doc-page td { border: 1px solid #d5dbe1; padding: 5px 8px; text-align: left; }
#pcd-root .pcd-doc-page th { background: #eef4e0; }
#pcd-root .pcd-calc { flex: 1; display: flex; flex-direction: column; padding: 8px; gap: 4px; min-height: 0; }
#pcd-root .pcd-calc-hist { height: 18px; text-align: right; color: var(--pcd-dim); font-size: 12px; padding: 0 10px; font-variant-numeric: tabular-nums; }
#pcd-root .pcd-calc-disp { text-align: right; font-size: 38px; font-weight: 600; padding: 2px 10px 10px; white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; }
#pcd-root .pcd-calc-keys { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; min-height: 0; }
#pcd-root .pcd-calc-k { border-radius: 5px; background: rgba(255, 255, 255, .085); font-size: 16px; text-align: center; transition: background .1s; }
#pcd-root .pcd-calc-k:hover { background: rgba(255, 255, 255, .14); }
#pcd-root .pcd-calc-k.pcd-op { background: rgba(255, 255, 255, .045); }
#pcd-root .pcd-calc-k.pcd-op:hover { background: rgba(255, 255, 255, .1); }
#pcd-root .pcd-calc-k.pcd-eq { background: var(--pcd-accent); color: var(--pcd-accent-ink); font-weight: 700; }

/* ---------------- spreadsheet / mail / browser ---------------- */
#pcd-root .pcd-sheet-tabs { display: flex; gap: 2px; padding: 4px 10px 0; background: rgba(31, 157, 85, .2); flex: 0 0 auto; }
#pcd-root .pcd-sheet-tabs span { padding: 5px 12px; font-size: 12px; border-radius: 6px 6px 0 0; color: var(--pcd-dim); }
#pcd-root .pcd-sheet-tabs span.pcd-on { background: rgba(32, 34, 41, .95); color: var(--pcd-text); }
#pcd-root .pcd-sheet-fx { display: flex; align-items: center; gap: 10px; padding: 4px 10px; border-bottom: 1px solid var(--pcd-line); font-size: 12px; flex: 0 0 auto; }
#pcd-root .pcd-sheet-ref { width: 60px; padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .25); }
#pcd-root .pcd-sheet-fx i { color: var(--pcd-dim); }
#pcd-root .pcd-sheet-fxv { flex: 1; padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .25); min-height: 20px; }
#pcd-root .pcd-sheet-grid { flex: 1; min-height: 0; overflow: auto; background: #fff; color: #222; }
#pcd-root .pcd-sheet-grid table { border-collapse: collapse; font-size: 12px; }
#pcd-root .pcd-sheet-grid th { position: sticky; top: 0; background: #eef1f4; color: #555; font-weight: 500; border: 1px solid #d5dbe1; padding: 3px 8px; min-width: 34px; }
#pcd-root .pcd-sheet-grid tr th:first-child { position: sticky; left: 0; }
#pcd-root .pcd-sheet-grid td { border: 1px solid #e1e5ea; padding: 4px 8px; min-width: 120px; height: 24px; white-space: nowrap; cursor: cell; }
#pcd-root .pcd-sheet-grid td.pcd-th { font-weight: 700; background: #eaf6d4; }
#pcd-root .pcd-sheet-grid td.pcd-on { outline: 2px solid #1f9d55; outline-offset: -2px; }
#pcd-root .pcd-sheet-sheets { display: flex; gap: 2px; padding: 0 10px; font-size: 12px; border-top: 1px solid var(--pcd-line); flex: 0 0 auto; }
#pcd-root .pcd-sheet-sheets span { padding: 5px 12px; color: var(--pcd-dim); }
#pcd-root .pcd-sheet-sheets span.pcd-on { color: var(--pcd-accent); box-shadow: inset 0 -2px 0 var(--pcd-accent); }
#pcd-root .pcd-mail-folders { width: 170px; flex: 0 0 170px; padding: 10px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--pcd-line); }
#pcd-root .pcd-mail-folders .pcd-btn { margin-bottom: 8px; }
#pcd-root .pcd-mail-folder { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 5px; font-size: 12.5px; }
#pcd-root .pcd-mail-folder.pcd-on { background: rgba(255, 255, 255, .09); }
#pcd-root .pcd-mail-folder small { color: var(--pcd-dim); }
#pcd-root .pcd-mail-list { width: 270px; flex: 0 0 270px; overflow: auto; border-right: 1px solid var(--pcd-line); }
#pcd-root .pcd-mail-item { padding: 10px 14px; border-bottom: 1px solid var(--pcd-line); cursor: pointer; }
#pcd-root .pcd-mail-item:hover { background: rgba(255, 255, 255, .05); }
#pcd-root .pcd-mail-item.pcd-sel { background: rgba(155, 195, 28, .14); box-shadow: inset 3px 0 0 var(--pcd-accent); }
#pcd-root .pcd-mail-top { display: flex; justify-content: space-between; gap: 8px; }
#pcd-root .pcd-mail-top small { color: var(--pcd-dim); }
#pcd-root .pcd-mail-subj { font-size: 12px; color: var(--pcd-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
#pcd-root .pcd-mail-read { flex: 1; min-width: 0; overflow: auto; padding: 20px 24px; }
#pcd-root .pcd-mail-read h2 { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
#pcd-root .pcd-mail-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
#pcd-root .pcd-mail-meta > span:last-child { display: flex; flex-direction: column; }
#pcd-root .pcd-mail-meta small { color: var(--pcd-dim); font-size: 11.5px; }
#pcd-root .pcd-mail-text { white-space: pre-wrap; line-height: 1.6; color: rgba(242, 244, 247, .88); -webkit-user-select: text; user-select: text; }
#pcd-root .pcd-br-tabs { display: flex; align-items: flex-end; gap: 4px; padding: 0 10px; flex: 0 0 auto; margin-top: -2px; }
#pcd-root .pcd-br-tab { display: flex; align-items: center; gap: 8px; width: 210px; padding: 7px 10px; border-radius: 8px 8px 0 0; background: rgba(255, 255, 255, .08); font-size: 12px; }
#pcd-root .pcd-br-tab > span:nth-child(2) { flex: 1; }
#pcd-root .pcd-br-tabic { width: 15px; height: 15px; }
#pcd-root .pcd-br-tabx { width: 9px; height: 9px; opacity: .6; }
#pcd-root .pcd-br-plus { padding: 4px 10px; color: var(--pcd-dim); font-size: 16px; }
#pcd-root .pcd-br-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(255, 255, 255, .05); flex: 0 0 auto; }
#pcd-root .pcd-br-nav { width: 28px; height: 28px; padding: 6px; color: var(--pcd-dim); }
#pcd-root .pcd-br-addr { flex: 1; height: 30px; border-radius: 15px; background: rgba(0, 0, 0, .3); display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 12.5px; }
#pcd-root .pcd-br-lock { position: relative; width: 11px; height: 11px; color: var(--pcd-dim); }
#pcd-root .pcd-br-lock .pcd-lockb { position: static; filter: none; color: var(--pcd-dim); }
#pcd-root .pcd-br-page { flex: 1; min-height: 0; overflow: auto; background: #f4f6f8; color: #1d2329; }
#pcd-root .pcd-offline { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; }
#pcd-root .pcd-offline-duck { width: 96px; height: 96px; animation: pcd-wobble 2.2s ease-in-out infinite; }
#pcd-root .pcd-offline h2 { font-size: 20px; }
#pcd-root .pcd-offline ul { text-align: left; padding-left: 20px; color: #4a5560; line-height: 1.7; }
#pcd-root .pcd-offline small { color: #8a96a3; font-family: ui-monospace, Menlo, monospace; font-size: 11px; }
#pcd-root .pcd-intra-hero { display: flex; align-items: center; gap: 18px; padding: 26px 30px; background: linear-gradient(110deg, #0b5f7c, #12a89c 55%, #9BC31C); color: #fff; }
#pcd-root .pcd-intra-hero h2 { font-size: 22px; }
#pcd-root .pcd-intra-logo { width: 56px; height: 56px; padding: 6px; border-radius: 14px; background: rgba(0, 0, 0, .25); }
#pcd-root .pcd-intra-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px 24px; }
#pcd-root .pcd-intra-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
#pcd-root .pcd-intra-tile small { color: #5b6672; }
#pcd-root .pcd-intra-e { font-size: 22px; }

/* frozen app */
#pcd-root .pcd-frozen .pcd-wbody > *:not(.pcd-frozen-veil) { filter: grayscale(.85) brightness(.85); }
#pcd-root .pcd-frozen-veil { position: absolute; inset: 0; z-index: 5; background: rgba(240, 244, 248, .32); cursor: wait; }
#pcd-root .pcd-frozen .pcd-wtitle { color: var(--pcd-dim) !important; }
#pcd-root .pcd-titlebar.pcd-blink .pcd-wtitle { animation: pcd-blink .6s steps(2) 2; }

/* ---------------- popups (ads) ---------------- */
#pcd-root .pcd-popup { border-radius: 7px; }
#pcd-root .pcd-popup .pcd-titlebar { flex-basis: 30px; }
#pcd-root .pcd-popup .pcd-wbtn { width: 40px; }
#pcd-root .pcd-popup-tiny .pcd-wclose { width: 20px; }
#pcd-root .pcd-popup-tiny .pcd-wclose .pcd-svg { width: 6px; height: 6px; }
#pcd-root .pcd-popup .pcd-wbody { flex: 0 0 auto; }
#pcd-root .pcd-ad { position: relative; padding: 18px 18px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
#pcd-root .pcd-ad-gold { background: linear-gradient(160deg, #ffe259, #ffa751); color: #3b1f00; }
#pcd-root .pcd-ad-red { background: linear-gradient(160deg, #ff4d4d, #b80000); color: #fff; }
#pcd-root .pcd-ad-pink { background: linear-gradient(160deg, #ffa2d8, #c86dd7); color: #3a0030; }
#pcd-root .pcd-ad-blue { background: linear-gradient(160deg, #66e9ff, #3a6bff); color: #001a40; }
#pcd-root .pcd-ad-green { background: linear-gradient(160deg, #d0f76a, #4cc36b); color: #0d2a00; }
#pcd-root .pcd-ad-art { width: 56px; height: 56px; display: grid; place-items: center; font-size: 42px; line-height: 1; animation: pcd-wobble 1.3s ease-in-out infinite; }
#pcd-root .pcd-ad-head { font-size: 17px; font-weight: 850; line-height: 1.15; }
#pcd-root .pcd-ad-text { font-size: 12.5px; opacity: .92; }
#pcd-root .pcd-ad-btns { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; justify-content: center; }
#pcd-root .pcd-ad-cta { padding: 8px 18px; border-radius: 999px; background: #ff2d55; color: #fff; font-weight: 800; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); animation: pcd-cta 1.1s ease-in-out infinite; }
#pcd-root .pcd-ad-ok { padding: 8px 16px; border-radius: 6px; background: rgba(255, 255, 255, .88); color: #222; font-weight: 600; box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
#pcd-root .pcd-ad-fakex { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: #e81123; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 13px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); text-align: center; }
#pcd-root .pcd-ad-small { font-size: 9.5px; opacity: .6; }

/* ---------------- update dialog ---------------- */
#pcd-root .pcd-modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: pcd-fadein .2s; }
#pcd-root .pcd-update { overflow: visible; }
#pcd-root .pcd-update .pcd-titlebar { border-radius: 9px 9px 0 0; }
#pcd-root .pcd-update .pcd-wbody { overflow: visible; flex: 0 0 auto; }
#pcd-root .pcd-upd { padding: 16px 22px 20px; display: flex; flex-direction: column; gap: 14px; }
#pcd-root .pcd-upd-hero { display: flex; gap: 16px; align-items: flex-start; }
#pcd-root .pcd-upd-ic { width: 44px; height: 44px; flex: 0 0 44px; color: #cdd5de; }
#pcd-root .pcd-upd-hero h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
#pcd-root .pcd-upd-hero p { color: var(--pcd-dim); margin-bottom: 4px; }
#pcd-root .pcd-upd-cd { color: #ffcf6e; font-variant-numeric: tabular-nums; }
#pcd-root .pcd-upd-btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
#pcd-root .pcd-upd-form { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding-left: 60px; }
#pcd-root .pcd-upd-form small { display: block; color: var(--pcd-dim); margin-bottom: 4px; font-size: 11.5px; }
#pcd-root .pcd-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 6px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }

/* ---------------- keyframes ---------------- */
@keyframes pcd-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes pcd-zoomin { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pcd-flyin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pcd-pagein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pcd-toastin { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes pcd-notein { from { opacity: 0; transform: translateY(-30px) scale(1.15); } to { opacity: 1; transform: none; } }
@keyframes pcd-shake {
  10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); } 40%, 60% { transform: translateX(8px); }
}
@keyframes pcd-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(255, 176, 32, .2); } 50% { box-shadow: 0 0 0 6px rgba(255, 176, 32, .05); } }
@keyframes pcd-spin { to { transform: rotate(360deg); } }
@keyframes pcd-wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) scale(1.06); } }
@keyframes pcd-cta { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes pcd-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes pcd-draw { to { stroke-dashoffset: 0; } }
@keyframes pcd-eq { from { height: 3px; } to { height: 15px; } }
@keyframes pcd-blink { 50% { opacity: .2; } }
@keyframes pcd-newicon { 0% { transform: scale(.4); opacity: 0; } 30% { transform: scale(1.15); opacity: 1; } 45% { transform: scale(1); } 100% { box-shadow: 0 0 0 0 rgba(155, 195, 28, 0); } }
@keyframes pcd-rowflash { from { background: rgba(255, 59, 48, .55); } to { background: transparent; } }
@keyframes pcd-redflash {
  0% { box-shadow: inset 0 0 0 6px rgba(255, 59, 48, .95), inset 0 0 90px rgba(255, 59, 48, .55); }
  100% { box-shadow: inset 0 0 0 0 rgba(255, 59, 48, 0), inset 0 0 0 rgba(255, 59, 48, 0); }
}

@media (prefers-reduced-motion: reduce) {
  #pcd-root *, #pcd-root *::before, #pcd-root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
