.cctv-p{--b:#1e3a8a;--bd:#e2e8f0;--mut:#64748b;max-width:720px;margin:0 auto;font-size:16px;line-height:1.5;color:#0f172a}
.cctv-p *{box-sizing:border-box}
.cctv-p h2{font-size:1.25em;margin:0 0 4px}.cctv-p h3{font-size:1.05em;margin:0 0 10px}
.cctv-p-card{display:block;background:#fff;border:1px solid var(--bd);border-radius:12px;padding:16px;margin:0 0 14px;color:inherit;text-decoration:none;box-shadow:0 1px 2px rgba(15,23,42,.04)}
a.cctv-p-card:hover{border-color:var(--b)}
.cctv-p-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.cctv-p-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.cctv-p-meta{color:var(--mut);font-size:.9em;margin-top:4px}.cctv-p-meta.red,.cctv-p .red{color:#dc2626}.cctv-p .green{color:#16a34a}
.cctv-p-muted{color:var(--mut);font-size:.9em}
.cctv-p-tabs{display:flex;gap:6px;margin-bottom:14px}.cctv-p-tabs a{flex:1;text-align:center;padding:10px;border-radius:10px;background:#f1f5f9;color:#0f172a;text-decoration:none;font-weight:600}
.cctv-p-tabs a.on{background:var(--b);color:#fff}
.cctv-p-empty{text-align:center;padding:40px 10px;color:var(--mut)}
.cctv-p-btn{display:inline-block;background:var(--b);color:#fff!important;border:1px solid var(--b);border-radius:10px;padding:10px 16px;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer;text-align:center}
.cctv-p-btn.ghost{background:#fff;color:var(--b)!important}.cctv-p-btn.small{padding:6px 12px;font-size:14px}
.cctv-p-btn.big{display:block;width:100%;padding:15px;font-size:17px;margin:0 0 6px}
.cctv-p-btn.green{background:#16a34a;border-color:#16a34a}
.cctv-p-btn:disabled{opacity:.6}
.cctv-p form.cctv-p-geo,.cctv-p>.cctv-p-btn.big{margin-bottom:14px}
.cctv-p-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.cctv-p-link{background:none;border:0;color:var(--b);text-decoration:none;font-weight:600;cursor:pointer;padding:0;font-size:.95em}
.cctv-p-note{background:#f8fafc;border-left:3px solid var(--b);padding:10px 12px;border-radius:6px;margin:10px 0}
.cctv-p label{display:block;font-weight:600;margin:12px 0 4px}
.cctv-p input[type=text],.cctv-p input[type=tel],.cctv-p input[type=number],.cctv-p input[type=password],.cctv-p input[type=file],.cctv-p select,.cctv-p textarea{width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:10px;font-size:16px;background:#fff}
.cctv-p .cctv-p-check{display:flex;gap:10px;align-items:flex-start;font-weight:400;margin:8px 0;padding:8px;border-radius:8px;background:#f8fafc}
.cctv-p .cctv-p-check input{width:20px;height:20px;margin-top:2px;flex:none}
.cctv-p-upload{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}
@media (min-width:560px){.cctv-p-upload{grid-template-columns:1fr 1.4fr auto}}
.cctv-p-photos{display:flex;flex-wrap:wrap;gap:8px}.cctv-p-photos a{width:96px;font-size:12px;color:var(--mut);text-decoration:none}
.cctv-p-photos img{width:96px;height:80px;object-fit:cover;border-radius:8px;display:block}
.cctv-p-sign canvas{width:100%;height:auto;aspect-ratio:600/220;border:1px dashed #94a3b8;border-radius:10px;touch-action:none;background:#fff}
.cctv-p-sign button.cctv-p-btn{margin-top:8px}
.cctv-p-sig{max-width:100%;max-height:110px;border:1px solid var(--bd);border-radius:8px;background:#fff}
.cctv-p-inline{display:inline}.cctv-p-x{background:none;border:0;color:#dc2626;font-size:20px;line-height:1;cursor:pointer;padding:0 0 0 8px}
.cctv-p-line{display:block;padding:10px 0;border-top:1px solid var(--bd);color:inherit;text-decoration:none}
.cctv-p-line:first-of-type{border-top:0}.cctv-p details summary{cursor:pointer;list-style:none}
.cctv-p-kv{width:100%;border-collapse:collapse}.cctv-p-kv th{text-align:left;color:var(--mut);font-weight:400;padding:4px 10px 4px 0;width:40%}.cctv-p-kv td{padding:4px 0}
.cctv-p-items{width:100%;border-collapse:collapse}.cctv-p-items td{padding:8px 0;border-bottom:1px solid var(--bd)}.cctv-p-items .r{text-align:right}.cctv-p-items .tot td{font-weight:700;font-size:1.1em;border-bottom:0}
.cctv-p-flash{background:#dcfce7;color:#14532d;border-radius:10px;padding:12px 14px;margin-bottom:14px}.cctv-p-flash.err{background:#fee2e2;color:#7f1d1d}
.cctv-p-login form p{margin:0 0 10px}.cctv-p-login input[type=submit]{background:var(--b);color:#fff;border:0;border-radius:10px;padding:12px 18px;font-size:16px;width:100%}
.cctv-p .cctv-badge{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;color:var(--c);background:color-mix(in srgb,var(--c) 13%,transparent);white-space:nowrap}
.cctv-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.cctv-p-thanks{text-align:center}
.cctv-p-enquiry .cctv-p-btn{margin-top:16px}
