/* ==========================================================================
   智慧西林 · 党建AI平台 —— 党内组织生活模块样式
   党建红主色 + 米白卡片；会议控制台支持桌面端加宽操作
   ========================================================================== */

/* ---------------------------------------------------------------- 通用容器 */
.og-pad {
  padding: 14px 16px 0;
}

.og-pad-b {
  height: 26px;
}

.og-note {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-2);
}

.og-note b {
  display: block;
  color: var(--ink);
  font-size: 12.5px;
  margin-bottom: 2px;
}

.og-sec-title {
  margin: 20px 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.og-mini-note {
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 400;
}

.og-top-act {
  border: 0;
  background: transparent;
  color: var(--red);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 4px;
  cursor: pointer;
  white-space: nowrap;
}

.og-bar {
  height: 4px;
  border-radius: 99px;
  background: #f1efea;
  overflow: hidden;
  margin-top: 9px;
}

.og-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #d8555a, #a91a20);
  transition: width .5s ease;
}

/* ---------------------------------------------------------------- 工作台 Hero */
.og-hero {
  margin: 0;
  padding: calc(20px + var(--safe-t)) 18px 20px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(240, 205, 150, .35), transparent 60%),
    linear-gradient(160deg, #a9161c, #7a0e12 78%);
  border-radius: 0 0 24px 24px;
}

.og-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.og-badge {
  font-size: 10.5px;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 99px;
  color: #ffe9c2;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
}

.og-hero-date {
  font-size: 10.5px;
  color: rgba(255, 255, 255, .68);
}

.og-hero h1 {
  margin: 12px 0 0;
  font-size: 23px;
  line-height: 1.34;
  font-weight: 700;
  letter-spacing: .01em;
}

.og-hero p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .76);
}

.og-stats {
  display: flex;
  margin-top: 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 10px 0;
}

.og-stats > div {
  flex: 1;
  text-align: center;
  position: relative;
}

.og-stats > div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255, 255, 255, .16);
}

.og-stats b {
  display: block;
  font-size: 19px;
  line-height: 1.2;
  color: #ffdda6;
}

.og-stats span {
  font-size: 10px;
  color: rgba(255, 255, 255, .68);
}

/* ---------------------------------------------------------------- 快捷入口 */
.og-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: -20px 10px 0;
  padding: 14px 6px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.og-quick-item {
  border: 0;
  background: transparent;
  padding: 2px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  cursor: pointer;
}

.og-quick-item i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  font-style: normal;
  font-family: "Songti SC", "STSong", serif;
}

.og-quick-item small {
  font-size: 10.5px;
  color: var(--ink-2);
  letter-spacing: -.01em;
}

.og-quick-item:active i {
  transform: scale(.94);
}

/* ---------------------------------------------------------------- AI 排会卡 */
.og-ai-card {
  margin: 14px 16px 0;
  padding: 17px;
  border-radius: 18px;
  color: #6e1b16;
  background:
    radial-gradient(90% 70% at 96% 4%, rgba(255, 214, 205, .5), transparent 62%),
    linear-gradient(150deg, #f3b0aa, #e28e87);
  box-shadow: 0 12px 26px -18px rgba(190, 84, 76, .55);
}

.og-ai-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: rgba(122, 30, 26, .72);
}

.og-spark {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #c94a40;
  box-shadow: 0 0 0 3px rgba(201, 74, 64, .18);
  transform: rotate(45deg);
}

.og-ai-card h3 {
  margin: 9px 0 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.og-ai-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.og-ai-list li {
  font-size: 11.5px;
  line-height: 1.85;
  color: rgba(110, 27, 22, .78);
  padding-left: 2px;
}

.og-ai-list b {
  color: #8d1116;
  font-weight: 600;
  margin-right: 4px;
}

.og-ai-cta {
  margin-top: 14px;
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #c1272d;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 8px 18px -12px rgba(170, 60, 52, .55);
}

.og-ai-cta svg {
  width: 13px;
  height: 13px;
}

/* ---------------------------------------------------------------- 待办 */
.og-todo {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  margin-bottom: 9px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.og-todo:active {
  background: #fbfaf7;
}

.og-todo-tag {
  flex: none;
  font-size: 9.5px;
  padding: 3px 7px;
  border-radius: 6px;
  color: #a91a20;
  background: var(--red-soft);
  font-weight: 600;
  margin-top: 1px;
  white-space: nowrap;
}

.og-todo-main {
  flex: 1;
  min-width: 0;
}

.og-todo-main h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.og-todo-main p {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------------------------------------------------------------- 会议卡 */
.og-meet {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 9px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.og-meet-date {
  flex: none;
  width: 44px;
  padding: 5px 0;
  border-radius: 10px;
  background: linear-gradient(160deg, #fdf1f0, #fbeeed);
  text-align: center;
  color: #a91a20;
}

.og-meet-date b {
  display: block;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 700;
}

.og-meet-date span {
  font-size: 9.5px;
}

.og-meet-main {
  flex: 1;
  min-width: 0;
}

.og-meet-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.og-meet-main p {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.55;
}

.og-meet-main p.og-meet-sub {
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- 文档行 */
.og-doc-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 12px;
  margin-bottom: 8px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.og-doc-mark {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #f4f0fa;
  color: #6b4b9a;
  font-size: 13px;
  font-weight: 700;
  font-family: "Songti SC", serif;
}

.og-doc-main {
  flex: 1;
  min-width: 0;
}

.og-doc-main h4 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.og-doc-main p {
  margin: 3px 0 0;
  font-size: 10.5px;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- 流程列表 */
.og-flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.og-flow-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  display: block;
}

.og-flow-card:active {
  background: #fbfaf7;
}

.og-flow-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  font-family: "Songti SC", serif;
  margin-bottom: 9px;
}

.og-flow-card b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.og-flow-cycle {
  display: block;
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 3px;
  line-height: 1.5;
}

.og-flow-card em {
  display: inline-block;
  margin-top: 8px;
  font-style: normal;
  font-size: 10px;
  color: var(--red);
  background: var(--red-soft);
  padding: 2px 7px;
  border-radius: 99px;
}

.og-inst {
  width: 100%;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px;
  margin-bottom: 10px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.og-inst-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.og-inst-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 600;
}

.og-inst-stage {
  font-size: 10px;
  color: var(--ink-3);
}

.og-inst h4 {
  margin: 8px 0 0;
  font-size: 13.5px;
  font-weight: 700;
}

.og-inst p {
  margin: 3px 0 0;
  font-size: 11.5px;
  color: var(--ink-2);
}

.og-inst-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- 流程详情 */
.og-flow-head {
  border-radius: 18px;
  padding: 15px;
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 14px 26px -20px rgba(120, 20, 24, .8);
}

.og-fh-top {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .7);
}

.og-flow-head h2 {
  margin: 9px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.og-flow-head p {
  margin: 5px 0 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .78);
}

.og-progress {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .22);
  margin-top: 12px;
  overflow: hidden;
}

.og-progress i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffe2ae, #f0bd75);
  transition: width .5s ease;
}

.og-fh-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .72);
}

.og-stage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 13px 5px;
  margin-bottom: 11px;
}

.og-stage.on {
  border-color: #f0c9b4;
  box-shadow: 0 4px 16px -12px rgba(193, 39, 45, .7);
}

.og-stage-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px dashed #eeede8;
}

.og-stage-no {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f5f3ee;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
}

.og-stage.on .og-stage-no {
  background: var(--red);
  color: #fff;
}

.og-stage-head > div {
  flex: 1;
  min-width: 0;
}

.og-stage-head h4 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
}

.og-stage-head p {
  margin: 2px 0 0;
  font-size: 10px;
  color: var(--ink-3);
}

.og-node {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid #f6f5f1;
}

.og-node:last-child {
  border-bottom: 0;
}

.og-node-check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #d8d5cd;
  background: #fff;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  margin-top: 1px;
  padding: 0;
}

.og-node.done .og-node-check {
  background: #1c7a5e;
  border-color: #1c7a5e;
}

.og-node.next .og-node-check {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193, 39, 45, .1);
}

.og-node-main {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.og-node-main h5 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.og-node.done .og-node-main h5 {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: #d9d6ce;
}

.og-node-main p {
  margin: 2px 0 0;
  font-size: 10.5px;
  color: var(--ink-3);
  line-height: 1.55;
}

.og-node.next .og-node-main p {
  color: #a91a20;
}

.og-node-mat {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.og-node-mat span {
  font-size: 9.5px;
  color: var(--ink-2);
  background: #f6f5f1;
  border-radius: 5px;
  padding: 2px 6px;
}

.og-node-ai {
  flex: none;
  align-self: center;
  border: 1px solid #e8cfc4;
  background: #fff8f4;
  color: #a8492c;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------------------------------------------------------------- 表单 */
.og-field {
  padding: 12px 0 4px;
  border-bottom: 1px solid #f6f5f1;
}

.og-field:last-child {
  border-bottom: 0;
}

.og-field > label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.og-field > label i {
  font-style: normal;
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 400;
}

.og-field input[type=text],
.og-field textarea {
  width: 100%;
  border: 1px solid #e7e5de;
  background: #fbfaf7;
  border-radius: 10px;
  padding: 10px 11px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  resize: vertical;
}

.og-field input:focus,
.og-field textarea:focus {
  border-color: #e0b3ac;
  background: #fff;
}

.og-big-btn {
  width: 100%;
  height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #c62a30, #96141a);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 12px 22px -16px rgba(150, 20, 26, .9);
}

.og-big-btn svg {
  width: 15px;
  height: 15px;
}

/* 排会结果 */
.og-plan-result {
  margin-top: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.og-pr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.og-pr-tag {
  font-size: 10px;
  font-weight: 700;
  color: #1c7a5e;
  background: #eaf6f1;
  padding: 3px 9px;
  border-radius: 99px;
}

.og-pr-time {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 12px;
}

.og-pr-time b {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.og-pr-time span {
  font-size: 12px;
  color: var(--ink-2);
}

.og-pr-why {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.65;
}

.og-pr-sec {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #eeede8;
}

.og-sheet-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.og-ag-row {
  display: flex;
  gap: 9px;
  padding: 6px 0;
  font-size: 12px;
}

.og-ag-row > span {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #f5f3ee;
  color: var(--ink-2);
  font-size: 10px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.og-ag-row b {
  display: block;
  font-weight: 600;
  line-height: 1.5;
}

.og-ag-row small {
  font-size: 10px;
  color: var(--ink-3);
}

.og-notice-box {
  background: #fbfaf7;
  border: 1px solid #efeee8;
  border-radius: 11px;
  padding: 11px;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--ink-2);
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
}

.og-pr-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.og-pr-actions .btn {
  flex: 1;
}

/* ---------------------------------------------------------------- AI 输出 */
.og-ai-out {
  background: #fbfaf7;
  border: 1px solid #efeee8;
  border-radius: 12px;
  padding: 12px;
  max-height: 46vh;
  overflow: auto;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink);
}

.og-ai-out h3,
.og-ai-out h4 {
  font-size: 13.5px;
}

.og-ai-out p {
  margin: 7px 0;
}

.og-ai-out table {
  font-size: 11.5px;
}

.og-sheet-block {
  margin-top: 14px;
}

.og-sheet-p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-2);
}

.og-mat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.og-mat-list span {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 8px;
  background: #f6f5f1;
  color: var(--ink-2);
}

.og-typing {
  display: flex;
  gap: 4px;
  padding: 6px 0;
}

.og-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9c4b9;
  animation: ogBounce 1.1s infinite ease-in-out;
}

.og-typing i:nth-child(2) {
  animation-delay: .15s;
}

.og-typing i:nth-child(3) {
  animation-delay: .3s;
}

@keyframes ogBounce {

  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: .5;
  }

  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* ---------------------------------------------------------------- 会议控制台 */
.og-console {
  padding-bottom: 10px;
}

.og-mt-info {
  padding: 14px 16px 4px;
}

.og-mt-kicker {
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: .02em;
}

.og-mt-info h2 {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.42;
}

.og-mt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 8px;
}

.og-mt-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--ink-3);
}

.og-mt-meta svg {
  width: 12px;
  height: 12px;
}

.og-panel {
  margin: 12px 16px 0;
  padding: 16px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(100% 80% at 90% 0%, rgba(255, 196, 150, .16), transparent 60%),
    linear-gradient(155deg, #2a2a2e, #16161a);
  box-shadow: 0 16px 32px -22px rgba(22, 22, 26, .9);
}

.og-clock-wrap {
  text-align: center;
}

.og-clock {
  font-size: 34px;
  font-weight: 300;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  color: rgba(255, 255, 255, .92);
}

.og-clock.live {
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 120, 110, .35);
}

.og-clock-label {
  margin-top: 4px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .52);
  letter-spacing: .04em;
}

.og-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 26px;
  margin-top: 6px;
}

.og-wave i {
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .26);
}

.og-wave.on i {
  background: linear-gradient(180deg, #8be4b6, #35b57f);
  animation: ogWave 1s infinite ease-in-out;
}

.og-wave.on i:nth-child(1) {
  animation-delay: 0s;
}

.og-wave.on i:nth-child(2) {
  animation-delay: .1s;
}

.og-wave.on i:nth-child(3) {
  animation-delay: .22s;
}

.og-wave.on i:nth-child(4) {
  animation-delay: .32s;
}

.og-wave.on i:nth-child(5) {
  animation-delay: .44s;
}

.og-wave.on i:nth-child(6) {
  animation-delay: .54s;
}

.og-wave.on i:nth-child(7) {
  animation-delay: .66s;
}

@keyframes ogWave {

  0%,
  100% {
    height: 5px;
    opacity: .6;
  }

  50% {
    height: 20px;
    opacity: 1;
  }
}

.og-ctrl-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.og-ctrl-main {
  flex: 2;
  height: 46px;
  border: 0;
  border-radius: 13px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  background: linear-gradient(135deg, #2f9d72, #16754f);
  box-shadow: 0 10px 20px -14px rgba(22, 117, 79, .95);
}

.og-ctrl-main svg {
  width: 16px;
  height: 16px;
}

.og-ctrl-main.pause {
  background: linear-gradient(135deg, #d9a13f, #a4741c);
  box-shadow: 0 10px 20px -14px rgba(164, 116, 28, .95);
}

.og-ctrl-sec {
  flex: 1.1;
  height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .88);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.og-ctrl-sec[disabled] {
  opacity: .38;
}

.og-ctrl-end {
  flex: 1;
  height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(255, 120, 110, .4);
  background: rgba(200, 40, 40, .18);
  color: #ffb3ad;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.og-ctrl-row:active button {
  transform: scale(.99);
}

.og-ctrl-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.og-ctrl-switch b {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
}

.og-ctrl-switch small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, .45);
  margin-top: 2px;
  line-height: 1.5;
}

/* 提示条 */
.og-banner {
  margin: 10px 16px 0;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 11.5px;
  line-height: 1.7;
  border: 1px solid;
}

.og-banner b {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

.og-banner.danger {
  background: #fdeceb;
  border-color: #f3c9c6;
  color: #a01f1c;
}

.og-banner.warn {
  background: #fdf4e4;
  border-color: #f0dcbb;
  color: #8c5c14;
}

.og-banner.ok {
  background: #eaf6f1;
  border-color: #c8e7d8;
  color: #17684f;
}

/* 通用卡片 */
.og-card {
  margin: 10px 16px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
}

.og-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.og-card-head b {
  font-size: 12.5px;
  font-weight: 700;
}

/* 议程 */
.og-ag-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px dashed #f1f0eb;
}

.og-ag-item:last-child {
  border-bottom: 0;
}

.og-ag-no {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  background: #f5f3ee;
  color: var(--ink-3);
}

.og-ag-item.on .og-ag-no {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(193, 39, 45, .12);
}

.og-ag-item.done .og-ag-no {
  background: #eaf6f1;
  color: #1c7a5e;
}

.og-ag-main {
  flex: 1;
  min-width: 0;
}

.og-ag-main b {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
}

.og-ag-item.on .og-ag-main b {
  color: #a91a20;
}

.og-ag-item.done .og-ag-main b {
  color: var(--ink-3);
}

.og-ag-main small {
  display: block;
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 1px;
}

.og-ag-btn {
  flex: none;
  border: 1px solid #e7e5de;
  background: #fff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 10.5px;
  padding: 4px 9px;
  border-radius: 8px;
  cursor: pointer;
}

/* 转写 */
.og-rec-state {
  font-size: 10.5px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.og-dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d93b3b;
  animation: ogPulse 1.2s infinite;
}

@keyframes ogPulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(217, 59, 59, .45);
  }

  60% {
    opacity: .7;
    box-shadow: 0 0 0 5px rgba(217, 59, 59, 0);
  }
}

.og-transcript {
  max-height: 260px;
  overflow: auto;
  background: #fbfaf7;
  border: 1px solid #f1efe9;
  border-radius: 12px;
  padding: 10px 11px;
}

.og-tr-empty {
  text-align: center;
  padding: 18px 8px;
  color: var(--ink-3);
}

.og-tr-empty svg {
  width: 20px;
  height: 20px;
  opacity: .45;
}

.og-tr-empty p {
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.7;
}

.og-tr-row {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  font-size: 12px;
  line-height: 1.7;
}

.og-tr-t {
  flex: none;
  font-size: 10px;
  color: #b3b0a8;
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}

.og-tr-x {
  flex: 1;
  min-width: 0;
  color: var(--ink-2);
}

.og-tr-x b {
  color: var(--ink);
  font-weight: 600;
  margin-right: 5px;
  font-size: 11.5px;
}

.og-tr-row.masked .og-tr-x {
  color: #a01f1c;
  background: #fdeceb;
  border-radius: 7px;
  padding: 3px 8px;
  font-size: 11.5px;
}

.og-interim {
  font-size: 11.5px;
  color: var(--ink-3);
  padding-top: 4px;
  min-height: 4px;
}

.og-say {
  display: flex;
  gap: 7px;
  margin-top: 9px;
}

.og-say input {
  flex: 1;
  min-width: 0;
  border: 1px solid #e7e5de;
  background: #fbfaf7;
  border-radius: 10px;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

.og-say input:focus {
  border-color: #e0b3ac;
  background: #fff;
}

.og-say button {
  flex: none;
  border: 0;
  border-radius: 10px;
  background: #2a2a2e;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 0 14px;
  cursor: pointer;
}

.og-privacy-tip {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

.og-privacy-tip svg {
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: #1c7a5e;
}

/* 纪要 */
.og-minutes-body {
  max-height: 46vh;
  overflow: auto;
  font-size: 12.5px;
  line-height: 1.85;
}

.og-minutes-body h3 {
  font-size: 13px;
  margin: 14px 0 6px;
}

.og-minutes-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  margin: 8px 0;
}

.og-minutes-body th,
.og-minutes-body td {
  border: 1px solid #eeede8;
  padding: 6px 8px;
  text-align: left;
}

.og-minutes-body th {
  background: #faf9f5;
  font-weight: 600;
}

.og-minutes-empty p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--ink-3);
}

.og-edit-area {
  width: 100%;
  border: 1px solid #e7e5de;
  background: #fbfaf7;
  border-radius: 11px;
  padding: 10px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink);
  outline: none;
  resize: vertical;
}

/* ---------------------------------------------------------------- 文档库 */
.og-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  height: 42px;
  color: var(--ink-3);
}

.og-search svg {
  flex: none;
  width: 15px;
  height: 15px;
}

.og-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

.og-cats {
  margin: 10px -16px 0;
  padding: 0 16px 4px;
}

.og-cats .chip.on {
  background: #2a2a2e;
  color: #fff;
  border-color: #2a2a2e;
}

.og-doc-stat {
  margin: 8px 0 10px;
  font-size: 10.5px;
  color: var(--ink-3);
}

.og-doc-stat span {
  color: #b3b0a8;
}

.og-doc-card {
  width: 100%;
  display: block;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px;
  margin-bottom: 10px;
  font-family: inherit;
  cursor: pointer;
}

.og-doc-card:active {
  background: #fbfaf7;
}

.og-dc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.og-dc-cat {
  font-size: 9.5px;
  font-weight: 600;
  color: #6b4b9a;
  background: #f4f0fa;
  padding: 2px 8px;
  border-radius: 99px;
}

.og-dc-date {
  font-size: 10px;
  color: #b3b0a8;
}

.og-doc-card h3 {
  margin: 9px 0 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.og-doc-card p {
  margin: 5px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.og-dc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.og-dc-tags span {
  font-size: 9.5px;
  color: var(--ink-3);
  background: #f6f5f1;
  border-radius: 5px;
  padding: 2px 6px;
}

.og-doc-head {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  margin-bottom: 10px;
}

.og-doc-head h1 {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.og-doc-head p {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--ink-3);
}

.og-key-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #f1efe9;
  border-radius: 10px;
  overflow: hidden;
}

.og-key-grid > div {
  background: #fbfaf7;
  padding: 9px 10px;
}

.og-key-grid span {
  display: block;
  font-size: 9.5px;
  color: var(--ink-3);
  margin-bottom: 2px;
}

.og-key-grid b {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  word-break: break-all;
}

.og-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.og-points li {
  position: relative;
  padding-left: 17px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.og-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cba86f;
}

.og-quote {
  display: flex;
  gap: 9px;
  margin: 10px 16px 0;
  padding: 12px 13px;
  border-radius: 13px;
  background: linear-gradient(150deg, #fdf6ea, #fbf1e0);
  border: 1px solid #f0e2c9;
}

.og-quote svg {
  flex: none;
  width: 13px;
  height: 13px;
  color: #b8823a;
  margin-top: 3px;
}

.og-quote p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #7d5a22;
  font-style: italic;
}

.og-sum {
  margin: 0;
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-2);
}

.og-ext-title {
  margin: 11px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

/* ---------------------------------------------------------------- 党费 */
.og-fee-head {
  border-radius: 18px;
  padding: 16px;
  color: #fff;
  background:
    radial-gradient(90% 70% at 92% 0%, rgba(255, 226, 174, .3), transparent 60%),
    linear-gradient(155deg, #a4741c, #7d5210);
  box-shadow: 0 14px 28px -20px rgba(125, 82, 16, .9);
}

.og-fee-top {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .72);
}

.og-fee-amount {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

.og-fee-bar {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .22);
  margin-top: 12px;
  overflow: hidden;
}

.og-fee-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffe2ae, #fff0d0);
}

.og-fee-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .8);
}

.og-mini-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.og-mini-actions .btn {
  flex: 1;
  font-size: 11.5px;
  padding: 9px 4px;
}

.og-fee-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 2px 13px;
}

.og-fee-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #f6f5f1;
}

.og-fee-row:last-child {
  border-bottom: 0;
}

.og-fee-ava {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fbf4e8;
  color: #8a5c14;
  font-size: 13px;
  font-weight: 700;
  font-family: "Songti SC", serif;
}

.og-fee-main {
  flex: 1;
  min-width: 0;
}

.og-fee-main b {
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.og-fee-main small {
  display: block;
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 2px;
  line-height: 1.5;
}

.og-fee-right {
  flex: none;
  text-align: right;
}

.og-fee-right > b {
  display: block;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.og-fee-btn {
  margin-top: 4px;
  border: 1px solid #e7d2ae;
  background: #fdf6ea;
  color: #8a5c14;
  font-family: inherit;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
}

.og-fee-btn.paid {
  border-color: #c8e7d8;
  background: #eaf6f1;
  color: #1c7a5e;
}

/* ---------------------------------------------------------------- 桌面端 */
@media (min-width: 1000px) and (min-height: 700px) {
  .stage.og-wide {
    max-width: 820px;
  }

  .og-console {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 4px 16px;
  }

  .og-clock {
    font-size: 40px;
  }

  .og-ctrl-main,
  .og-ctrl-sec,
  .og-ctrl-end {
    height: 50px;
  }

  .og-quick {
    margin: -20px 16px 0;
  }
}

.og-key-grid > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.og-ctrl-switch .switch {
  border: 0;
  padding: 0;
}

/* ---------------------------------------------------------------- 我的党费 / 只读 */
.og-myfee {
  margin-bottom: 14px;
  padding: 14px 15px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fdf4f3, #fff 68%);
  border: 1px solid #f4e2e1;
}

.og-myfee.guest {
  background: #fbfaf7;
  border-color: #eeece7;
}

.og-myfee-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #7a828c;
}

.og-myfee-top b {
  color: #2b2f36;
  font-size: 12.5px;
}

.og-myfee-amt {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 7px 0 3px;
}

.og-myfee-amt b {
  font-size: 26px;
  font-weight: 800;
  color: #a4741c;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
}

.og-myfee-amt small {
  font-size: 10.5px;
  color: #98a0aa;
  line-height: 1.5;
}

.og-myfee-btn {
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #c9932f, #8a5c14);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 0;
  cursor: pointer;
}

.og-myfee-done {
  margin-top: 10px;
  padding: 9px 0;
  text-align: center;
  border-radius: 11px;
  background: #eaf6f1;
  color: #1c7a5e;
  font-size: 12px;
  font-weight: 600;
}

.og-myfee-tip {
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.75;
  color: #7a828c;
}

.og-fee-state {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 7px;
  background: #f4f2ee;
  color: #8d939c;
}

.og-fee-state.paid {
  background: #eaf6f1;
  color: #1c7a5e;
}

.og-readonly-tip {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 12px 0 4px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #fbf7f0;
  border: 1px solid #f3e8d4;
  font-size: 11px;
  line-height: 1.7;
  color: #7a6547;
}

.og-readonly-tip svg {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 2px;
  color: #b98a3c;
}
