/* インスタディレクター（運営用）— GoAlブランド: オレンジグラデ #B51D23→#E55E0E / テキスト #2f2630
   サムネイル（競合リールのカバー）が画面の主役。UIは白基調＋オレンジの差し色。 */
:root {
  --red: #b51d23;
  --orange: #e55e0e;
  --grad: linear-gradient(135deg, #b51d23 0%, #e55e0e 100%);
  --ink: #2f2630;
  --sub: #7a7280;
  --line: #e9e3e6;
  --tint: #fbf3ef;
  --tint2: #f4eef0;
  --bg: #f7f4f5;
  --card: #fff;
  --ok: #2fa06a;
  --warn: #b06000;
  --danger: #c0392b;
  --yui: #a76674;
  --taiga: #1c2e69;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom);
}
button, input, textarea, select { font-family: inherit; }
a { color: var(--red); }
[hidden] { display: none !important; }

.loading-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--grad); color: #fff; }
.loading-icon { width: 72px; height: 72px; border-radius: 18px; background: #fff; padding: 8px; margin-bottom: .8rem; }
.loading-logo { font-size: 1.4rem; font-weight: 900; letter-spacing: .06em; }
.loading-sub { opacity: .85; margin-top: .3rem; font-size: .82rem; }

.muted { color: var(--sub); }
.center { text-align: center; }
.small { font-size: .8rem; }
.form-error { color: var(--danger); font-size: .86rem; margin: .5rem 0; min-height: 1.2em; }
.pre { white-space: pre-wrap; word-break: break-word; }

/* ---- auth ---- */
.auth-wrap { min-height: 100vh; background: var(--grad); display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.auth-card { background: #fff; border-radius: 20px; padding: 1.8rem 1.4rem; width: 100%; max-width: 420px; box-shadow: 0 18px 50px rgba(60,10,10,.35); }
.auth-brand { text-align: center; margin-bottom: 1.2rem; }
.auth-brand img { width: 56px; height: 56px; border-radius: 14px; margin-bottom: .5rem; }
.auth-brand .b1 { font-size: 1.3rem; font-weight: 900; color: var(--ink); }
.auth-brand .b2 { color: var(--sub); font-size: .86rem; margin-top: .15rem; }
.field { margin-bottom: .85rem; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.field input, .field select { width: 100%; padding: .78rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; background: #fdfbfb; color: var(--ink); }
.field input:focus, textarea:focus, .field select:focus { outline: none; border-color: var(--orange); background: #fff; }
textarea { width: 100%; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; background: #fdfbfb; color: var(--ink); resize: vertical; min-height: 88px; }
.btn { display: block; width: 100%; padding: .85rem; border: none; border-radius: 12px; background: var(--grad); color: #fff; font-size: 1rem; font-weight: 800; cursor: pointer; }
.btn:disabled { opacity: .5; }
.btn.secondary { background: var(--tint2); color: var(--ink); }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn.small { display: inline-block; width: auto; padding: .5rem .85rem; font-size: .84rem; border-radius: 9px; text-decoration: none; }
.btn.ok { background: var(--ok); }
.btn.gray { background: #9a929c; }
.btn.danger { background: #fff; color: var(--danger); border: 1.5px solid #f0c9c4; }
.seg { display: flex; background: var(--tint2); border-radius: 12px; padding: 4px; margin-bottom: 1rem; }
.seg button { flex: 1; border: none; background: none; padding: .55rem; border-radius: 9px; font-size: .92rem; font-weight: 700; color: var(--sub); cursor: pointer; }
.seg button.on { background: #fff; color: var(--red); box-shadow: 0 2px 8px rgba(60,10,10,.1); }
.auth-switch { text-align: center; margin-top: 1rem; font-size: .84rem; color: var(--sub); }

/* ---- shell ---- */
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); padding: calc(.55rem + env(safe-area-inset-top)) .9rem .55rem; display: flex; align-items: center; gap: .5rem; }
.topbar .back { background: none; border: none; color: var(--ink); font-size: 1.5rem; padding: 0 .4rem; cursor: pointer; line-height: 1; }
.topbar .title { font-weight: 900; font-size: 1.02rem; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-pill { display: inline-flex; align-items: center; gap: .35rem; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: .28rem .7rem .28rem .4rem; font-size: .8rem; font-weight: 800; color: var(--ink); cursor: pointer; }
.acct-pill i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.acct-pill.yui i { background: var(--yui); } .acct-pill.taiga i { background: var(--taiga); }
.acct-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(40,20,25,.45); display: flex; align-items: flex-end; }
.acct-sheet .box { background: #fff; width: 100%; border-radius: 18px 18px 0 0; padding: 1rem 1rem calc(1.2rem + env(safe-area-inset-bottom)); }
.acct-sheet h4 { font-size: .9rem; color: var(--sub); margin-bottom: .5rem; }
.acct-opt { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .8rem .6rem; border: none; background: none; border-radius: 12px; font-size: 1rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.acct-opt.on { background: var(--tint); }
.acct-opt i { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.acct-opt span { font-size: .76rem; color: var(--sub); font-weight: 500; margin-left: auto; }
.container { max-width: 680px; margin: 0 auto; padding: .9rem .9rem 5rem; }
.section { background: var(--card); border-radius: var(--radius); padding: .95rem 1rem; margin-bottom: .9rem; box-shadow: 0 3px 14px rgba(60,20,20,.05); }
.section h3 { font-size: .98rem; font-weight: 900; margin-bottom: .5rem; display: flex; align-items: center; gap: .4rem; }
.section h3 .more { margin-left: auto; font-size: .76rem; color: var(--red); font-weight: 700; background: none; border: none; cursor: pointer; }
.chips { display: flex; gap: .4rem; overflow-x: auto; padding: .1rem 0 .5rem; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: .32rem .8rem; font-size: .8rem; font-weight: 700; color: var(--sub); cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip b { margin-left: .3rem; font-size: .72rem; opacity: .8; }
.badge { display: inline-block; font-size: .68rem; font-weight: 800; border-radius: 99px; padding: .1rem .5rem; background: var(--tint2); color: var(--sub); vertical-align: middle; }
.badge.red { background: #fdeaea; color: var(--danger); }
.badge.orange { background: #fdf0e2; color: var(--warn); }
.badge.green { background: #e8f5ee; color: var(--ok); }
.badge.blue { background: #e8eefb; color: #2a4a9a; }
.badge.pend { background: #fff4d6; color: #8a6200; }
.badge.yui { background: #f6e6ea; color: var(--yui); } .badge.taiga { background: #e6e9f3; color: var(--taiga); }
.toast { position: fixed; left: 50%; bottom: calc(4.6rem + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); background: rgba(47,38,48,.94); color: #fff; padding: .6rem 1.1rem; border-radius: 99px; font-size: .85rem; opacity: 0; pointer-events: none; transition: all .25s; z-index: 99; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- tabbar ---- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: .3rem 0 calc(.3rem + env(safe-area-inset-bottom)); }
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .1rem; border: none; background: none; color: #a39ba6; font-size: .62rem; font-weight: 700; cursor: pointer; padding: .2rem 0; position: relative; }
.tabbar button svg { width: 22px; height: 22px; }
.tabbar button.on { color: var(--red); }
.tabbar .dot { position: absolute; top: 0; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 99px; background: var(--red); color: #fff; font-size: .6rem; line-height: 16px; padding: 0 4px; }
body.has-tabbar { padding-bottom: calc(3.6rem + env(safe-area-inset-bottom)); }

/* ---- home ---- */
.hero { background: var(--grad); color: #fff; padding: calc(.9rem + env(safe-area-inset-top)) 1rem 2.6rem; }
.hero-top { display: flex; align-items: center; gap: .6rem; }
.hero-top .hi { font-size: .8rem; opacity: .9; flex: 1; }
.hero-top .bell { background: rgba(255,255,255,.18); border: none; color: #fff; border-radius: 9px; padding: .38rem .6rem; font-size: .85rem; cursor: pointer; position: relative; }
.hero-top .bell i { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; border-radius: 99px; background: #fff; color: var(--red); font-size: .62rem; font-weight: 900; line-height: 16px; padding: 0 4px; font-style: normal; }
.hero .acct-pill { background: rgba(255,255,255,.95); border-color: transparent; }
.kpi-card { max-width: 680px; margin: -2rem auto 0; padding: 0 .9rem; position: relative; z-index: 5; }
.kc { display: block; width: 100%; text-align: left; background: #fff; border: none; cursor: pointer; border-radius: 16px; padding: .95rem 1.05rem 1rem; box-shadow: 0 12px 30px rgba(60,20,20,.14); border-top: 4px solid var(--orange); }
.kc.yui { border-top-color: var(--yui); } .kc.taiga { border-top-color: var(--taiga); }
.kc-top { display: flex; justify-content: space-between; align-items: center; }
.kc-label { font-size: .74rem; font-weight: 800; color: var(--sub); letter-spacing: .04em; }
.kc-main { display: flex; align-items: flex-end; gap: .6rem; margin-top: .1rem; }
.kc-num { font-size: 2.3rem; font-weight: 900; line-height: 1.15; color: var(--ink); letter-spacing: .01em; }
.kc-num small { font-size: .85rem; color: var(--sub); font-weight: 700; margin-left: .15rem; }
.kc-target { font-size: .8rem; color: var(--sub); padding-bottom: .35rem; }
.kc-target b { color: var(--ink); }
.kc-bar { height: 8px; border-radius: 99px; background: var(--tint2); overflow: hidden; margin-top: .5rem; }
.kc-bar span { display: block; height: 100%; border-radius: 99px; background: var(--grad); }
.kc-pace { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; }
.kc-pace div { background: var(--tint); border-radius: 10px; padding: .45rem .6rem; font-size: .74rem; color: var(--sub); }
.kc-pace b { display: block; font-size: 1.05rem; color: var(--ink); }
.kc-pace .st-red b { color: var(--danger); } .kc-pace .st-yellow b { color: var(--warn); } .kc-pace .st-green b { color: var(--ok); }
.kc-spark { margin-top: .5rem; }
.kc-spark svg { width: 100%; height: 44px; display: block; }
.kc-foot { font-size: .72rem; color: var(--sub); margin-top: .35rem; }

.todo-list { display: flex; flex-direction: column; gap: .45rem; }
.todo { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .7rem .8rem; border: none; background: var(--tint); border-radius: 12px; cursor: pointer; font-family: inherit; color: var(--ink); }
.todo .n { min-width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 900; font-size: 1rem; display: flex; align-items: center; justify-content: center; padding: 0 .4rem; flex: none; }
.todo .n.gray { background: #cfc8cc; }
.todo .t { flex: 1; font-weight: 800; font-size: .9rem; }
.todo .t span { display: block; font-size: .72rem; color: var(--sub); font-weight: 500; }
.todo .go { color: #b8b0b5; }
.todo.done { opacity: .55; }

.reel-strip { display: flex; gap: .55rem; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .2rem; }
.reel-strip::-webkit-scrollbar { display: none; }
.rs-item { flex: none; width: 116px; text-align: left; border: none; background: none; padding: 0; cursor: pointer; }
.rs-item .th { width: 116px; height: 174px; border-radius: 12px; background: var(--tint2) center/cover no-repeat; position: relative; overflow: hidden; }
.rs-item .th .pl { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: .68rem; font-weight: 800; border-radius: 6px; padding: .1rem .4rem; }
.rs-item .cap { font-size: .72rem; color: var(--ink); margin-top: .3rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.weekly-sum { font-size: .84rem; white-space: pre-wrap; line-height: 1.7; }

/* ---- kikaku ---- */
.kk { background: #fff; border-radius: var(--radius); margin-bottom: .75rem; box-shadow: 0 3px 14px rgba(60,20,20,.05); overflow: hidden; }
.kk-head { display: flex; gap: .7rem; padding: .8rem .9rem .5rem; }
.kk-th { width: 64px; height: 96px; border-radius: 10px; background: var(--tint2) center/cover no-repeat; flex: none; }
.kk-main { flex: 1; min-width: 0; }
.kk-title { font-weight: 900; font-size: .95rem; line-height: 1.4; }
.kk-hook { font-size: .82rem; color: var(--ink); margin-top: .25rem; background: var(--tint); border-radius: 8px; padding: .35rem .5rem; line-height: 1.45; }
.kk-meta { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; font-size: .7rem; color: var(--sub); margin-top: .3rem; }
.kk-body { padding: 0 .9rem .5rem; font-size: .82rem; color: var(--ink); white-space: pre-wrap; line-height: 1.6; }
.kk-body h5 { font-size: .74rem; color: var(--sub); margin: .5rem 0 .1rem; font-weight: 800; }
.kk-acts { display: flex; gap: .45rem; padding: .3rem .9rem .85rem; flex-wrap: wrap; }
.kk-acts .btn.small { flex: 1; text-align: center; min-width: 30%; }
.kk-toggle { background: none; border: none; color: var(--red); font-weight: 800; font-size: .78rem; padding: .2rem .9rem .5rem; cursor: pointer; text-align: left; }
.fb-box { padding: 0 .9rem .8rem; }
.fb-box textarea { min-height: 70px; font-size: 15px; }
.fb-box .row { display: flex; gap: .45rem; margin-top: .4rem; }

/* ---- scripts ---- */
.sc-row { display: block; width: 100%; text-align: left; background: #fff; border: none; border-radius: 12px; padding: .75rem .9rem; margin-bottom: .55rem; cursor: pointer; box-shadow: 0 3px 14px rgba(60,20,20,.05); font-family: inherit; color: var(--ink); }
.sc-row .t { font-weight: 800; font-size: .92rem; line-height: 1.4; }
.sc-row .m { display: flex; gap: .5rem; align-items: center; font-size: .72rem; color: var(--sub); margin-top: .3rem; flex-wrap: wrap; }
.sc-body { font-size: .9rem; line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
.sc-body h4 { font-size: .8rem; color: var(--red); margin: .9rem 0 .2rem; font-weight: 900; }
.score { font-size: .78rem; color: var(--sub); background: var(--tint); border-radius: 8px; padding: .4rem .6rem; margin-top: .3rem; }
.sc-hook { background: var(--tint); border-radius: 10px; padding: .6rem .7rem; font-size: .86rem; white-space: pre-wrap; line-height: 1.6; }
.copy-btn { background: var(--tint2); border: none; border-radius: 8px; padding: .3rem .6rem; font-size: .74rem; font-weight: 800; color: var(--ink); cursor: pointer; margin-left: auto; }

/* ---- research grid ---- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.rc { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 14px rgba(60,20,20,.05); border: none; text-align: left; padding: 0; cursor: pointer; font-family: inherit; color: var(--ink); position: relative; }
.rc .th { width: 100%; aspect-ratio: 3/4; background: var(--tint2) center/cover no-repeat; position: relative; }
.rc .th .pl { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.58); color: #fff; font-size: .7rem; font-weight: 900; border-radius: 6px; padding: .1rem .45rem; }
.rc .th .vi { position: absolute; right: 6px; top: 6px; background: var(--grad); color: #fff; font-size: .66rem; font-weight: 900; border-radius: 6px; padding: .1rem .4rem; }
.rc .th .pk { position: absolute; left: 6px; top: 6px; background: #fff; color: var(--red); font-size: .66rem; font-weight: 900; border-radius: 6px; padding: .1rem .4rem; }
.rc .th .dn { position: absolute; left: 6px; top: 6px; background: rgba(255,255,255,.9); color: var(--sub); font-size: .66rem; font-weight: 900; border-radius: 6px; padding: .1rem .4rem; }
.rc .cap { padding: .45rem .55rem .55rem; }
.rc .acc { font-size: .72rem; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc .sub { font-size: .66rem; color: var(--sub); margin-top: .1rem; }
.rc .grow { font-size: .72rem; color: var(--ink); margin-top: .25rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search { display: flex; gap: .4rem; margin-bottom: .5rem; }
.search input { flex: 1; padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; background: #fff; }
.search select { padding: .55rem .5rem; border: 1.5px solid var(--line); border-radius: 10px; font-size: .84rem; background: #fff; }

/* detail sheet (reel) */
.sheet { position: fixed; inset: 0; z-index: 70; background: rgba(40,20,25,.5); display: flex; align-items: flex-end; }
.sheet .box { background: #fff; width: 100%; max-height: 92vh; overflow-y: auto; border-radius: 18px 18px 0 0; padding: .8rem 1rem calc(1.2rem + env(safe-area-inset-bottom)); }
.sheet .grab { width: 40px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto .7rem; }
.sh-top { display: flex; gap: .8rem; }
.sh-top .th { width: 96px; height: 144px; border-radius: 12px; background: var(--tint2) center/cover; flex: none; }
.sh-top .t { font-weight: 900; font-size: 1rem; line-height: 1.4; }
.sh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-top: .6rem; }
.sh-stats div { background: var(--tint); border-radius: 9px; padding: .4rem .5rem; font-size: .68rem; color: var(--sub); }
.sh-stats b { display: block; font-size: .98rem; color: var(--ink); }
.sh-reason { font-size: .86rem; line-height: 1.65; margin-top: .7rem; white-space: pre-wrap; }
.sh-acts { display: flex; flex-direction: column; gap: .5rem; margin-top: .9rem; }

/* ---- presents ---- */
.pr { background: #fff; border-radius: var(--radius); padding: .85rem .95rem; margin-bottom: .7rem; box-shadow: 0 3px 14px rgba(60,20,20,.05); }
.pr .t { font-weight: 900; font-size: .95rem; }
.pr .m { display: flex; gap: .45rem; flex-wrap: wrap; font-size: .72rem; color: var(--sub); margin-top: .3rem; align-items: center; }
.kv { display: grid; gap: .3rem; margin-top: .5rem; }
.kv-row { display: grid; grid-template-columns: 6.6rem 1fr; gap: .5rem; font-size: .82rem; align-items: start; }
.kv-row .k { color: var(--sub); font-size: .76rem; padding-top: .1rem; }
.kv-row .v { overflow-wrap: anywhere; white-space: pre-wrap; }
.kv-row .v input { width: 100%; padding: .45rem .6rem; border: 1.5px solid var(--line); border-radius: 8px; font-size: 15px; }
.pr-acts { display: flex; gap: .45rem; margin-top: .6rem; flex-wrap: wrap; }
.pr-acts .btn.small { flex: 1; text-align: center; }
.pdf-frame { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

/* ---- schedule ---- */
.sd { display: flex; gap: .8rem; align-items: center; background: #fff; border-radius: 12px; padding: .7rem .85rem; margin-bottom: .5rem; box-shadow: 0 3px 14px rgba(60,20,20,.05); }
.sd.today { border: 2px solid var(--orange); }
.sd.past { opacity: .7; }
.sd .d { flex: none; width: 3.6rem; text-align: center; }
.sd .d b { display: block; font-size: 1.1rem; line-height: 1.1; }
.sd .d span { font-size: .68rem; color: var(--sub); }
.sd .th { width: 44px; height: 66px; border-radius: 8px; background: var(--tint2) center/cover; flex: none; }
.sd .main { flex: 1; min-width: 0; }
.sd .t { font-weight: 800; font-size: .88rem; line-height: 1.35; }
.sd .m { font-size: .72rem; color: var(--sub); margin-top: .15rem; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.sd .acts { display: flex; flex-direction: column; gap: .3rem; }

/* ---- competitors ---- */
.cp { display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 12px; padding: .65rem .85rem; margin-bottom: .45rem; box-shadow: 0 3px 14px rgba(60,20,20,.05); }
.cp .av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; flex: none; font-size: .95rem; }
.cp.ind .av { background: linear-gradient(135deg, #6b6470, #a39ba6); }
.cp .main { flex: 1; min-width: 0; }
.cp .u { font-weight: 800; font-size: .88rem; }
.cp .s { font-size: .7rem; color: var(--sub); }
.cp .memo { font-size: .74rem; color: var(--ink); margin-top: .15rem; line-height: 1.4; }

/* ---- notices / settings / admin ---- */
.notice-item { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.notice-item:last-child { border-bottom: none; }
.notice-item.unread { background: var(--tint); margin: 0 -1rem; padding: .65rem 1rem; }
.nt-head { display: flex; justify-content: space-between; gap: .5rem; font-size: .9rem; align-items: baseline; }
.nt-date { font-size: .7rem; color: var(--sub); flex: none; }
.nt-body { font-size: .82rem; color: var(--ink); margin-top: .15rem; white-space: pre-wrap; }
.nt-link { font-size: .8rem; font-weight: 800; color: var(--red); text-decoration: none; display: inline-block; margin-top: .2rem; }
.menu-list { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 3px 14px rgba(60,20,20,.05); margin-bottom: .9rem; }
.menu-row { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .85rem .95rem; border: none; background: none; cursor: pointer; border-bottom: 1px solid var(--line); font-family: inherit; text-align: left; color: var(--ink); }
.menu-row:last-child { border-bottom: none; }
.menu-row .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--tint); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex: none; }
.menu-row .t { flex: 1; font-weight: 800; font-size: .92rem; }
.menu-row .t span { display: block; font-size: .72rem; color: var(--sub); font-weight: 500; }
.menu-row .go { color: #b8b0b5; font-size: 1.1rem; }
.adm-row { border-bottom: 1px solid var(--line); padding: .6rem 0; font-size: .86rem; }
.adm-row:last-child { border-bottom: none; }
.adm-row .sub { font-size: .72rem; color: var(--sub); }
.adm-row .acts { display: flex; gap: .4rem; margin-top: .35rem; flex-wrap: wrap; }
.ob-row { font-size: .78rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.ob-row .e { color: var(--danger); }
.pob-wrap { position: fixed; inset: 0; z-index: 80; background: rgba(40,20,25,.55); display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.pob-card { background: #fff; border-radius: 18px; padding: 1.5rem 1.3rem; max-width: 400px; width: 100%; text-align: center; }
.pob-card h2 { font-size: 1.15rem; margin: .3rem 0 .5rem; }
.pob-card p { font-size: .88rem; color: var(--ink); line-height: 1.7; margin-bottom: .9rem; }
.pob-emoji { font-size: 2.2rem; }
.pob-steps { text-align: left; font-size: .84rem; padding-left: 1.3rem; margin-bottom: .9rem; line-height: 1.7; }
.pob-later { display: inline-block; margin-top: .7rem; font-size: .82rem; color: var(--sub); }
.empty { text-align: center; color: var(--sub); font-size: .86rem; padding: 1.4rem 0; }
.kpi-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.kpi-table th { text-align: left; color: var(--sub); font-weight: 700; font-size: .7rem; padding: .3rem .3rem; border-bottom: 1px solid var(--line); }
.kpi-table td { padding: .4rem .3rem; border-bottom: 1px solid #f3eef0; }
.kpi-table td.r, .kpi-table th.r { text-align: right; }
