/* 平台运营后台独立样式：不依赖门店后台 CSS */
:root {
    --pt-primary: #2478d6;
    --pt-primary-dark: #1b64b8;
    --pt-text: #1a202b;
    --pt-muted: #667085;
    --pt-border: #e7eaef;
    --pt-bg: #f5f7fa;
    --pt-danger: #b42318;
    --pt-danger-bg: #fef3f2;
    --pt-success: #1b7f4b;
    --pt-success-bg: #ecfdf3;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--pt-bg);
    color: var(--pt-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

a { color: var(--pt-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.pt-topbar {
    background: #fff;
    border-bottom: 1px solid var(--pt-border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.pt-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.pt-brand {
    font-weight: 600;
    font-size: 16px;
    color: var(--pt-text);
    white-space: nowrap;
}
.pt-brand:hover { text-decoration: none; }

.pt-nav {
    display: flex;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}
.pt-nav::-webkit-scrollbar { display: none; }
.pt-nav a {
    padding: 6px 10px;
    border-radius: 8px;
    color: #475467;
    font-size: 13px;
    white-space: nowrap;
}
.pt-nav a:hover { background: #f2f4f7; text-decoration: none; }
.pt-nav a.active { background: #eaf2fd; color: var(--pt-primary); font-weight: 600; }

.pt-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--pt-muted);
    white-space: nowrap;
}
.pt-user a { color: var(--pt-muted); }
.pt-user a:hover { color: var(--pt-primary); }

.pt-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 16px 40px;
}

.pt-page-head { margin-bottom: 14px; }
.pt-page-head h1 { margin: 0; font-size: 20px; color: var(--pt-text); }
.pt-page-head p { margin: 4px 0 0; font-size: 13px; color: var(--pt-muted); }

.pt-card {
    background: #fff;
    border: 1px solid var(--pt-border);
    border-radius: 12px;
    padding: 16px;
    margin-top: 14px;
}

.pt-flash {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid transparent;
}
.pt-flash.success { color: var(--pt-success); background: var(--pt-success-bg); border-color: #abefc6; }
.pt-flash.error { color: var(--pt-danger); background: var(--pt-danger-bg); border-color: #fecdca; }

.pt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
    min-height: 36px;
}
.pt-btn:hover { border-color: var(--pt-primary); color: var(--pt-primary); text-decoration: none; }
.pt-btn.primary { background: var(--pt-primary); border-color: var(--pt-primary); color: #fff; }
.pt-btn.primary:hover { background: var(--pt-primary-dark); color: #fff; }
.pt-btn.danger { background: var(--pt-danger-bg); border-color: #f04438; color: var(--pt-danger); }
.pt-btn.danger:hover { background: #fee4e2; color: var(--pt-danger); }
.pt-btn:disabled { opacity: .55; cursor: not-allowed; }

.pt-input, .pt-select {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color: #344054;
    background: #fff;
    min-height: 36px;
}
.pt-input:focus, .pt-select:focus { outline: none; border-color: var(--pt-primary); box-shadow: 0 0 0 3px rgba(36,120,214,.12); }

.pt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.pt-module {
    background: #fff;
    border: 1px solid var(--pt-border);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 132px;
    color: inherit;
}
.pt-module:hover { border-color: var(--pt-primary); box-shadow: 0 6px 18px rgba(36,120,214,.12); text-decoration: none; }
.pt-module h2 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.pt-module p { margin: 0; color: var(--pt-muted); font-size: 13px; }
.pt-module .go { margin-top: auto; color: var(--pt-primary); font-size: 13px; }
.pt-module.disabled { background: #fafbfc; cursor: default; }
.pt-module.disabled:hover { border-color: var(--pt-border); box-shadow: none; }
.pt-soon { font-size: 12px; font-weight: normal; color: #b54708; background: #fffaeb; border-radius: 99px; padding: 2px 8px; }

.pt-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.pt-stat { background: #fff; border: 1px solid var(--pt-border); border-radius: 12px; padding: 16px 18px; }
.pt-stat .num { font-size: 28px; font-weight: 600; line-height: 1.2; }
.pt-stat .label { font-size: 13px; color: var(--pt-muted); margin-top: 4px; }

.pt-badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; white-space: nowrap; }
.pt-sub { color: var(--pt-muted); font-size: 12px; }

.pt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pt-table th { text-align: left; color: var(--pt-muted); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid #eaecef; white-space: nowrap; }
.pt-table td { padding: 12px 8px; border-bottom: 1px solid #f2f4f7; vertical-align: middle; }
.pt-table tr:last-child td { border-bottom: none; }
.pt-table a { color: var(--pt-muted); }
.pt-table a.active { color: var(--pt-primary); }

.pt-empty { text-align: center; color: var(--pt-muted); padding: 36px 12px !important; }
.pt-empty a { margin-left: 6px; }

.pt-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 13px;
    color: var(--pt-muted);
}
.pt-pager .links { display: flex; gap: 8px; }
.pt-pager a, .pt-pager .off {
    padding: 6px 10px;
    border: 1px solid var(--pt-border);
    border-radius: 8px;
    color: #475467;
}
.pt-pager .off { color: #b9c0cb; background: #fafbfc; }

.pt-filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pt-filter .pt-input { min-width: 220px; flex: 1 1 220px; }

/* 续期表单（收款方式 / 金额 / 备注） */
.pt-renew-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px; max-width: 560px; }
.pt-renew-grid .pt-input, .pt-renew-grid .pt-select { min-height: 32px; padding: 4px 8px; font-size: 12px; }

/* 登录页 */
.pt-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.pt-login-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--pt-border); border-radius: 14px; box-shadow: 0 12px 40px rgba(16,24,40,.08); padding: 28px 26px; }
.pt-login-card h1 { margin: 0; font-size: 22px; }
.pt-login-card .sub { margin: 6px 0 20px; color: var(--pt-muted); font-size: 13px; }
.pt-field { margin-bottom: 14px; }
.pt-field label { display: block; font-size: 13px; color: #344054; margin-bottom: 6px; }
.pt-field input { width: 100%; }
.pt-login-submit { width: 100%; margin-top: 6px; }
.pt-login-note { margin-top: 16px; font-size: 12px; color: var(--pt-muted); text-align: center; }

/* 首页数据概览 */
.pt-dash-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.pt-dash-card {
    background: #fff;
    border: 1px solid var(--pt-border);
    border-radius: 12px;
    padding: 16px 18px;
    min-width: 0;
}
.pt-dash-card .dash-label { font-size: 13px; color: var(--pt-muted); }
.pt-dash-card .dash-num { font-size: 28px; font-weight: 600; line-height: 1.25; margin-top: 4px; }
.pt-dash-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pt-dash-methods { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12px; color: var(--pt-muted); }
.pt-dash-card .pt-sub { margin-top: 6px; }

.pt-dash-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
.pt-dash-cols > .pt-card { margin-top: 0; }
.pt-dash-stack > .pt-card:first-child { margin-top: 0; }

.pt-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.pt-card-head h2 { margin: 0; font-size: 15px; color: var(--pt-text); }

.pt-table-wrap { width: 100%; overflow-x: auto; }
.pt-table-wrap .pt-table { min-width: 520px; }

.pt-expiry-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.pt-expiry-tile {
    display: block;
    padding: 10px 14px;
    border: 1px solid var(--pt-border);
    border-radius: 10px;
    color: #344054;
    background: #fafbfc;
}
.pt-expiry-tile:hover { border-color: var(--pt-primary); color: var(--pt-primary); text-decoration: none; }
.pt-expiry-tile b { font-size: 20px; margin: 0 4px; }
.pt-expiry-tile span { font-size: 12px; color: var(--pt-muted); }

.pt-activity { display: flex; flex-direction: column; }
.pt-activity-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f4f7;
}
.pt-activity-item:last-child { border-bottom: 0; }
.pt-activity-time { flex: 0 0 84px; color: var(--pt-muted); font-size: 12px; padding-top: 2px; }
.pt-activity-body { flex: 1; min-width: 0; }
.pt-activity-title { font-size: 13px; color: #344054; word-break: break-word; }
.pt-activity-title strong { color: var(--pt-text); }
.pt-activity-meta { margin-top: 3px; font-size: 12px; color: var(--pt-muted); word-break: break-word; }
.pt-activity-amount { flex: 0 0 auto; text-align: right; font-size: 13px; font-weight: 600; color: var(--pt-text); }
.pt-activity-amount .pt-sub { font-weight: normal; }

.pt-level { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; white-space: nowrap; }
.pt-level.warn { color: #b54708; background: #fffaeb; }
.pt-level.over { color: var(--pt-danger); background: var(--pt-danger-bg); }
.pt-level.ok { color: var(--pt-success); background: var(--pt-success-bg); }

.pt-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pt-quick a { font-size: 13px; padding: 6px 10px; border: 1px solid var(--pt-border); border-radius: 8px; color: #475467; background: #fff; }
.pt-quick a:hover { border-color: var(--pt-primary); color: var(--pt-primary); text-decoration: none; }

@media (max-width: 1024px) {
    .pt-dash-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pt-dash-cols { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .pt-topbar-inner { height: auto; min-height: 56px; flex-wrap: wrap; padding: 8px 12px; gap: 8px 12px; }
    .pt-brand { flex: 1; }
    .pt-nav { order: 3; flex-basis: 100%; }
    .pt-user { font-size: 12px; }
    .pt-main { padding: 14px 12px 32px; }
    .pt-stats { grid-template-columns: 1fr; }
    .pt-dash-cards { grid-template-columns: 1fr; }
    .pt-card { padding: 12px; }
    .pt-table { display: block; overflow-x: auto; white-space: nowrap; }
    .pt-table-wrap .pt-table { min-width: 480px; }
    .pt-renew-grid { grid-template-columns: 1fr; max-width: none; }
    .pt-filter { flex-direction: column; align-items: stretch; }
    .pt-filter .pt-input, .pt-filter .pt-select, .pt-filter .pt-btn { width: 100%; }
    .pt-activity-item { flex-wrap: wrap; }
    .pt-activity-time { flex-basis: 100%; }
}

/* 续费待办 */
.pt-task-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pt-task-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--pt-border);
    border-radius: 10px;
    background: #fff;
    color: #475467;
    font-size: 13px;
}
.pt-task-chip:hover { border-color: var(--pt-primary); text-decoration: none; }
.pt-task-chip.active { border-color: var(--pt-primary); box-shadow: 0 0 0 3px rgba(36,120,214,.12); }
.pt-task-chip b { font-size: 15px; }
.pt-task-table { min-width: 1080px; }
.pt-task-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.pt-task-usage { font-size: 12px; color: #475467; white-space: nowrap; }
.pt-task-usage .bad { color: var(--pt-danger); font-weight: 600; }
.pt-task-inline { display: flex; gap: 6px; margin-top: 6px; align-items: center; flex-wrap: wrap; }
.pt-task-inline .pt-input { min-width: 140px; flex: 1 1 120px; }
.pt-task-inline .pt-select { min-width: 130px; }
.pt-task-note {
    max-width: 190px;
    font-size: 12px;
    color: #475467;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pt-task-actions { white-space: nowrap; }

/* 报表导出 */
.pt-report-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.pt-report-tabs a {
    padding: 8px 14px;
    border: 1px solid var(--pt-border);
    border-radius: 9px;
    background: #fff;
    color: #475467;
    font-size: 13px;
}
.pt-report-tabs a.active { background: #eaf2fd; border-color: #bfd7fb; color: var(--pt-primary); font-weight: 600; }
.pt-report-tabs a:hover { text-decoration: none; border-color: var(--pt-primary); }
.pt-report-note {
    background: #fffaeb;
    border: 1px solid #fedf89;
    color: #7a2e0e;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
}
.pt-report-alert {
    background: var(--pt-danger-bg);
    border: 1px solid #fecdca;
    color: #912018;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
}
.pt-report-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.pt-report-kpi { background: #fff; border: 1px solid var(--pt-border); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.pt-report-kpi .num { font-size: 24px; font-weight: 600; line-height: 1.3; margin-top: 4px; word-break: break-all; }
.pt-report-kpi .num.warn { color: var(--pt-danger); }
.pt-report-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pt-num { text-align: right; white-space: nowrap; }
.pt-report-detail { min-width: 880px; }
.pt-report-usage { min-width: 980px; }
.pt-report-foot { margin-top: 14px; color: var(--pt-muted); font-size: 12px; }

@media (max-width: 1024px) {
    .pt-report-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .pt-report-kpis { grid-template-columns: 1fr; }
    .pt-task-inline { flex-direction: column; align-items: stretch; }
    .pt-report-actions { width: 100%; }
    .pt-report-actions .pt-btn { width: 100%; }
}

/* 账号安全 / 审计 */
.pt-section-title { margin: 0 0 12px; font-size: 15px; color: #1f2a37; }
.pt-role-badge {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 6px;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}
.pt-role-badge.super { color: #7a2e0e; background: #fffaeb; border: 1px solid #fedf89; }
.pt-role-badge.ops { color: #1849a9; background: #eff8ff; border: 1px solid #b2ddff; }
.pt-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 6px;
    background: #eff8ff;
    color: #1849a9;
    font-size: 12px;
}
.pt-tag.danger { background: var(--pt-danger-bg); color: #912018; }
.pt-task-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
}
.pt-task-tag.ok { color: #1b7f4b; background: #ecfdf3; }
.pt-task-tag.danger { color: #b42318; background: #fef3f2; }
.pt-task-tag.off { color: #475467; background: #f2f4f7; }
.pt-btn.small { padding: 5px 10px; font-size: 12px; min-height: 30px; }
.pt-field-hint { margin: 4px 0 0; color: var(--pt-muted); font-size: 12px; line-height: 1.6; }
.pt-account-table { min-width: 900px; }
.pt-account-actions { display: flex; flex-direction: column; gap: 6px; }
.pt-account-actions form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
.pt-account-reset summary { cursor: pointer; list-style: none; }
.pt-account-reset summary::-webkit-details-marker { display: none; }
.pt-account-reset[open] summary { margin-bottom: 6px; }
.pt-account-reset .pt-input { min-width: 180px; }
.pt-account-create { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; max-width: 720px; }
.pt-account-create .pt-field { margin: 0; }
.pt-account-create .pt-report-actions,
.pt-account-create .pt-report-note { grid-column: 1 / -1; }
.pt-password-card { max-width: 560px; }
.pt-audit-filter { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.pt-audit-filter .pt-field { margin: 0; min-width: 180px; }

/* 客户离场 */
.pt-alert {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--pt-border);
    background: #fff;
    font-size: 13px;
    line-height: 1.7;
}
.pt-alert strong { display: block; margin-bottom: 4px; }
.pt-alert p { margin: 0; color: var(--pt-muted); }
.pt-alert.danger { border-color: #fecdca; background: var(--pt-danger-bg); color: var(--pt-danger); }
.pt-alert.danger p { color: #912018; }
.pt-danger-card { border-color: #fecdca; background: #fffbfa; }
.pt-offboard-stats { margin-bottom: 14px; }
.pt-offboard-points { margin: 0 0 16px; padding-left: 20px; color: #475467; font-size: 13px; line-height: 1.8; }
.pt-offboard-points code { background: #f2f4f7; border-radius: 4px; padding: 1px 5px; font-size: 12px; }
.pt-offboard-form { max-width: 640px; }
.pt-offboard-form .pt-field { margin-bottom: 12px; }
.pt-offboard-form textarea.pt-input { min-height: 88px; resize: vertical; font-family: inherit; }
.pt-offboard-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pt-offboard-actions form { margin: 0; }
.pt-offboard-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.pt-offboard-inline .pt-input { width: 90px; }
.pt-offboard-inline .pt-sub { flex: 1 1 320px; }
.pt-offboard-table { min-width: 860px; }
.pt-offboard-reason { max-width: 260px; word-break: break-word; }
.pt-offboard-table td:last-child { white-space: nowrap; }

@media (max-width: 720px) {
    .pt-offboard-stats { grid-template-columns: 1fr; }
    .pt-offboard-table { min-width: 720px; }
}

.pt-audit-table { min-width: 1000px; }
.pt-audit-ua { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 720px) {
    .pt-account-create { grid-template-columns: 1fr; }
    .pt-audit-filter { flex-direction: column; align-items: stretch; }
}

/* 敏感操作二次确认弹窗 */
.pt-stepup-mask {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 24, 40, .45);
    padding: 20px;
}
.pt-stepup-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}
.pt-stepup-box h3 { margin: 0 0 8px; font-size: 17px; color: #1f2a37; }
.pt-stepup-box p { margin: 0 0 12px; color: #475467; font-size: 13px; line-height: 1.7; }
.pt-stepup-box input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1px solid var(--pt-border);
    border-radius: 9px;
    font-size: 14px;
}
.pt-stepup-box input:focus { outline: none; border-color: var(--pt-primary); box-shadow: 0 0 0 3px rgba(36, 120, 214, .12); }
.pt-stepup-error { color: var(--pt-danger) !important; }
.pt-stepup-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* 站内提醒：顶部铃铛 + 首页告警区 + 收件箱 */
.pt-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #667085;
}
.pt-bell:hover { background: #f2f4f7; text-decoration: none; color: var(--pt-primary); }
.pt-bell-count {
    position: absolute;
    top: -3px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #f04438;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    font-weight: 600;
}
.pt-note-list { list-style: none; margin: 0; padding: 0; }
.pt-note-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f2f4f7;
}
.pt-note-item:last-child { border-bottom: 0; }
.pt-note-item.is-read { opacity: .62; }
.pt-note-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #f04438; margin-top: 7px; }
.pt-note-dot.read { background: transparent; }
.pt-note-main { flex: 1 1 auto; min-width: 0; }
.pt-note-title { font-size: 14px; font-weight: 600; color: #1a202b; }
.pt-note-title a { color: #1a202b; }
.pt-note-title a:hover { color: var(--pt-primary); }
.pt-note-body { margin-top: 3px; font-size: 12px; color: #667085; line-height: 1.65; word-break: break-word; }
.pt-note-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pt-note-time { font-size: 12px; color: #98a2b3; white-space: nowrap; }
.pt-note-side form { margin: 0; }
.pt-note-head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pt-note-head-actions form { margin: 0; }
.pt-note-type { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; margin-right: 6px; }
.pt-note-empty { color: var(--pt-muted); font-size: 13px; padding: 18px 0; text-align: center; }
@media (max-width: 720px) {
    .pt-note-side { flex-direction: row; align-items: center; }
    .pt-note-item { flex-wrap: wrap; }
}

