.pc-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pc-level { position: relative; display: grid; justify-items: start; align-content: start; gap: 10px; padding: 14px; border: 2px solid var(--cc-line); border-radius: 14px; background: var(--cc-card); color: var(--cc-ink); font-family: 'Poppins', sans-serif; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.pc-level:hover { border-color: rgba(6, 147, 139, .45); }
.pc-level.is-on { border-color: var(--cc-teal); background: var(--cc-teal-soft); }
.pc-level:disabled { opacity: .45; cursor: not-allowed; }
.pc-lv-ico { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--cc-soft); color: var(--cc-ink-2); font-size: 14px; transition: background .2s, color .2s; }
.pc-level.is-on .pc-lv-ico { background: var(--cc-teal); color: #fff; }
.pc-lv-t { display: grid; gap: 2px; min-width: 0; }
.pc-lv-t b { font-size: .86rem; font-weight: 700; }
.pc-lv-t small { font-size: .7rem; line-height: 1.4; color: var(--cc-ink-3); }
.pc-lv-chk { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--cc-line); border-radius: 50%; color: transparent; font-size: 9px; transition: background .2s, border-color .2s, color .2s; }
.pc-level.is-on .pc-lv-chk { border-color: var(--cc-teal); background: var(--cc-teal); color: #fff; }
.pc-level-note { margin: -4px 0 0; font-size: .72rem; line-height: 1.5; color: var(--cc-ink-3); }
.pc-level-note:empty { display: none; }
.pc-level-note.is-warn { color: #D97706; }

.pc-res { display: grid; gap: 14px; padding: 16px; border: 1px solid rgba(6, 147, 139, .35); border-radius: 14px; background: var(--cc-teal-soft); }
.pc-res[hidden] { display: none; }
.pc-res-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pc-res-pct { flex-shrink: 0; min-width: 72px; height: 52px; padding: 0 12px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--cc-teal); color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.pc-res.is-same .pc-res-pct { background: #64748B; font-size: 1rem; }
.pc-res-top div { display: grid; gap: 2px; min-width: 0; }
.pc-res-top b { font-size: .95rem; color: var(--cc-ink); }
.pc-res-top span:not(.pc-res-pct) { font-size: .74rem; line-height: 1.45; color: var(--cc-ink-2); }
.pc-bars { display: grid; gap: 8px; }
.pc-bar-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: .72rem; color: var(--cc-ink-3); }
.pc-bar-row b { min-width: 64px; text-align: right; font-size: .8rem; color: var(--cc-ink); }
.pc-bar { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(15, 23, 42, .08); }
html:not(.cf-light) .pc-bar { background: rgba(255, 255, 255, .08); }
.pc-bar i { display: block; height: 100%; border-radius: inherit; background: #94A3B8; transition: width .6s ease; }
.pc-bar-row.is-new .pc-bar i { background: var(--cc-teal); }
.pc-bar-row.is-new b { color: var(--cc-teal); }
html:not(.cf-light) .pc-bar-row.is-new b { color: var(--cc-bright); }

.pc-page #pcPreview { flex: 1.7 1 0; }
.pc-page #pcRedo { flex: 1 1 0; }
.pc-page #pcShareFile { flex: 0 0 44px; padding: 0; }
.pc-page #pcShareFile span { display: none; }

.pc-page .qg-toast-text.pm-tt { display: flex; min-width: 0; overflow: hidden; }
.pc-page .pm-tt-pre, .pc-page .pm-tt-ext { flex-shrink: 0; white-space: pre; }
.pc-page .pm-tt-stem { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pc-tgt { display: grid; grid-template-columns: minmax(0, 1fr) 76px; height: 42px; overflow: hidden; border: 1px solid var(--cc-line); border-radius: 11px; background: var(--cc-soft); transition: border-color .2s, box-shadow .2s; }
.pc-tgt:focus-within { border-color: var(--cc-teal); box-shadow: 0 0 0 3px rgba(6, 147, 139, .15); }
.pc-tgt input { width: 100%; min-width: 0; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--cc-ink); font: 600 .84rem 'Poppins', sans-serif; -moz-appearance: textfield; appearance: textfield; }
.pc-tgt input::-webkit-outer-spin-button, .pc-tgt input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pc-tgt input::placeholder { font-weight: 400; font-size: .8rem; color: var(--cc-ink-3); opacity: .8; }
.pc-tgt select { width: 100%; padding: 0 26px 0 12px; border: 0; border-left: 1px solid var(--cc-line); border-radius: 0; outline: 0; background: var(--cc-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2364748B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--cc-ink); font: 700 .8rem 'Poppins', sans-serif; cursor: pointer; -webkit-appearance: none; appearance: none; }
.pc-tgt-hint { font-size: .7rem; line-height: 1.45; color: var(--cc-ink-3); }
.pc-tgt-hint.is-warn { color: #D97706; }
.pc-res-warn { display: flex; gap: 8px; margin: -4px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(217, 119, 6, .1); color: #B45309; font-size: .74rem; line-height: 1.5; }
html:not(.cf-light) .pc-res-warn { color: #FBBF24; background: rgba(251, 191, 36, .1); }
.pc-res-warn[hidden] { display: none; }

.pc-page .pm-pv-box { overflow: auto; display: flex; align-items: flex-start; justify-content: flex-start; scrollbar-width: thin; overscroll-behavior: contain; }
.pc-page .pm-pv-box canvas { flex-shrink: 0; margin: auto; }
.pc-page .pm-pv-box.is-zoomed { cursor: grab; }
.pc-page .pm-pv-box.is-pan { cursor: grabbing; }
.pc-zoom { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--cc-line); border-radius: 999px; background: var(--cc-card); }
.pc-zoom[hidden] { display: none; }
.pc-zoom button { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--cc-ink-2); font-size: 12px; cursor: pointer; transition: background .2s, color .2s; }
.pc-zoom button:hover { background: var(--cc-teal-soft); color: var(--cc-teal); }
.pc-zoom button:disabled { opacity: .35; pointer-events: none; }
.pc-zoom .pc-zoom-t { width: auto; min-width: 52px; padding: 0 6px; border-radius: 999px; font: 700 .72rem 'Poppins', sans-serif; color: var(--cc-ink); }
html:not(.cf-light) .pc-zoom button:hover { color: var(--cc-bright); }

@media (min-width: 761px) {
    .pc-page .qg-note { gap: 6px; font-size: .68rem; white-space: nowrap; letter-spacing: -.01em; }
}
@media (max-width: 760px) {
    .pc-page .pm-tt-pre { display: none; }
    .pc-tgt { height: 46px; }
    .pc-tgt input, .pc-tgt select { font-size: 16px; }
    .pc-zoom { display: none !important; }
    .pc-page .pm-pv-box { overflow: hidden; align-items: center; justify-content: center; }
}
@media (max-width: 600px) {
    .pc-levels { grid-template-columns: 1fr; gap: 8px; }
    .pc-level { grid-template-columns: 36px minmax(0, 1fr); align-items: center; padding: 12px 40px 12px 12px; }
    .pc-lv-chk { top: 50%; right: 12px; margin-top: -10px; }
    .pc-res { padding: 14px; }
    .pc-res-pct { min-width: 64px; height: 46px; font-size: 1.1rem; }
}