.tool-character-counter-body .tool-shell{grid-template-columns:minmax(0,1fr)}
.tool-character-counter-body .tool-card{padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.tool-character-counter-body .tool-primary{min-width:0}
.cc-premium{--cc-accent:#0f766e;--cc-accent-2:#14b8a6;--cc-dark:#0f172a;--cc-muted:#64748b;--cc-soft:#f0fdfa;--cc-border:#dbe7e6;color:var(--cc-dark);min-width:0}
.cc-premium *{box-sizing:border-box}
.cc-premium button,.cc-premium input,.cc-premium textarea,.cc-premium select{font:inherit}
.cc-intro,.cc-template-section,.cc-editor-card,.cc-metric-panel,.cc-feature-section,.cc-rail-card{background:#fff;border:1px solid var(--cc-border);border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.07)}
.cc-intro{padding:26px;display:flex;gap:24px;justify-content:space-between;align-items:flex-start;background:linear-gradient(135deg,#fff 0%,#f0fdfa 70%,#ecfeff 100%)}
.cc-intro h2{font-size:clamp(1.35rem,2vw,2.15rem);line-height:1.12;margin:.25rem 0 .7rem;max-width:840px}
.cc-intro p{margin:0;color:#475569;max-width:820px;line-height:1.65}
.cc-kicker,.cc-step-label{text-transform:uppercase;letter-spacing:.1em;font-size:.72rem;font-weight:800;color:var(--cc-accent);margin:0}
.cc-intro-badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:340px}
.cc-intro-badges span,.cc-support-badge{border:1px solid #99f6e4;background:#fff;color:#115e59;border-radius:999px;padding:7px 11px;font-size:.78rem;font-weight:700;white-space:nowrap}
.cc-template-section{padding:24px;margin-top:20px}
.cc-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:17px}
.cc-section-heading.compact{align-items:center}
.cc-section-heading h3{margin:.2rem 0 0;font-size:1.22rem}
.cc-template-tools{display:flex;gap:9px;flex-wrap:wrap}
.cc-template-tools input,.cc-template-tools select{height:42px;border:1px solid #cbd5e1;border-radius:12px;padding:0 12px;background:#fff;color:#0f172a}
.cc-template-tools input{width:min(260px,55vw)}
.cc-template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.cc-template-card{display:flex;flex-direction:column;gap:9px;min-height:220px;text-align:left;padding:14px;border-radius:17px;border:1px solid #dbe4e8;background:#fff;color:#0f172a;cursor:pointer;transition:.2s ease;overflow:hidden}
.cc-template-card[hidden]{display:none}
.cc-template-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(15,23,42,.1);border-color:#5eead4}
.cc-template-card.is-selected{border:2px solid var(--cc-accent-2);padding:13px;background:#f0fdfa;box-shadow:0 12px 30px rgba(20,184,166,.18)}
.cc-template-top,.cc-template-meta{display:flex;justify-content:space-between;align-items:center;gap:8px}
.cc-template-top b{display:grid;place-items:center;min-width:35px;height:30px;border-radius:9px;background:#0f172a;color:#fff;font-size:.72rem}
.cc-template-top small{font-size:.68rem;color:#64748b;font-weight:700}
.cc-template-card>strong{font-size:.96rem;line-height:1.2}
.cc-template-mini{display:flex;flex-direction:column;gap:8px;min-height:78px;padding:11px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0}
.cc-template-mini i{font-style:normal;font-size:.7rem;line-height:1.35;color:#475569;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cc-template-mini em{height:5px;background:#e2e8f0;border-radius:99px;overflow:hidden;margin-top:auto}
.cc-template-mini em span{display:block;height:100%;background:var(--cc-accent-2)}
.cc-mini-search-title,.cc-mini-search-description{background:#fff;border-color:#e5e7eb}
.cc-mini-sms{border-radius:17px 17px 4px 17px;background:#dcfce7}
.cc-mini-youtube{border-left:5px solid #ef4444}
.cc-template-meta{margin-top:auto;align-items:flex-end}
.cc-template-meta small{color:#64748b;font-size:.66rem;line-height:1.3;max-width:72%}
.cc-template-meta b{font-size:.68rem;color:#0f766e;white-space:nowrap}
.cc-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:20px;margin-top:20px;align-items:start;min-width:0}
.cc-editor-column{display:flex;flex-direction:column;gap:16px;min-width:0}
.cc-editor-card,.cc-metric-panel{padding:22px}
.cc-editor-toolbar{display:flex;gap:15px;justify-content:space-between;align-items:flex-start;margin-bottom:15px}
.cc-editor-toolbar h3{margin:.2rem 0 0;font-size:1.2rem}
.cc-toolbar-actions,.cc-editor-actions,.cc-export-grid{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cc-icon-button,.cc-muted-button,.cc-ghost-button,.cc-file-button,.cc-rail-actions button{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:10px;padding:8px 11px;font-size:.78rem;font-weight:700;cursor:pointer}
.cc-icon-button:disabled{opacity:.4;cursor:not-allowed}
.cc-file-button{position:relative;overflow:hidden}
.cc-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}
.cc-muted-button{background:#f8fafc}
.cc-ghost-button{border-color:transparent;color:#64748b}
.cc-editor-label{display:flex;justify-content:space-between;gap:14px;margin-bottom:7px;color:#334155;font-weight:700;font-size:.84rem}
.cc-editor-label small{color:#64748b;font-weight:500;max-width:65%;text-align:right}
#cc-input,#cc-variant-input{width:100%;resize:vertical;border:1px solid #b9cbc9;border-radius:16px;padding:16px 17px;line-height:1.6;color:#0f172a;background:#fff;box-shadow:inset 0 1px 3px rgba(15,23,42,.04)}
#cc-input:focus,#cc-variant-input:focus{outline:3px solid rgba(20,184,166,.17);border-color:var(--cc-accent-2)}
.cc-selection-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.cc-selection-strip span{font-size:.72rem;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:5px 9px}
.cc-editor-actions{margin-top:13px}
.cc-inline-check{display:flex;gap:6px;align-items:center;font-size:.76rem;color:#475569}
.cc-message{min-height:21px;margin-top:8px;color:#0f766e;font-size:.78rem;font-weight:700}
.cc-primary-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cc-primary-metrics article,.cc-sms-grid article,.cc-unicode-summary article{padding:14px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:3px;min-width:0}
.cc-primary-metrics span,.cc-sms-grid span,.cc-unicode-summary span{font-size:.72rem;color:#64748b;font-weight:700}
.cc-primary-metrics strong,.cc-sms-grid strong,.cc-unicode-summary strong{font-size:1.42rem;line-height:1.1;color:#0f172a;overflow-wrap:anywhere}
.cc-primary-metrics small,.cc-sms-grid small,.cc-unicode-summary small{font-size:.65rem;color:#64748b;line-height:1.3}
.cc-secondary-metrics{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.cc-secondary-metrics span{border-radius:10px;background:#f0fdfa;border:1px solid #ccfbf1;padding:7px 9px;font-size:.72rem;color:#334155}
.cc-feature-section{overflow:hidden}
.cc-feature-section>summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:17px 20px;cursor:pointer;list-style:none;font-weight:800}
.cc-feature-section>summary::-webkit-details-marker{display:none}
.cc-feature-section>summary small{font-size:.7rem;font-weight:500;color:#64748b;text-align:right}
.cc-feature-number{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#ccfbf1;color:#0f766e;font-size:.8rem}
.cc-feature-section[open]>summary{border-bottom:1px solid #e2e8f0;background:#fbfffe}
.cc-feature-body{padding:20px}
.cc-control-grid{display:grid;grid-template-columns:1.25fr .75fr .75fr 1.2fr;gap:10px;margin-bottom:14px}
.cc-control-grid label{display:flex;flex-direction:column;gap:6px;font-size:.74rem;font-weight:700;color:#475569}
.cc-control-grid input,.cc-control-grid select{height:42px;border:1px solid #cbd5e1;border-radius:10px;padding:0 10px;background:#fff;color:#0f172a;min-width:0}
.cc-limit-preview,.cc-feature-preview{border:1px solid #dbe7e6;background:#fbfffe;border-radius:16px;padding:15px}
.cc-limit-head,.cc-limit-foot,.cc-preview-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}
.cc-limit-head div{display:flex;flex-direction:column;gap:2px}
.cc-limit-head strong{font-size:1.03rem}
.cc-limit-head span,.cc-limit-foot,.cc-preview-heading span{font-size:.7rem;color:#64748b}
.cc-limit-head>b{color:#0f766e;font-size:.9rem}
.cc-progress-track{height:9px;background:#e2e8f0;border-radius:99px;overflow:hidden;margin:10px 0}
.cc-progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .2s ease,background .2s ease}
.cc-progress-track span.is-warning{background:#f59e0b}
.cc-progress-track span.is-over{background:#ef4444}
.cc-overflow-preview{min-height:78px;max-height:200px;overflow:auto;padding:13px;border-radius:12px;border:1px dashed #cbd5e1;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.6;margin-top:12px}
.cc-overflow-preview .cc-safe{background:#dcfce7}
.cc-overflow-preview .cc-over{background:#fee2e2;color:#991b1b;text-decoration:underline wavy #ef4444}
.cc-placeholder{color:#94a3b8;font-style:italic}
.cc-context-preview{margin-top:12px;min-height:170px;display:grid;place-items:center;padding:18px;border-radius:14px;background:#f1f5f9;overflow-wrap:anywhere}
.cc-context-card{width:min(100%,570px);background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px;box-shadow:0 8px 22px rgba(15,23,42,.08)}
.cc-context-card p{white-space:pre-wrap;margin:8px 0 0;line-height:1.55;color:#1e293b}
.cc-context-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#0f766e,#22d3ee);display:inline-block;vertical-align:middle;margin-right:9px}
.cc-context-name{font-size:.82rem;font-weight:800}
.cc-context-meta{font-size:.68rem;color:#64748b}
.cc-preview-search{background:#fff;padding:18px 20px;border-radius:13px;width:min(100%,620px);font-family:Arial,sans-serif}
.cc-preview-search h4{color:#1a0dab;font-size:1.15rem;font-weight:400;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-preview-search .cc-url{color:#188038;font-size:.78rem}
.cc-preview-search p{font-size:.82rem;color:#4d5156;margin:6px 0 0;line-height:1.45}
.cc-preview-sms-card{width:min(100%,430px);background:#e5e7eb;border-radius:22px;padding:12px}
.cc-preview-sms-card p{background:#dcf8c6;border-radius:18px 18px 5px 18px;padding:12px 14px;margin:0 0 6px;white-space:pre-wrap}
.cc-preview-profile-card{width:min(100%,390px);background:#fff;border-radius:18px;padding:18px;text-align:center;border:1px solid #e2e8f0}
.cc-preview-profile-card .cc-profile-avatar{width:68px;height:68px;border-radius:50%;background:linear-gradient(135deg,#0f766e,#67e8f9);margin:0 auto 10px}
.cc-preview-youtube-card{width:min(100%,540px);display:grid;grid-template-columns:180px 1fr;gap:12px;background:#fff;padding:10px;border-radius:13px}
.cc-preview-youtube-card .cc-video-thumb{min-height:102px;border-radius:10px;background:linear-gradient(135deg,#111827,#ef4444);position:relative}
.cc-preview-youtube-card h4{font-size:.95rem;margin:4px 0 8px;line-height:1.4}
.cc-preview-product-card{width:min(100%,540px);display:grid;grid-template-columns:115px 1fr;gap:14px;background:#fff;padding:14px;border-radius:14px}
.cc-preview-product-card .cc-product-thumb{border-radius:12px;background:linear-gradient(135deg,#e2e8f0,#ccfbf1)}
.cc-preview-form-card{width:min(100%,560px);background:#fff;padding:16px;border-radius:14px;border:1px solid #dbe4e8}
.cc-preview-form-card label{font-size:.78rem;font-weight:800}
.cc-preview-form-card div{margin-top:7px;min-height:100px;border:1px solid #cbd5e1;border-radius:10px;padding:12px;white-space:pre-wrap;color:#334155}
.cc-sms-grid,.cc-unicode-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cc-sms-preview-wrap{margin-top:14px}
.cc-sms-bubbles{display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin-top:12px;background:#e5ddd5;padding:14px;border-radius:14px;max-height:310px;overflow:auto}
.cc-sms-bubble{max-width:85%;background:#dcf8c6;border-radius:15px 15px 4px 15px;padding:10px 12px;font-size:.82rem;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 1px 2px rgba(15,23,42,.12)}
.cc-sms-bubble small{display:block;text-align:right;color:#64748b;margin-top:4px}
.cc-sms-bubble.is-empty{background:#fff;color:#94a3b8}
.cc-fine-print{font-size:.68rem;color:#64748b;line-height:1.5;margin:11px 0 0}
.cc-unicode-table-wrap,.cc-frequency-table-wrap{margin-top:14px;overflow:auto;border:1px solid #e2e8f0;border-radius:13px}
.cc-unicode-table,.cc-frequency-table{width:100%;border-collapse:collapse;font-size:.73rem;min-width:650px;background:#fff}
.cc-unicode-table th,.cc-unicode-table td,.cc-frequency-table th,.cc-frequency-table td{padding:9px 10px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}
.cc-unicode-table th,.cc-frequency-table th{background:#f8fafc;color:#475569;font-size:.66rem;text-transform:uppercase;letter-spacing:.04em}
.cc-char-cell{font-size:1.15rem;font-weight:800}
.cc-warning-box{margin-top:12px;border-radius:12px;border:1px solid #fecaca;background:#fff1f2;color:#9f1239;padding:11px 13px;font-size:.75rem;line-height:1.5}
.cc-frequency-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr);gap:14px;align-items:start}
.cc-frequency-table-wrap{margin-top:0}
.cc-composition-card{border:1px solid #e2e8f0;border-radius:14px;padding:14px;background:#f8fafc}
.cc-composition-card h4{margin:0 0 12px}
.cc-composition-bars{display:flex;flex-direction:column;gap:9px}
.cc-composition-row{display:grid;grid-template-columns:80px 1fr 40px;gap:8px;align-items:center;font-size:.7rem}
.cc-composition-row i{height:8px;border-radius:99px;background:#e2e8f0;overflow:hidden}
.cc-composition-row i span{display:block;height:100%;background:#14b8a6}
.cc-composition-card p{font-size:.7rem;color:#64748b;line-height:1.5;margin:12px 0 0}
.cc-variant-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:14px}
.cc-variant-editor{display:flex;flex-direction:column;gap:7px;font-size:.78rem;font-weight:800}
.cc-variant-cards{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
.cc-variant-cards article{border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:12px;display:flex;flex-direction:column;gap:3px}
.cc-variant-cards span{font-size:.7rem;color:#64748b}
.cc-variant-cards strong{font-size:1.3rem}
.cc-variant-cards small{font-size:.67rem;color:#475569}
.cc-mini-progress{height:6px;background:#e2e8f0;border-radius:99px;overflow:hidden;margin-top:7px}
.cc-mini-progress i{display:block;height:100%;width:0;background:#14b8a6}
.cc-variant-preview>p{font-size:.75rem;color:#475569;margin:12px 0 0}
.cc-export-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px}
.cc-export-grid .button{width:100%}
.cc-export-preview pre{margin:12px 0 0;white-space:pre-wrap;background:#0f172a;color:#e2e8f0;padding:13px;border-radius:12px;font-size:.72rem;line-height:1.55;max-height:220px;overflow:auto}
.cc-live-rail{min-width:0}
.cc-rail-sticky{position:sticky;top:76px;padding:20px}
.cc-rail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.cc-rail-heading h3{font-size:1.08rem;margin:.2rem 0 0}
.cc-rail-heading>span{font-size:.68rem;color:#0f766e;background:#ccfbf1;padding:5px 8px;border-radius:99px;font-weight:800}
.cc-rail-main{display:flex;align-items:baseline;gap:8px;margin:19px 0 10px}
.cc-rail-main strong{font-size:3.6rem;line-height:.9;letter-spacing:-.07em}
.cc-rail-main span{font-size:.73rem;color:#64748b;font-weight:700}
.cc-rail-progress>div:first-child{display:flex;justify-content:space-between;font-size:.72rem;color:#475569}
.cc-rail-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:14px}
.cc-rail-mini-grid span{padding:8px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;font-size:.68rem;color:#475569}
.cc-rail-mini-grid b{color:#0f172a}
.cc-rail-context{margin-top:14px;max-height:180px;overflow:auto;border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;padding:11px;font-size:.75rem;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;color:#334155}
.cc-rail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}
.cc-rail-actions button{background:#0f766e;color:#fff;border-color:#0f766e}
.cc-privacy-copy{font-size:.66rem;color:#64748b;line-height:1.45;margin:13px 0 0}
.cc-mobile-bar{display:none}
.cc-preview-dialog{width:min(900px,94vw);max-height:90vh;border:0;border-radius:22px;padding:0;box-shadow:0 30px 90px rgba(15,23,42,.35)}
.cc-preview-dialog::backdrop{background:rgba(15,23,42,.65);backdrop-filter:blur(4px)}
.cc-dialog-shell{padding:20px;background:#fff}
.cc-dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;border-bottom:1px solid #e2e8f0;padding-bottom:12px}
.cc-dialog-head h3{margin:.2rem 0 0}
.cc-dialog-head button{border:0;background:#f1f5f9;width:36px;height:36px;border-radius:50%;font-size:1.35rem;cursor:pointer}
.cc-dialog-preview{padding:20px;background:#f1f5f9;border-radius:15px;margin-top:16px;min-height:260px;display:grid;place-items:center;overflow:auto}
.cc-dialog-stats{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.cc-dialog-stats span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:99px;padding:7px 10px;font-size:.73rem}
@media(max-width:1100px){.cc-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cc-workspace{grid-template-columns:minmax(0,1fr) 300px}.cc-control-grid{grid-template-columns:1fr 1fr}.cc-primary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-sms-grid,.cc-unicode-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-export-grid{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.cc-intro{flex-direction:column}.cc-intro-badges{justify-content:flex-start;max-width:none}.cc-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-workspace{display:block}.cc-live-rail{display:none}.cc-editor-column{padding-bottom:76px}.cc-editor-toolbar{flex-direction:column}.cc-template-tools{width:100%}.cc-template-tools label:first-child{flex:1}.cc-template-tools input{width:100%}.cc-feature-section>summary{grid-template-columns:auto 1fr}.cc-feature-section>summary small{grid-column:2;text-align:left}.cc-frequency-layout,.cc-variant-grid{grid-template-columns:1fr}.cc-mobile-bar{position:fixed;z-index:35;display:grid;grid-template-columns:1fr 1fr auto auto;align-items:center;gap:7px;left:10px;right:10px;bottom:10px;background:#0f172a;color:#fff;border-radius:15px;padding:9px 10px;box-shadow:0 16px 45px rgba(15,23,42,.35)}.cc-mobile-bar span{font-size:.68rem;display:flex;flex-direction:column}.cc-mobile-bar strong{font-size:.9rem}.cc-mobile-bar button{border:0;border-radius:10px;background:#14b8a6;color:#042f2e;padding:9px 10px;font-size:.72rem;font-weight:800}.cc-mobile-bar button:last-child{background:#fff}.cc-context-preview{min-height:150px}.cc-preview-youtube-card{grid-template-columns:120px 1fr}.cc-preview-product-card{grid-template-columns:85px 1fr}}
@media(max-width:560px){.cc-intro,.cc-template-section,.cc-editor-card,.cc-metric-panel,.cc-feature-body{padding:16px}.cc-template-grid{grid-template-columns:1fr}.cc-template-card{min-height:190px}.cc-section-heading{align-items:flex-start;flex-direction:column}.cc-template-tools{display:grid;grid-template-columns:1fr 1fr}.cc-editor-label{flex-direction:column}.cc-editor-label small{max-width:none;text-align:left}.cc-toolbar-actions{width:100%}.cc-toolbar-actions>*{flex:1;text-align:center}.cc-icon-button span{display:none}.cc-primary-metrics{grid-template-columns:1fr 1fr}.cc-primary-metrics strong{font-size:1.18rem}.cc-control-grid,.cc-sms-grid,.cc-unicode-summary,.cc-variant-cards,.cc-export-grid{grid-template-columns:1fr}.cc-feature-section>summary{padding:14px}.cc-feature-body{padding-top:15px}.cc-limit-head,.cc-limit-foot,.cc-preview-heading{align-items:flex-start;flex-direction:column}.cc-preview-youtube-card,.cc-preview-product-card{grid-template-columns:1fr}.cc-preview-youtube-card .cc-video-thumb{min-height:150px}.cc-preview-product-card .cc-product-thumb{min-height:110px}.cc-mobile-bar{grid-template-columns:1fr 1fr auto auto}.cc-mobile-bar span:nth-child(2){display:none}.cc-dialog-shell{padding:14px}.cc-dialog-preview{padding:12px}.cc-rail-main strong{font-size:2.8rem}}
