.transcript-cdk{ width: 100%; margin-top: 4px; display: block; }
.transcript-cdk .cdk-entry{ display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; width: 100%; }
.transcript-cdk .cdk-input-wrap{ width: 100%; min-width: 0; }
.transcript-cdk .cdk-entry > button{ width: auto; min-width: 0; padding-left: 10px; padding-right: 10px; font-size: 12px; }
.transcript-cdk .cdk-preview{ position: static; width: 100%; justify-content: center; padding-top: 7px; overflow: hidden; }
.topbar{ height: 94px; padding: 0 38px; display: flex; align-items: center; justify-content: flex-start; gap: 28px; background: rgba(245,246,247,.96); border-bottom: 1px solid var(--dz-border); }
.topbar h1{ font-size: 22px; margin: 0 0 6px; }
.topbar p{ font-size: 13px; color: var(--muted); margin: 0; }
.global-cdk{ width: min(690px, 58%); margin-left: auto; margin-right: 0; align-self: center; display: block; }
.global-cdk .cdk-entry{ width: 100%; }
.global-cdk .cdk-preview{ position: static; width: 255px; justify-content: flex-start; padding-top: 6px; }
.cdk-entry-stack{ position: relative; display: flex; flex: 0 0 auto; }
.cdk-entry{ display: flex; align-items: center; gap: 8px; margin: 0; }
.cdk-preview{ position: absolute; top: 47px; left: 0; width: 255px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.cdk-preview b{ color: var(--dz-text); }
.cdk-preview .status-dot{ width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.cdk-input-wrap{ width: 255px; height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--dz-border); border-radius: 6px; background: var(--dz-surface); color: var(--muted); font-size: 12px; }
.cdk-input-wrap:focus-within{ border-color: #ffb46f; box-shadow: 0 0 0 3px rgba(255,138,42,.1); }
.cdk-input-wrap input{ min-width: 0; flex: 1; height: 38px; padding: 0; border: 0; outline: none; color: var(--dz-text); }
.cdk-visibility{ width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: var(--dz-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cdk-visibility svg{ width: 17px; height: 17px; stroke-width: 2.2; display: block; }
.cdk-visibility.hidden{ display: none; }
.cdk-input-wrap input::placeholder{ color: var(--dz-muted); }
.cdk-entry .cdk-purchase{ height: 42px; padding: 0 13px; border: 1px solid #ffc48d; border-radius: 6px; background: var(--orange-soft); color: var(--orange-dark); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cdk-merge-trigger{ height: 42px; padding: 0 13px; white-space: nowrap; }
.cdk-query-trigger{ height: 42px; padding: 0 13px; white-space: nowrap; }
.cdk-purchase:hover{ border-color: var(--orange); background: #ffe9d3; }
.global-cdk{ display: block !important; }
.global-cdk .cdk-preview{ position: static !important; left: auto; margin-left: 0; justify-content: flex-start; }
.cdk-input-stack{ width: 255px; flex: 0 0 255px; }
.cdk-message{ margin-top: 5px; min-height: 16px; color: var(--red); font-size: 12px; line-height: 1.35; }
.cdk-message.success{ color: var(--green); }
.merge-dialog{ width: min(560px, calc(100vw - 28px)); }
.merge-body{ padding-bottom: 24px; }
.merge-body .result-header{ padding: 20px 24px; }
.merge-body #merge-form{ display: grid; gap: 12px; padding: 0 24px; }
.merge-body p{ color: var(--muted); font-size: 13px; line-height: 1.6; }
.merge-body textarea{ min-height: 120px; resize: vertical; }
.merge-body .primary-button{ justify-self: end; }
@media (min-width: 721px){.global-cdk{ transform: translateX(-120px); }}
@media (max-width: 720px){.topbar{ height: auto; min-height: 82px; padding: 15px 16px; }
.global-cdk{ width: 100%; margin-top: 12px; transform: none; }
.topbar{ flex-wrap: wrap; }
.topbar p{ display: none; }
.cdk-entry{ flex: 1 1 100%; }
.cdk-entry-stack{ flex: 1 1 100%; }
.cdk-preview{ position: static; width: auto; justify-content: flex-start; padding-top: 5px; }
.cdk-input-wrap{ min-width: 0; flex: 1; width: auto; }}
.cdk-mobile-label{ display: none; }
.cdk-community{display:inline-flex;align-items:center;gap:6px;border:1px solid #d8dcdf;border-radius:5px;background:var(--dz-surface);color:#30353a;padding:9px 12px;cursor:pointer;white-space:nowrap}
.cdk-community:hover{border-color:#e97818;color:#e97818}
.community-dialog{width:min(480px,calc(100vw - 30px));padding:0;border:0;border-radius:8px;overflow:hidden}
.community-image-wrap{display:grid;place-items:center;min-height:240px;padding:24px;background:#f7f8f9}
.community-image-wrap img{display:block;max-width:100%;max-height:62vh;object-fit:contain}
.community-image-wrap img[src=""]{display:none}
@media (max-width: 720px){.global-cdk{ min-width: 0; }
.global-cdk .cdk-entry{ display: flex; flex-wrap: nowrap; gap: 4px; min-width: 0; }
.global-cdk .cdk-input-stack{ width: auto; min-width: 0; flex: 1 1 0; }
.global-cdk .cdk-input-wrap{ width: 100%; padding: 0 6px; }
.global-cdk .cdk-entry > button{ flex: 0 0 auto; min-width: 0; height: 42px; padding: 0 6px; font-size: 12px; white-space: nowrap; }
.global-cdk .cdk-entry > button > svg,.global-cdk .cdk-entry > button > i,.global-cdk .cdk-desktop-label{ display: none; }
.global-cdk .cdk-mobile-label{ display: inline; }
.global-cdk .cdk-message{ overflow-wrap: anywhere; }}
.global-cdk,#merge-dialog,#community-dialog,#cdk-save-dialog{--line:var(--dz-border);--orange:var(--dz-accent);--orange-dark:var(--dz-accent-hover);--orange-soft:var(--dz-accent-soft);--green:var(--dz-success);--red:var(--dz-danger)}
html:has(.studio-header-title){scrollbar-gutter:stable}
.shell>.topbar:has(.studio-header-title){height:94px;font:16px Inter,"PingFang SC","Microsoft YaHei",sans-serif;background:var(--dz-page)}
.studio-header-title{min-width:0}
.topbar .studio-header-title h1{line-height:normal}
.studio-page-tools{justify-content:flex-end}
.global-cdk #point-ledger-open{padding:2px 0!important}
.topbar .studio-header-title p{line-height:1.6}
.topbar .breadcrumb[hidden]{display:none}
.global-cdk .secondary-button{font-size:13px;font-weight:600;border-radius:6px}
.global-cdk button{line-height:normal}
.global-cdk svg{width:17px;height:17px}
@media(min-width:721px){.studio-header-title{max-width:calc(42% - 148px)}}
.header-right[hidden],.global-cdk[hidden],.global-cdk .hidden,.global-cdk [hidden],#merge-dialog .hidden,#cdk-save-dialog .hidden{display:none!important}
.global-cdk .cdk-input-wrap input{background:var(--dz-surface);box-shadow:none;line-height:normal}
.global-cdk #copy-current-cdk,.global-cdk #point-ledger-open{padding:0;border:0;background:transparent;color:var(--dz-accent);font-size:12px}
.global-cdk .cdk-mobile-label{display:none}
#merge-dialog,#community-dialog{padding:20px}
#merge-dialog .result-header,#community-dialog .result-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
#merge-dialog .merge-confirm{display:flex;align-items:flex-start;gap:8px;font-size:12px}
#merge-dialog .merge-confirm input{flex:none;margin-top:4px}
#merge-dialog .primary-button,#cdk-save-dialog .primary-button{background:var(--dz-accent);color:var(--dz-on-accent)}
@media(max-width:720px){.shell>.topbar:has(.studio-header-title){height:auto}.topbar:has(.global-cdk){flex-wrap:wrap}.global-cdk{width:100%!important}.global-cdk .cdk-input-stack{flex:1;width:auto;min-width:0}.global-cdk .cdk-input-wrap{width:100%}.global-cdk .cdk-desktop-label{display:none}.global-cdk .cdk-mobile-label{display:inline}}
