/* 偽物の Windows 11（ライトテーマ） */
.win {
  --wall:
    radial-gradient(ellipse 22% 34% at 50% 50%, rgba(170, 215, 255, .95), transparent 70%),
    radial-gradient(ellipse 34% 52% at 41% 58%, rgba(20, 105, 225, .85), transparent 72%),
    radial-gradient(ellipse 34% 52% at 59% 58%, rgba(10, 85, 205, .85), transparent 72%),
    radial-gradient(ellipse 42% 40% at 50% 72%, rgba(0, 60, 170, .9), transparent 72%),
    radial-gradient(ellipse 30% 30% at 50% 36%, rgba(90, 165, 245, .8), transparent 72%),
    linear-gradient(180deg, #DCEAF8 0%, #C4DBF3 55%, #AFCBEA 100%);
  --acc: #005FB8;
  --text: #1B1B1B;
  --sub: #5F5F5F;
  --mica: #F3F3F3;
  --card: #FBFBFB;
  --stroke: rgba(0, 0, 0, .0578);
  position: fixed;
  inset: 0;
  overflow: hidden;
  font-family: "Segoe UI Variable Text", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: var(--text);
  cursor: default;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}
.win *, .win *::before, .win *::after { box-sizing: border-box; }
.win b { font-weight: 600; }
.win small { display: block; color: var(--sub); font-size: 12px; }
.fi {
  font-family: "Segoe Fluent Icons", "Segoe MDL2 Assets";
  font-style: normal; font-weight: normal; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; flex: none;
}
.ph { color: #6E6E6E; }
.sel-text { background: #0078D4; color: #fff; padding: 1px 0; }
.caret { display: inline-block; width: 1px; height: 16px; background: var(--text); animation: blink 1.06s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }

.wallpaper { position: absolute; inset: 0; background: var(--wall); }
.desk-icons { position: absolute; left: 6px; top: 6px; }
.desk-icon { width: 76px; padding: 6px 2px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); text-align: center; }

.win-layer, .ovl-layer { position: absolute; left: 0; right: 0; top: 0; bottom: 48px; }
.ovl-layer { z-index: 200000; pointer-events: none; }

/* ---------------- タスクバー ---------------- */
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px; z-index: 100000;
  background: rgba(238, 242, 247, .86);
  backdrop-filter: blur(30px) saturate(1.5);
  border-top: 1px solid rgba(0, 0, 0, .08);
  display: flex; align-items: center; justify-content: center;
}
.tb-center, .tb-apps { display: flex; align-items: center; gap: 2px; }
.tb-btn { width: 40px; height: 40px; border-radius: 4px; display: flex; align-items: center; justify-content: center; position: relative; }
.tb-btn.pressed, .tb-app.active { background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04); }
.tb-ind { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 6px; height: 3px; border-radius: 2px; background: #8A8A8A; display: none; transition: width .15s; }
.tb-app.running .tb-ind { display: block; }
.tb-app.active .tb-ind { width: 16px; background: var(--acc); }
.tb-search {
  height: 34px; width: 214px; margin: 0 4px; padding: 0 14px; border-radius: 17px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(0, 0, 0, .07);
  font-size: 13px; color: #5F5F5F;
}
.tb-search .fi { font-size: 14px; }
.tb-search.pressed { background: #fff; }
.compact-taskbar .tb-search { width: 40px; height: 40px; margin: 0; padding: 0; justify-content: center; border: none; border-radius: 4px; background: transparent; }
.compact-taskbar .tb-search > span:not(.fi) { display: none; }
.compact-taskbar .tb-search.pressed { background: rgba(255,255,255,.72); }
.tb-tray { position: absolute; right: 6px; top: 0; bottom: 0; display: flex; align-items: center; gap: 2px; }
.tray-btn { height: 40px; border-radius: 4px; display: flex; align-items: center; justify-content: center; padding: 0 8px; font-size: 12px; }
.tray-btn.pressed { background: rgba(255, 255, 255, .72); }
.tray-chev { font-size: 11px; }
.tray-ime { font-size: 13px; padding: 0 10px; }
.tray-group { gap: 12px; }
.tray-group .fi { font-size: 15px; }
.tray-clock { flex-direction: column; align-items: flex-end; line-height: 1.4; }
.tray-bell .fi { font-size: 15px; }

/* ---------------- ウィンドウ共通 ---------------- */
.w {
  position: absolute;
  display: flex; flex-direction: column;
  background: var(--mica);
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 8px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, .28), 0 2px 21px rgba(0, 0, 0, .22);
  overflow: hidden;
}
.w.inactive { box-shadow: 0 16px 32px rgba(0, 0, 0, .18), 0 2px 10px rgba(0, 0, 0, .12); background: #F9F9F9; }
.w.is-max, .w.is-snap { border-radius: 0; border: none; }
.w.min, .w.vd-hidden { display: none; }
.w-tb { height: 40px; display: flex; align-items: stretch; flex: none; font-size: 12px; }
.w.inactive .w-tb { color: #8C8C8C; }
.w.inactive .w-tb svg { opacity: .55; }
.w-caps { margin-left: auto; display: flex; flex: none; }
.w-cap { width: 46px; display: flex; align-items: center; justify-content: center; }
.w-cap .fi { font-size: 10px; }
.w-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.w-title { align-self: center; }

/* タイトルバーのタブ（メモ帳・エクスプローラー） */
.tb-tabs { display: flex; align-items: flex-end; flex: 1; min-width: 0; padding-left: 8px; }
.tb-appicon { align-self: center; display: flex; margin: 0 10px 0 6px; }
.tab {
  height: 34px; flex: 0 1 230px; min-width: 90px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 6px 0 12px; border-radius: 8px 8px 0 0;
  font-size: 12px; position: relative;
}
.tab.active { background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.tab-ico { display: flex; }
.tab-ico:empty { display: none; }
.tab-t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tab-x { width: 24px; height: 24px; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.tab-x .fi { font-size: 10px; }
.tab-dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: var(--text); margin: 0 8px; }
.tab.dirty .tab-dot { display: block; }
.tab.dirty .tab-x { display: none; }
.tab-new { align-self: center; width: 32px; height: 32px; margin-left: 2px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.tab-new .fi { font-size: 12px; }

/* ---------------- メモ帳 ---------------- */
.np { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; }
.np-menu { height: 38px; flex: none; display: flex; align-items: center; padding: 0 6px; }
.np-menu > span { padding: 6px 11px; border-radius: 4px; font-size: 13px; }
.np-gear { margin-left: auto; }
.np-edit { flex: 1; min-height: 0; position: relative; border-top: 1px solid #EDEDED; }
.np-text {
  width: 100%; height: 100%; display: block;
  border: none; outline: none; resize: none; overflow: hidden;
  padding: 6px 12px;
  font-family: Consolas, "BIZ UDGothic", "MS Gothic", monospace;
  font-size: 15px; line-height: 1.45; color: var(--text); background: #fff;
  user-select: text;
}
.np-status { height: 30px; flex: none; display: flex; align-items: center; font-size: 12px; color: var(--sub); background: #F9F9F9; border-top: 1px solid #E5E5E5; }
.np-status > span { padding: 0 16px; border-left: 1px solid #E3E3E3; }
.np-status > span:first-child { border-left: none; min-width: 120px; }
.np-status > span:nth-child(3) { margin-left: auto; }
.np-find {
  position: absolute; top: 8px; right: 20px;
  display: flex; flex-direction: column; gap: 6px;
  background: #FBFBFB; border: 1px solid rgba(0, 0, 0, .08); border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .14); padding: 6px;
}
.nf-row { display: flex; align-items: center; gap: 4px; }
.nf-tog, .nf-b { width: 30px; height: 30px; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.nf-tog .fi, .nf-b .fi { font-size: 12px; }
.nf-in { width: 230px; height: 30px; display: flex; align-items: center; gap: 2px; padding: 0 8px; border-radius: 4px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); border-bottom: 1px solid rgba(0, 0, 0, .3); font-size: 13px; }
.nf-in.focus { border-bottom: 2px solid var(--acc); }
.nf-in { outline: none; font-family: inherit; color: var(--text); min-width: 0; }
.search-selected { background: #dceafa; border-radius: 4px; }
.nf-btn { height: 30px; padding: 0 12px; display: flex; align-items: center; border-radius: 4px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); font-size: 13px; }

/* ---------------- ブラウザー ---------------- */
.br-tb { display: flex; align-items: flex-end; flex: 1; min-width: 0; padding-left: 8px; }
.br-prof, .br-tabact { align-self: center; height: 28px; display: flex; align-items: center; justify-content: center; flex: none; }
.br-prof { width: 28px; border-radius: 50%; background: #DCE5F0; color: #4A5A6C; margin-right: 4px; }
.br-prof .fi { font-size: 13px; }
.br-tabact { width: 32px; border-radius: 4px; margin-right: 6px; }
.br-tabact .fi { font-size: 14px; }
.br-tabs { display: flex; align-items: flex-end; flex: 1; min-width: 0; }
.br-tab { height: 34px; flex: 0 1 236px; min-width: 52px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 10px; border-radius: 8px 8px 0 0; font-size: 12px; position: relative; }
.br-tab.active { background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.br-tab:not(.active) + .br-tab:not(.active)::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; background: #C9C9C9; }
.fav { width: 16px; height: 16px; flex: none; border-radius: 4px; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fav-glyph { font-size: 14px; color: #5F5F5F; }
.br { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; position: relative; }
.br-bar { height: 44px; flex: none; display: flex; align-items: center; gap: 2px; padding: 0 6px; border-bottom: 1px solid #E6E6E6; }
.br-b { width: 36px; height: 32px; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex: none; }
.br-b.dis { color: #BDBDBD; }
.br-addr { flex: 1; min-width: 0; height: 32px; margin: 0 8px; padding: 0 6px 0 14px; border-radius: 16px; background: #F0F0F0; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.br-addr.focus { background: #fff; box-shadow: inset 0 0 0 2px var(--acc); }
.br-lock .fi { font-size: 12px; color: #5F5F5F; }
.br-url { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.url-path { color: #6A6A6A; }
.br-zoom .fi, .br-star .fi { font-size: 15px; }
.br-zoom, .br-star { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 14px; }
.br-zoom:empty { display: none; }
.star-on { color: var(--acc); }
.br-page { flex: 1; min-height: 0; position: relative; overflow: hidden; background: #fff; }
.br-content { position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; transition: opacity .1s; }
.reloading { opacity: .3; }

.pg { font-family: "Yu Gothic UI", "Segoe UI", sans-serif; color: #222; min-height: 100%; }
.pg-head { height: 56px; display: flex; align-items: center; gap: 40px; padding: 0 40px; color: #fff; font-size: 17px; }
.pg-head nav { display: flex; gap: 24px; font-size: 13px; opacity: .92; }
.pg-body { display: flex; gap: 32px; padding: 24px 40px; max-width: 1120px; }
.pg-body main { flex: 1; min-width: 0; }
.pg-body aside { width: 240px; flex: none; }
.pg h1 { font-size: 24px; margin: 0 0 16px; }
.pg h2 { font-size: 17px; margin: 20px 0 8px; }
.pg-line { display: block; height: 10px; border-radius: 5px; background: #E7E9EC; margin: 11px 0; }
.pg-cards { display: flex; gap: 12px; }
.pg-card { flex: 1; border: 1px solid #E5E5E5; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; }
.pg-wx { font-size: 30px; font-family: "Segoe UI Emoji"; }
.pg-news { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #EEE; }
.pg-news > div { flex: 1; }
.pg-thumb { width: 120px; height: 72px; border-radius: 6px; background: linear-gradient(135deg, #D7E1EC, #BCCBDB); flex: none; }
.pg-hero { height: 170px; border-radius: 8px; background: linear-gradient(135deg, #F3DCC0, #E2B07F); }
.pg-map { height: 250px; border-radius: 8px; background: linear-gradient(90deg, transparent 49%, #fff 49%, #fff 51%, transparent 51%) 0 0 / 120px 120px, linear-gradient(0deg, transparent 49%, #fff 49%, #fff 51%, transparent 51%) 0 0 / 160px 90px, #E4EEDC; }
.pg-price { font-size: 22px; color: #C8322B; font-weight: 700; margin: 12px 0; }
.pg-box { border: 1px solid #EEE; border-radius: 8px; padding: 12px; margin-bottom: 16px; }
.ntp { height: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 11%; background: linear-gradient(#F7F9FC, #EDF2F8); }
.ntp-search { width: min(580px, 80%); height: 46px; border-radius: 23px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); display: flex; align-items: center; gap: 12px; padding: 0 20px; color: #6A6A6A; font-size: 14px; }
.ntp-links { display: flex; gap: 14px; margin-top: 28px; }
.ntp-link { width: 84px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; padding: 10px 0; border-radius: 8px; background: rgba(255, 255, 255, .6); }
.ntp-link .fav { width: 40px; height: 40px; border-radius: 10px; font-size: 17px; }
.ntp-private { background: #1F1F1F; color: #E8E8E8; padding-top: 8%; gap: 14px; }
.ntp-private h1 { font-size: 26px; margin: 0; font-weight: 600; }
.ntp-private p { max-width: 520px; text-align: center; color: #BDBDBD; margin: 0 0 12px; font-size: 13px; }
.ntp-private .ntp-search { background: #2D2D2D; color: #BDBDBD; box-shadow: none; border: 1px solid #3A3A3A; }
.ntp-badge { padding: 4px 12px; border-radius: 12px; background: #2E5D9E; color: #fff; font-size: 12px; font-weight: 600; }
.w.br-private { background: #202020; color: #fff; border-color: #3A3A3A; }
.w.br-private .br, .w.br-private .br-tab.active { background: #2B2B2B; }
.w.br-private .br-bar { border-color: #3A3A3A; }
.w.br-private .br-addr { background: #1E1E1E; color: #E8E8E8; }
.w.br-private .br-addr.focus { background: #1E1E1E; }
.w.br-private .br-b.dis { color: #6A6A6A; }
.br-priv-pill { padding: 2px 8px; border-radius: 10px; background: #2E5D9E; color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; }
.w.br-private .br-prof { width: auto; background: none; }

.br-find { position: absolute; top: 8px; right: 16px; display: flex; align-items: center; gap: 2px; background: #fff; border-radius: 8px; box-shadow: 0 8px 16px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .07); padding: 6px; }
.bf-in { width: 240px; height: 30px; display: flex; align-items: center; gap: 2px; padding: 0 10px; border-radius: 4px; box-shadow: inset 0 -2px 0 var(--acc); background: #F7F7F7; font-size: 13px; }
.bf-n { font-size: 12px; color: var(--sub); padding: 0 8px; }
.br-find .br-b { width: 30px; height: 30px; }
.br-find .br-b .fi { font-size: 13px; }
.br-pop { position: absolute; top: 46px; right: 12px; z-index: 5; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .07); font-size: 13px; }
.br-zoompop { display: flex; align-items: center; gap: 6px; padding: 8px 10px; }
.zp-v { min-width: 48px; font-size: 14px; }
.zp-b { width: 32px; height: 32px; border: 1px solid #DEDEDE; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.zp-b .fi { font-size: 13px; }
.zp-reset { padding: 6px 12px; border: 1px solid #DEDEDE; border-radius: 4px; }
.br-favpop { width: 340px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.br-favpop b { font-size: 16px; margin-bottom: 6px; }
.br-favpop label { font-size: 12px; color: var(--sub); }
.fp-in { height: 32px; padding: 0 10px; display: flex; align-items: center; border-radius: 4px; border: 1px solid #D5D5D5; border-bottom-color: #8A8A8A; }
.fp-sel { justify-content: space-between; }
.fp-sel .fi { font-size: 11px; }
.fp-foot { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 10px; }
.fp-more { margin-right: auto; color: var(--acc); }
.br-hub { width: 380px; padding: 6px 0 10px; }
.hub-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: 16px; }
.hub-h > span { display: flex; gap: 14px; }
.hub-h .fi { font-size: 15px; }
.hub-tabs { display: flex; gap: 18px; padding: 2px 16px 8px; font-size: 13px; color: var(--sub); }
.hub-tabs .on { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--acc); padding-bottom: 4px; }
.hub-sub { padding: 6px 16px; font-size: 12px; font-weight: 600; }
.hub-row { display: flex; align-items: center; gap: 12px; padding: 8px 16px; }
.hub-t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 共通ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 80px; height: 32px; padding: 0 14px; border-radius: 4px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); border-bottom-color: rgba(0, 0, 0, .2); font-size: 13px; }
.btn.primary { background: var(--acc); color: #fff; border-color: transparent; }
.btn.dis { color: #A0A0A0; }

/* ---------------- エクスプローラー ---------------- */
.ex-tabs .tab.active { background: #F9F9F9; }
.ex { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; }
.ex-nav { height: 48px; flex: none; display: flex; align-items: center; gap: 2px; padding: 0 10px 0 8px; background: #F9F9F9; }
.nb { width: 34px; height: 32px; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex: none; }
.nb .fi { font-size: 14px; }
.nb.dis { color: #BDBDBD; }
.ex-addr { flex: 1; min-width: 0; height: 32px; margin: 0 8px 0 10px; padding: 0 4px 0 8px; display: flex; align-items: center; gap: 2px; border-radius: 4px; background: #fff; border: 1px solid #E5E5E5; font-size: 13px; overflow: hidden; white-space: nowrap; }
.ex-addr.focus { border-bottom: 2px solid var(--acc); padding-left: 10px; }
.bc-ico { display: flex; margin-right: 2px; }
.bc-sep { font-size: 9px; color: var(--sub); margin: 0 4px; }
.bc { padding: 2px 2px; }
.bc-end { margin-left: auto; width: 28px; display: flex; justify-content: center; }
.bc-end .fi { font-size: 10px; }
.bc-ref { width: 28px; display: flex; justify-content: center; }
.bc-ref .fi { font-size: 13px; }
.ex-search { width: 250px; flex: none; height: 32px; padding: 0 10px; display: flex; align-items: center; gap: 2px; border-radius: 4px; background: #fff; border: 1px solid #E5E5E5; font-size: 13px; overflow: hidden; white-space: nowrap; }
.ex-search > .fi { margin-left: auto; font-size: 13px; }
.ex-search.focus { border-bottom: 2px solid var(--acc); }
.ex-cmd { height: 48px; flex: none; display: flex; align-items: center; gap: 2px; padding: 0 10px; background: #F9F9F9; border-top: 1px solid #EBEBEB; border-bottom: 1px solid #EBEBEB; overflow: hidden; }
.cb { height: 32px; min-width: 36px; flex-shrink: 0; padding: 0 8px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; font-size: 13px; white-space: nowrap; }
.ex { container-type: inline-size; }
@container (max-width: 760px) { .ex-cmd .cb > span:not(.fi) { display: none; } .ex-cmd .cb { gap: 4px; padding: 0 5px; min-width: 30px; } .ex-cmd .cb-sep { margin: 0 4px; } }
.desk-icon.selected { background: #ffffff35; outline: 1px solid #ffffff70; }
.snip-selection { position: absolute; border: 2px solid white; box-shadow: 0 0 0 9999px #0005; animation: snip-drag .45s ease-out; }
@keyframes snip-drag { from { width: 4px; height: 4px; } }
.snip-notification { position: absolute; right: 14px; bottom: 16px; width: 340px; padding: 16px; border-radius: 8px; background: #fafafa; color: #222; box-shadow: 0 6px 24px #0003; font-size: 12px; }
.snip-notification strong { display: block; margin-top: 10px; font-weight: 400; }
.snip-preview { height: 140px; margin-top: 10px; overflow: hidden; background: white; }
.snip-preview > .pg-map { height: 140px; }
.pg-map { position: relative; }
.map-station, .map-venue, .map-road { position: absolute; font-size: 13px; }
.map-station { left: 12%; top: 44%; background: #3f7eb0; color: white; padding: 2px 8px; }
.map-venue { left: 62%; top: 27%; color: #b52424; font-weight: 600; }
.map-road { left: 42%; top: 74%; color: #56654e; }
.pdf-viewer { min-height: 100%; background: #d8dadd; padding-bottom: 24px; }
.pdf-toolbar { height: 46px; display: flex; align-items: center; gap: 36px; padding: 0 20px; background: #f6f6f6; border-bottom: 1px solid #bbb; font-size: 13px; }
.pdf-sheet { margin: 20px auto 0; padding: 32px; width: 85%; min-height: 550px; background: white; box-shadow: 0 1px 5px #0003; }
.cb-accent { color: var(--acc); }
.cb-chev { font-size: 9px; }
.cb-sep { width: 1px; height: 24px; background: #E0E0E0; margin: 0 6px; flex: none; }
.cb-right { margin-left: auto; }
.ex-main { flex: 1; min-height: 0; display: flex; }
.ex-pane { width: 210px; flex: none; padding: 6px 6px; border-right: 1px solid #EBEBEB; overflow: hidden; }
.np-item { height: 32px; display: flex; align-items: center; gap: 12px; padding: 0 10px 0 26px; border-radius: 4px; font-size: 13px; white-space: nowrap; }
.np-item.on { background: rgba(0, 0, 0, .055); }
.np-pin { margin-left: auto; font-size: 12px; color: #8A8A8A; }
.np-sep { height: 1px; background: #E5E5E5; margin: 6px 8px; }
.ex-list { flex: 1; min-width: 0; overflow: hidden; padding: 0 10px; font-size: 13px; transition: opacity .1s; }
.xl-head, .xl-row { display: grid; grid-template-columns: minmax(200px, 2.3fr) 1.3fr 1.8fr .7fr; align-items: center; }
.xl-head { height: 32px; font-size: 12px; color: var(--sub); }
.xl-head span { padding: 0 8px; border-right: 1px solid #EFEFEF; }
.xl-row { height: 30px; border-radius: 4px; }
.xl-row > span { padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--sub); }
.xl-row > .xl-name { display: flex; align-items: center; gap: 8px; color: var(--text); }
.xl-name > span { overflow: hidden; text-overflow: ellipsis; }
.xl-row.sel { background: #CCE8FF; }
.xl-row.cut .xl-name svg { opacity: .45; }
.xl-size { text-align: right; }
.xl-3 { grid-template-columns: minmax(200px, 2.3fr) 1.3fr 2fr; }
.xh .xl-head { grid-template-columns: minmax(200px, 2.3fr) 1.3fr 2fr; }
.xl-ren { border: 1px solid var(--acc); background: #fff; padding: 1px 3px; color: var(--text); }
.ex-status { height: 30px; flex: none; display: flex; align-items: center; gap: 28px; padding: 0 14px; font-size: 12px; color: var(--sub); }
.xs-r { margin-left: auto; display: flex; gap: 4px; }
.xs-r .fi { width: 24px; height: 22px; font-size: 13px; border-radius: 3px; }
.xs-r .on { background: #E6E6E6; }
.xh { padding: 4px 0; }
.xh-h { display: flex; align-items: center; gap: 10px; padding: 10px 6px; font-size: 14px; }
.xh-h .fi { font-size: 10px; }
.xh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px; margin-bottom: 6px; }
.xh-tile { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 4px; }
.xh-tile .np-pin { margin-left: auto; }
.spf { position: relative; display: inline-flex; flex: none; }
.spf .fi { position: absolute; right: 3px; bottom: 5px; }

/* ---------------- ダイアログ（従来型） ---------------- */
.dlg { position: absolute; display: flex; flex-direction: column; max-height: calc(100% - var(--work-top)); background: #fff; border: 1px solid rgba(0, 0, 0, .3); border-radius: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .32); overflow: hidden; font-size: 12px; font-family: "Yu Gothic UI", "Segoe UI", sans-serif; }
.dlg-tb { height: 32px; flex: none; display: flex; align-items: center; gap: 8px; padding-left: 10px; }
.dlg-tb .w-cap { margin-left: auto; height: 32px; }
.dlg-ico .fi { font-size: 15px; color: #2C8DE0; }
.dlg .btn { min-width: 76px; height: 24px; padding: 0 10px; border-radius: 3px; background: #E1E1E1; border: 1px solid #ADADAD; font-size: 12px; color: var(--text); }
.dlg .btn.primary { background: #E5F1FB; border: 1px solid var(--acc); box-shadow: inset 0 0 0 1px var(--acc); color: var(--text); }
.dlg .btn.dis { color: #A0A0A0; }
.dlg-foot, .run-foot { display: flex; flex: none; justify-content: flex-end; gap: 8px; padding: 12px 12px; background: #F0F0F0; border-top: 1px solid #DFDFDF; }
.run { left: 12px; bottom: 12px; width: 410px; }
.run-body { padding: 12px 16px 18px; }
.run-row { display: flex; gap: 14px; align-items: flex-start; }
.run-icon .fi { font-size: 32px; color: #2C8DE0; }
.run-row p { margin: 0; line-height: 1.55; }
.run-field { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.combo { flex: 1; height: 24px; border: 1px solid #7A7A7A; display: flex; align-items: center; justify-content: space-between; padding: 0 2px 0 3px; }
.combo .fi { font-size: 10px; }
.delconf { width: 450px; }
.dc-body { padding: 16px 22px 20px; }
.dc-body p { margin: 0 0 16px; font-size: 14px; color: #003399; }
.dc-file { display: flex; gap: 18px; align-items: center; }
.dc-file > div { display: flex; flex-direction: column; gap: 3px; }
.props { width: 380px; background: #F0F0F0; }
.props-tabs { display: flex; padding: 6px 8px 0; position: relative; z-index: 1; }
.props-tabs span { padding: 3px 10px; border: 1px solid transparent; }
.props-tabs .on { background: #fff; border: 1px solid #D9D9D9; border-bottom-color: #fff; }
.props-body { min-height: 0; overflow: auto; background: #fff; border: 1px solid #D9D9D9; margin: -1px 8px 0; padding: 12px 14px; }
.props-body hr { border: none; border-top: 1px solid #DCDCDC; margin: 10px 0; }
.pr-name { display: flex; align-items: center; gap: 22px; }
.pr-in { flex: 1; height: 22px; padding: 2px 4px; border: 1px solid #7A7A7A; }
.pr-row { display: grid; grid-template-columns: 92px 1fr; margin: 6px 0; align-items: start; }
.pr-row > span:last-child { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.chk { width: 13px; height: 13px; border: 1px solid #333; display: inline-block; }
.props .dlg-foot { border-top: none; }

/* ---------------- フライアウト（スタート・検索など） ---------------- */
.flyout {
  position: absolute;
  background: rgba(242, 242, 242, .93);
  backdrop-filter: blur(48px) saturate(1.6);
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 8px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, .24), 0 2px 21px rgba(0, 0, 0, .16);
}
.start-menu { left: 50%; margin-left: -320px; bottom: 12px; width: 640px; height: 720px; max-height: calc(100% - var(--work-top) - 24px); display: flex; flex-direction: column; overflow: hidden; }
.sm-search { margin: 32px 32px 0; height: 36px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 18px; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-bottom-color: rgba(0, 0, 0, .25); font-size: 13px; }
.sm-search .fi { font-size: 14px; }
.sm-sec { padding: 22px 32px 0; }
.sm-h { display: flex; justify-content: space-between; align-items: center; padding: 0 22px 0 26px; margin-bottom: 10px; font-size: 14px; }
.sm-pill { display: flex; align-items: center; gap: 8px; height: 24px; padding: 0 8px; border-radius: 4px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(0, 0, 0, .06); font-size: 12px; }
.sm-pill .fi { font-size: 9px; }
.sm-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.sm-app { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 2px 10px; border-radius: 4px; font-size: 12px; text-align: center; min-width: 0; }
.sm-app > span:last-child { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.app-glyph { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.app-glyph > svg { position: absolute; inset: 0; }
.app-glyph > .fi { position: relative; color: #fff; }
.sm-rec-sec { flex: 1; min-height: 0; overflow: auto; }
.sm-rec { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding: 0 12px; }
.sm-rec-item { display: flex; align-items: center; gap: 14px; padding: 8px 12px; font-size: 12px; border-radius: 4px; }
.sm-foot { height: 64px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 52px; background: rgba(0, 0, 0, .03); border-top: 1px solid rgba(0, 0, 0, .07); }
.sm-user { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #D4DCE5; color: #4E5D6E; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.avatar.big { width: 58px; height: 58px; }
.avatar.big .fi { font-size: 26px; }

.search-pane { left: 50%; margin-left: -400px; bottom: 12px; width: 800px; height: 660px; max-height: calc(100% - var(--work-top) - 24px); display: flex; flex-direction: column; overflow: hidden; }
.sp-box { margin: 24px 24px 14px; height: 40px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 20px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); box-shadow: inset 0 -2px 0 var(--acc); font-size: 14px; }
.sp-box .caret { margin-right: -12px; }
.sp-tabs { display: flex; gap: 4px; padding: 0 22px; font-size: 13px; align-items: center; }
.sp-tabs span { padding: 4px 10px; border-radius: 4px; position: relative; }
.sp-tabs .on { font-weight: 600; }
.sp-tabs .on::after { content: ''; position: absolute; left: 35%; right: 35%; bottom: -4px; height: 3px; border-radius: 2px; background: var(--acc); }
.sp-more { margin-left: auto; }
.sp-cols { flex: 1; min-height: 0; display: flex; gap: 14px; padding: 18px 24px 24px; }
.sp-left, .sp-right { background: rgba(255, 255, 255, .65); border: 1px solid rgba(0, 0, 0, .05); border-radius: 8px; padding: 16px; overflow: auto; }
.sp-left { width: 300px; flex: none; }
.sp-right { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sp-row { display: flex; align-items: center; gap: 12px; padding: 9px 6px; font-size: 13px; }
.sp-left b { display: block; margin-bottom: 4px; }
.sp-apps { display: grid; grid-template-columns: repeat(3, 1fr); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chips span { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); font-size: 13px; }

.quick { right: 12px; bottom: 12px; width: 360px; }
.qs-main-area { padding: 24px 22px 20px; }
.qs-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
.qs-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; text-align: center; line-height: 1.25; }
.qs-btn { width: 96px; height: 48px; border-radius: 6px; display: flex; overflow: hidden; background: rgba(255, 255, 255, .75); border: 1px solid rgba(0, 0, 0, .07); border-bottom-color: rgba(0, 0, 0, .14); }
.qs-btn.on { background: var(--acc); color: #fff; border-color: var(--acc); }
.qs-btn .qs-main { flex: 1; display: flex; align-items: center; justify-content: center; }
.qs-chev { width: 32px; display: flex; align-items: center; justify-content: center; border-left: 1px solid rgba(0, 0, 0, .08); }
.qs-btn.on .qs-chev { border-left-color: rgba(255, 255, 255, .35); }
.qs-chev .fi { font-size: 10px; }
.qs-slider { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-left: 4px; }
.sl { flex: 1; height: 4px; border-radius: 2px; background: #8A8A8A; position: relative; }
.sl i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc); border-radius: 2px; }
.sl b { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid rgba(0, 0, 0, .1); transform: translate(-50%, -50%); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.sl b::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--acc); }
.qs-sl-end { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.qs-sl-end .fi { font-size: 12px; }
.qs-foot { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-top: 1px solid rgba(0, 0, 0, .07); background: rgba(0, 0, 0, .03); border-radius: 0 0 8px 8px; font-size: 12px; }
.qs-foot > span { display: flex; align-items: center; gap: 10px; }
.qs-foot-r { gap: 22px !important; }

.notif { right: 12px; bottom: 12px; width: 360px; max-height: calc(100% - var(--work-top) - 24px); overflow: auto; background: none; border: none; box-shadow: none; backdrop-filter: none; display: flex; flex-direction: column; gap: 12px; }
.nc-panel { flex: none; }
.nc-panel { background: rgba(242, 242, 242, .93); backdrop-filter: blur(48px) saturate(1.6); border: 1px solid rgba(0, 0, 0, .09); border-radius: 8px; box-shadow: 0 24px 48px rgba(0, 0, 0, .2); }
.nc-top { min-height: 130px; display: flex; flex-direction: column; }
.nc-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 14px; }
.nc-ico .fi { font-size: 12px; }
.nc-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--sub); font-size: 13px; padding-bottom: 24px; }
.nc-cal .nc-h { border-bottom: 1px solid rgba(0, 0, 0, .07); }
.cal-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 2px 20px; font-size: 14px; }
.cal-nav { display: flex; gap: 22px; }
.cal-nav .fi { font-size: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); padding: 4px 10px 8px; font-size: 13px; }
.cal-grid span { height: 40px; display: flex; align-items: center; justify-content: center; }
.cal-grid .wk { height: 34px; }
.cal-grid .dim { color: #9A9A9A; }
.cal-grid .today { width: 36px; height: 36px; margin: 2px auto; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 600; }
.nc-focus { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid rgba(0, 0, 0, .07); font-size: 13px; }
.nc-step { width: 32px; height: 32px; border-radius: 4px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); display: flex; align-items: center; justify-content: center; }
.nc-step .fi { font-size: 12px; }
.nc-min { padding: 0 8px; }
.nc-start { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 4px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); }
.nc-start .fi { font-size: 12px; }

.snip { position: absolute; left: 0; right: 0; top: 0; bottom: -48px; background: rgba(0, 0, 0, .42); }
.snip-bar { position: absolute; top: calc(var(--work-top) + 12px); left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 6px; border-radius: 8px; background: #F3F3F3; border: 1px solid rgba(0, 0, 0, .1); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.snip-btn { width: 40px; height: 36px; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.snip-btn.on { background: rgba(0, 0, 0, .07); }
.snip-sep { width: 1px; background: #D2D2D2; margin: 6px 4px; }

.emoji-panel { width: 360px; height: 460px; display: flex; flex-direction: column; overflow: hidden; }
.ep-head { height: 26px; flex: none; display: flex; align-items: center; justify-content: center; position: relative; }
.ep-grip { width: 36px; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, .18); }
.ep-x { position: absolute; right: 10px; top: 8px; }
.ep-x .fi { font-size: 10px; }
.ep-search { margin: 4px 12px 8px; height: 32px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 4px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); border-bottom-color: rgba(0, 0, 0, .3); color: var(--sub); font-size: 13px; }
.ep-search .fi { font-size: 13px; }
.ep-tabs { display: flex; gap: 4px; padding: 0 12px 8px; border-bottom: 1px solid rgba(0, 0, 0, .07); flex: none; }
.ep-tabs span { flex: 1; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 13px; font-weight: 600; }
.ep-tabs .on { background: rgba(255, 255, 255, .85); box-shadow: inset 0 -2px 0 var(--acc); }
.ep-content { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 8px 12px; }
.ep-sub { font-size: 12px; font-weight: 600; margin: 2px 0 6px; }
.ep-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; flex: 1; align-content: start; }
.ep-grid span { height: 38px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-family: "Segoe UI Emoji"; border-radius: 4px; }
.ep-cats { display: flex; justify-content: space-between; padding-top: 6px; border-top: 1px solid rgba(0, 0, 0, .07); }
.ep-cats span { font-size: 15px; padding: 4px 6px; border-radius: 4px; font-family: "Segoe UI Emoji"; }
.ep-cats .on { background: rgba(0, 0, 0, .07); }
.ep-clip-h { display: flex; justify-content: space-between; align-items: center; }
.ep-clear { color: var(--acc); font-weight: 400; }
.clip-list { display: flex; flex-direction: column; gap: 6px; }
.clip-item { min-height: 52px; display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 6px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); font-size: 13px; }
.clip-item.on { box-shadow: 0 0 0 2px var(--text); }
.clip-acts { display: flex; flex-direction: column; gap: 10px; color: var(--sub); }
.clip-acts .fi { font-size: 12px; }

.taskview { position: absolute; inset: var(--work-top) 0 0; display: flex; flex-direction: column; background: rgba(214, 226, 240, .6); backdrop-filter: blur(36px) saturate(1.3); }
.tv-wins { flex: 1; min-height: 0; display: flex; flex-wrap: wrap; align-content: center; align-items: flex-start; justify-content: center; gap: 24px; padding: 20px 40px; overflow: auto; }
.tv-card, .sa-card { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 8px; }
.tv-card.sel { box-shadow: 0 0 0 3px var(--text); }
.tv-cap { display: flex; align-items: center; gap: 8px; font-size: 12px; max-width: 340px; white-space: nowrap; overflow: hidden; }
.tv-cap span { overflow: hidden; text-overflow: ellipsis; }
.thumb { position: relative; overflow: hidden; border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); flex: none; }
.thumb > .w { position: absolute; }
.tv-desks { height: 156px; flex: none; display: flex; justify-content: center; align-items: center; gap: 18px; background: rgba(243, 243, 243, .78); border-top: 1px solid rgba(0, 0, 0, .06); }
.tv-desk { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.tv-desk-thumb { width: 176px; height: 99px; border-radius: 6px; background: var(--wall); }
.tv-desk.on .tv-desk-thumb { box-shadow: 0 0 0 2px var(--text); }
.tv-new .tv-desk-thumb { background: rgba(255, 255, 255, .65); border: 1px solid rgba(0, 0, 0, .06); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }

.alttab { position: absolute; inset: var(--work-top) 0 0; display: flex; align-items: center; justify-content: center; }
.at-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 92%; padding: 14px; border-radius: 8px; background: rgba(242, 242, 242, .88); backdrop-filter: blur(48px) saturate(1.5); border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 32px 64px rgba(0, 0, 0, .26); }
.at-item { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 8px; }
.at-item.sel { box-shadow: 0 0 0 3px var(--text); }
.at-cap { display: flex; align-items: center; gap: 8px; font-size: 12px; max-width: 240px; }
.at-cap > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.at-x { visibility: hidden; }
.at-x .fi { font-size: 10px; }
.at-item.sel .at-x { visibility: visible; }

.snap-assist { position: absolute; top: var(--work-top); display: flex; align-items: center; justify-content: center; background: rgba(205, 218, 233, .55); backdrop-filter: blur(24px); }
.sa-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 20px; }

/* 高さの小さいモニターでも、Windows の各パネルを収める */
@media (max-height: 864px) {
  .sm-search { margin: 16px 24px 0; }
  .sm-sec { padding: 12px 24px 0; }
  .sm-app { gap: 4px; padding: 6px 2px; }
  .sm-foot { height: 48px; }
  .nc-top { min-height: 80px; }
  .nc-empty { padding-bottom: 12px; }
  .cal-grid span { height: 26px; }
  .cal-grid .wk { height: 26px; }
  .cal-grid .today { width: 26px; height: 26px; margin: 0 auto; }
}

.project { right: 12px; bottom: 12px; width: 360px; }
.pj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; }
.pj-tile { height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(0, 0, 0, .07); font-size: 12px; }
.pj-tile.on { background: var(--acc); color: #fff; border-color: var(--acc); }
.pj-foot { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid rgba(0, 0, 0, .07); font-size: 13px; color: var(--acc); }

.vd-toast { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); padding: 14px 30px; border-radius: 8px; background: rgba(242, 242, 242, .92); backdrop-filter: blur(30px); border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 16px 40px rgba(0, 0, 0, .25); font-size: 18px; }

/* ---------------- 設定 ---------------- */
.st-tb { display: flex; align-items: center; gap: 12px; padding-left: 6px; flex: 1; min-width: 0; font-size: 12px; }
.st-back { width: 40px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.st-back .fi { font-size: 12px; }
.st { flex: 1; min-height: 0; display: flex; background: var(--mica); }
.st-side { width: 300px; flex: none; padding: 6px 12px 0 16px; overflow: auto; }
.st-user { display: flex; align-items: center; gap: 14px; padding: 8px 4px 18px; }
.st-search { height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; margin-bottom: 10px; border-radius: 4px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); border-bottom-color: rgba(0, 0, 0, .22); font-size: 13px; }
.st-search .fi { font-size: 13px; }
.st-nav { height: 36px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-radius: 4px; font-size: 13px; position: relative; white-space: nowrap; }
.st-nav.on { background: rgba(0, 0, 0, .05); }
.st-nav.on::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--acc); }
.st-main { flex: 1; min-width: 0; padding: 4px 36px 0 16px; overflow: auto; }
.st-main h1 { font-size: 28px; font-weight: 600; margin: 4px 0 22px; }
.st-pc { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.st-pcimg { width: 104px; height: 66px; border-radius: 4px; background: var(--wall); border: 3px solid #2B2B2B; flex: none; }
.st-pc b { display: block; font-size: 16px; }
.st-link { color: var(--acc); font-size: 12px; }
.st-pcinfo { margin-left: auto; display: flex; gap: 28px; }
.st-pcinfo > div { display: flex; gap: 12px; align-items: center; font-size: 13px; }
.st-pcinfo b { font-size: 13px; font-weight: 400; }
.st-pcinfo .fi { font-size: 22px; color: var(--acc); }
.st-card { height: 68px; display: flex; align-items: center; gap: 18px; padding: 0 16px 0 18px; margin-bottom: 4px; border-radius: 4px; background: var(--card); border: 1px solid var(--stroke); }
.st-card > .fi { font-size: 20px; }
.st-card b { font-weight: 400; }
.st-chev { margin-left: auto; font-size: 12px !important; }

/* ---------------- タスク マネージャー ---------------- */
.tm-search { margin: 0 auto; width: min(460px, 46%); height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 4px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); font-size: 12px; white-space: nowrap; overflow: hidden; }
.tm-search .fi { font-size: 12px; }
.tm { flex: 1; min-height: 0; display: flex; background: var(--mica); }
.tm-side { width: 220px; flex: none; padding: 2px 4px 6px; display: flex; flex-direction: column; }
.tm-ham { width: 40px; height: 36px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.tm-nav { height: 38px; display: flex; align-items: center; gap: 14px; padding: 0 12px; border-radius: 4px; font-size: 13px; position: relative; white-space: nowrap; }
.tm-nav.on { background: rgba(0, 0, 0, .05); }
.tm-nav.on::before { content: ''; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 2px; background: var(--acc); }
.tm-set { margin-top: auto; }
.tm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--stroke); border-right: none; border-bottom: none; border-top-left-radius: 8px; }
.tm-h { display: flex; align-items: center; padding: 14px 20px; font-size: 20px; }
.tm-acts { margin-left: auto; display: flex; gap: 4px; font-size: 13px; }
.tm-acts > span { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 4px; white-space: nowrap; }
.tm-acts .fi { font-size: 14px; }
.tm-acts .dis { color: #A0A0A0; }
.tm-table { flex: 1; min-height: 0; overflow: auto; }
.tm-row { display: grid; grid-template-columns: minmax(220px, 3fr) 1fr repeat(4, .9fr); align-items: center; height: 32px; font-size: 12px; padding: 0 0 0 12px; }
.tm-head { height: 54px; border-bottom: 1px solid #EEE; color: var(--sub); }
.tm-head > span { text-align: right; padding: 0 10px; }
.tm-head > span:nth-child(-n+2) { text-align: left; align-self: end; padding-bottom: 8px; }
.tm-head b { display: block; font-size: 15px; color: var(--text); font-weight: 400; }
.tm-group { grid-template-columns: 1fr; height: 40px; font-size: 13px; font-weight: 600; }
.tm-name { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.tm-exp { font-size: 8px !important; color: #8A8A8A; }
.tm-v { text-align: right; padding: 0 10px; height: 100%; display: flex; align-items: center; justify-content: flex-end; background: #FFF8D6; border-left: 1px solid #fff; }

/* ---------------- アニメーション ---------------- */
.anim-open { animation: wOpen .22s cubic-bezier(.1, .9, .2, 1); }
@keyframes wOpen { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.anim-close { animation: wClose .16s ease-in forwards; }
@keyframes wClose { to { opacity: 0; transform: scale(.94); } }
.anim-min { animation: wMin .2s ease-in forwards; }
@keyframes wMin { to { opacity: 0; transform: translateY(45%) scale(.5); } }
.w-move { transition: left .2s cubic-bezier(.1, .9, .2, 1), top .2s cubic-bezier(.1, .9, .2, 1), width .2s cubic-bezier(.1, .9, .2, 1), height .2s cubic-bezier(.1, .9, .2, 1); }
.fly-up { animation: flyUp .26s cubic-bezier(.1, .9, .2, 1); }
@keyframes flyUp { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
.fly-right { animation: flyRight .26s cubic-bezier(.1, .9, .2, 1); }
@keyframes flyRight { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fadeIn .16s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.snip-bar.fade-in, .vd-toast.fade-in { animation-name: fadeIn; }
.vd-out-left { animation: vdOutL .18s ease-in forwards; }
.vd-out-right { animation: vdOutR .18s ease-in forwards; }
.vd-in-right { animation: vdInR .18s ease-out; }
.vd-in-left { animation: vdInL .18s ease-out; }
@keyframes vdOutL { to { opacity: 0; transform: translateX(-180px); } }
@keyframes vdOutR { to { opacity: 0; transform: translateX(180px); } }
@keyframes vdInR { from { opacity: 0; transform: translateX(180px); } }
@keyframes vdInL { from { opacity: 0; transform: translateX(-180px); } }
