/* Base */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --blue:#3f82bd;
  --topbar:#D9EDF7;
  --text:#1f2937;
  --muted:#6b7280;
  --border:#e5e7eb;
  --ok:#16a34a;
  --warn:#f59e0b;
  --err:#e11d48;
  --primary:#2563eb;
  --bg:#f7f8fb;
  --card:#ffffff;
}
html{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{font-family:'Inter',system-ui,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.6}
a{color:inherit;text-decoration:none}

/* Header */
.wc-header{background:#020617;color:#fff;box-shadow:0 1px 0 rgba(0,0,0,.06)}
.wc-wrap{max-width:1200px;margin:0 auto;padding:10px 12px;display:flex;align-items:center;gap:14px}
.wc-logo{display:inline-flex;align-items:center;gap:8px}
.wc-slab,.slab{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;font-weight:800;font-size:14px;border-radius:2px;color:#fff}
.slab-w{background:#1f2327}.slab-o{background:#a7c1db;color:#1e2a3a}.slab-r{background:#7d96ae}.slab-d{background:#2f5d8a}
.wc-brand-text{display:inline-flex;flex-direction:column;line-height:1.05;font-size:19px;font-weight:800}
.wc-brand-text small{font-size:10px;opacity:.95}
.wc-nav{margin-left:10px;display:flex;align-items:center;gap:8px;flex:1}
.wc-link{color:#f4f8fc;font-weight:700;font-size:14px;padding:6px 10px;border-radius:8px;transition:.15s;white-space:nowrap;background:transparent;border:0;cursor:pointer}
.wc-link:hover{background:rgba(255,255,255,.14)}
.wc-link.active{background:#fff;color:#111;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.mobile-menu-btn{margin-left:auto;background:transparent;border:0;color:#fff;font-size:20px;display:none;cursor:pointer}
.mobile-nav{position:fixed;top:0;right:-100%;width:320px;height:100vh;background:#2c3e50;box-shadow:-2px 0 10px rgba(0,0,0,.1);transition:right .3s;z-index:100}
.mobile-nav.active{right:0}
.mobile-nav-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #34495e}
.mobile-close-btn{background:transparent;border:0;color:#fff;font-size:20px;cursor:pointer}
.mobile-nav-links{padding:16px}
.mobile-link{display:block;color:#ecf0f1;padding:12px 0;border-bottom:1px solid #34495e;font-weight:700}

/* Mobile Sign In button */
.mobile-nav button.nav-link.mobile-link{
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  color:#ecf0f1;
  padding:12px 0;
  border-bottom:1px solid #34495e;
  font-weight:700;
  font-size:16px;
}
.mobile-nav button.nav-link.mobile-link:hover{
  background:rgba(255,255,255,0.05);
}

.mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;z-index:90}
.mobile-overlay.active{display:block}

/* Layout */
.main-container{display:grid;grid-template-columns:1fr 340px;gap:18px;max-width:1200px;margin:18px auto;padding:0 15px}
.editor-section{background:var(--card);border-radius:12px;overflow:hidden;box-shadow:0 2px 4px rgba(0,0,0,.06)}

/* Stats top bar */
.stats-top-bar{background:var(--topbar);padding:10px 12px;display:flex;align-items:center}
.stats-container{flex:1}
.stats-text{font-size:22px;font-weight:800;letter-spacing:-.2px}

/* ===============================
   Toolbar – compact WordCounter style
   =============================== */
.toolbar-pro{
  background:#F1F3F5;                   /* slightly stronger so toolbar stands out */
  border-bottom:3px solid #d1d1d1;
  padding:0px 0px;
  display:flex;
  flex-wrap:wrap;                        /* allow wrapping on mobile */
  gap:0px;
  align-items:stretch;
  justify-content:flex-start;
  overflow-x:hidden;
  overflow-y:visible;
  position:relative;
  -webkit-overflow-scrolling:touch;
}

/* Base button (smaller) */
.toolbar-pro .tb-btn,
.toolbar-pro .tb-dd-btn{
  position:relative;
  min-width:78px;
  padding:4px 8px 3px;
  border-radius:3px;
  border:1px solid #dcdcdc;
  background:#ffffff;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-transform:uppercase;
  font-size:10px;
  font-weight:400;
  color:#333333;
  line-height:1.05;
  user-select:none;
}
.toolbar-pro .tb-btn i,
.toolbar-pro .tb-dd-btn i{
  font-size:13px;
  margin-bottom:2px;
  color:#4a4a4a;
}
.toolbar-pro .tb-label{
  font-weight:400;
  white-space:nowrap;
}

/* Hover / active */
.toolbar-pro .tb-btn:hover,
.toolbar-pro .tb-dd-btn:hover{
  border-color:#bfbfbf;
  box-shadow:0 0 0 1px #e0e0e0;
  background:#ffffff;
}
.toolbar-pro .tb-btn:active,
.toolbar-pro .tb-dd-btn:active{
  box-shadow:inset 0 0 0 1px #d0d0d0;
}

/* Grammar button slightly wider */
.tb-btn-grammar{
  min-width:130px;
}

/* Top-right ON/OFF badge (still available if needed) */
.toolbar-pro .tb-badge{
  position:absolute;
  top:-7px;
  right:-3px;
  padding:1px 6px 1px;
  border-radius:3px;
  font-size:9px;
  font-weight:700;
  line-height:1;
}
.toolbar-pro .tb-badge-off{
  background:#d63031;
  color:#ffffff;
}
.toolbar-pro .tb-badge-on{
  background:#2ecc71;
  color:#ffffff;
}

/* Inline ON/OFF badge next to label */
.tb-inline-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:1px 5px;
  margin-left:4px;
  border-radius:3px;
  font-size:9px;
  font-weight:700;
  line-height:1;
  vertical-align:middle;
}
.tb-inline-on{
  background:#2ecc71;
  color:#ffffff;
}
.tb-inline-off{
  background:#d63031;
  color:#ffffff;
}

/* When grammar is toggled off (dim button) */
.toolbar-pro .tb-btn.tb-btn-off{
  opacity:0.8;
}

/* Small caret triangle that sits next to label text */
.tb-label-caret{
  display:inline-block;
  margin-left:4px;
  width:0;
  height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:5px solid #617187;
  vertical-align:middle;
}

/* Dropdown caret icon (legacy if needed) */
.tb-dropdown .caret{
  width:0;
  height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:5px solid #617187;
  margin-top:2px;
}

/* Dropdown menus */
.tb-menu{display:none;background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px;box-shadow:0 12px 28px rgba(0,0,0,.12);z-index:9999;position:absolute}
.tb-menu-small{min-width:240px;max-width:280px}
.tb-item{
  display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;
  font-size:13px;background:#fff;border:0;border-radius:10px;color:#1f2937;text-align:left;cursor:pointer
}
.tb-item i{font-size:14px;color:#3f82bd}
.tb-item:hover,.tb-item:focus{background:#f0f7ff;outline:none}

/* Editor */
.editor-textarea{
  min-height:320px;                      /* larger default height */
  max-height:1000px;
  height:420px;
  padding:14px;
  font-size:14px;
  line-height:1.6;
  border:none;
  outline:none;
  overflow:auto;
  word-wrap:break-word;
  position:relative;
  white-space:pre-wrap
}
.editor-textarea::before{content:attr(data-placeholder);position:absolute;top:14px;left:14px;color:#9aa1a9;font-style:italic;pointer-events:none}
.editor-textarea:not(:empty)::before,.editor-textarea:focus::before{opacity:0}

/* Grammar highlights */
.lt-error{background:transparent;border-bottom:2px wavy var(--err);text-decoration:none;position:relative;cursor:help}
.lt-error[data-tip]:hover::after{
  content:attr(data-tip);position:absolute;left:0;bottom:100%;transform:translateY(-6px);
  background:#111;color:#fff;font-size:12px;line-height:1.4;padding:6px 8px;border-radius:8px;white-space:normal;min-width:220px;max-width:360px;box-shadow:0 6px 24px rgba(0,0,0,.12);z-index:5
}

/* Resize & summary */
.resize-handle{position:relative;height:12px;background:#e6e9ed;border-top:1px solid #d7dbdf;border-bottom:1px solid #dfe3e7;cursor:ns-resize;user-select:none;touch-action:none}
.resize-handle::before{content:"";position:absolute;top:50%;left:50%;width:34px;height:4px;transform:translate(-50%,-50%);background:
 linear-gradient(#bfc6cd,#bfc6cd) left 8px center/6px 2px no-repeat,
 linear-gradient(#bfc6cd,#bfc6cd) center center/6px 2px no-repeat,
 linear-gradient(#bfc6cd,#bfc6cd) right 8px center/6px 2px no-repeat;border-radius:2px;opacity:.9}
.bottom-summary{background:#f1f3f5;border-top:1px solid #e3e6ea;padding:8px 12px;font-weight:700;color:#334155}

/* Explanation */
.explanation-section{padding:18px 18px 10px;background:var(--card);border-top:1px solid #e7e8ea;border-radius:0 0 12px 12px}
.explanation-section h2{font-size:18px;font-weight:800;color:#263445;margin-bottom:8px;text-transform:uppercase;letter-spacing:.4px}
.explanation-section p{font-size:14px;color:#505a66;line-height:1.85;margin-bottom:8px;text-align:justify}
.explain-bullets{margin:10px 0 6px 18px}
.explain-bullets li{margin:4px 0}

/* Sidebar */
.sidebar{display:flex;flex-direction:column;gap:14px}
.panel{background:var(--card);border:1px solid #e6e9ee;border-radius:12px;box-shadow:0 2px 4px rgba(0,0,0,.06);overflow:hidden}
.panel-title{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:10px 12px;
  background:linear-gradient(90deg,#e0f2fe,#e5e7ff);
  border-bottom:1px solid #d4e1ff;
  font-weight:800;color:#111827
}
.panel-title span i.fa-wrench{color:#0f3d64;margin-right:6px}
.panel-toggle{border:0;background:transparent;color:#475569;cursor:pointer}
.panel-content{padding:10px 12px}

/* Sidebar quick search */
.sidebar-search-input-wrapper{
  position:relative;
  display:flex;
  align-items:center;
  margin-top:4px;
}
.sidebar-search-icon{
  position:absolute;
  left:10px;
  font-size:12px;
  opacity:0.7;
}
.sidebar-search-input{
  width:100%;
  padding:8px 10px 8px 28px;
  border-radius:8px;
  border:1px solid #d5d9e0;
  background-color:#f9fafb;
  font-size:13px;
  outline:none;
  transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease;
}
.sidebar-search-input:focus{
  border-color:#3f82bd;
  background-color:#ffffff;
  box-shadow:0 0 0 1px rgba(63,130,189,0.12);
}

/* Suggestions dropdown */
.sidebar-search-suggestions{
  list-style:none;
  margin-top:8px;
  padding:4px 0;
  max-height:220px;
  overflow-y:auto;
  border-radius:10px;
  border:1px solid #e3e7ee;
  background-color:#ffffff;
  box-shadow:0 8px 20px rgba(15,23,42,0.12);
  display:none;
}
.sidebar-search-suggestions.visible{
  display:block;
}
.sidebar-search-suggestions li{
  font-size:13px;
  padding:7px 10px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
}
.sidebar-search-suggestions li + li{
  border-top:1px solid #f1f3f8;
}
.sidebar-search-suggestions li span.tool-name{
  flex:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sidebar-search-suggestions li i{
  font-size:11px;
  opacity:0.7;
}
.sidebar-search-suggestions li:hover{
  background-color:#f3f4f8;
}

/* Grammar panel UI */
.grammar-controls{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.check-btn,.applyall-btn{border:0;border-radius:10px;padding:9px 11px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-size:13px}
.check-btn{background:#27ae60;color:#fff}
.applyall-btn{background:#f1f2f4;color:#111;border:1px solid #e1e5ea}
.applyall-btn:disabled{opacity:.5;cursor:not-allowed}
.grammar-results{display:flex;flex-direction:column;gap:8px}
.issue-card{border:1px solid #eef2f7;border-radius:12px;padding:9px;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.03)}
.issue-head{display:flex;justify-content:space-between;gap:8px;align-items:center}
.issue-type{font-size:12px;font-weight:800;color:#6b7280;text-transform:uppercase}
.issue-badges{display:flex;gap:6px;align-items:center}
.badge{font-size:11px;font-weight:800;border-radius:999px;padding:2px 8px}
.badge-err{background:#ffe8e8;color:#8a1f1f;border:1px solid #ffcfcf}
.badge-warn{background:#fff4e5;color:#7a3b00;border:1px solid #ffe3bf}
.issue-body{margin-top:6px;color:#334155;font-size:13px}
.issue-actions{display:flex;gap:6px;margin-top:8px}
.btn{border:0;border-radius:8px;padding:7px 9px;font-size:12px;font-weight:800;cursor:pointer}
.btn-apply{background:#2563eb;color:#fff}
.btn-ignore{background:#f3f4f6;color:#111;border:1px solid #e5e7eb}

/* Details */
.stats-list{list-style:none}
.stats-list li{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef2f7;padding:7px 0;font-size:13px}
.stats-list li:last-child{border-bottom:none}
.pill{display:inline-flex;min-width:34px;justify-content:center;padding:2px 8px;border-radius:999px;background:#5e6772;color:#fff;font-weight:800;font-size:12px}

/* Panel share area */
.panel-share-strip{
  margin-top:10px;
  padding:8px 8px;
  border-radius:10px;
  background:linear-gradient(90deg,#f1f5ff,#eefdfc);
  border:1px solid #dde7ff;
}
.panel-share{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-start;
}
.share-btn{
  width:30px;
  height:30px;
  border-radius:999px;
  border:1px solid #e2e5ea;
  background:#f9fafb;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:14px;
  color:#475569;
  transition:background .15s,border-color .15s,transform .15s,color .15s,box-shadow .15s;
}
.share-btn:hover{
  background:#2563eb;
  border-color:#2563eb;
  color:#ffffff;
  transform:translateY(-1px);
  box-shadow:0 2px 6px rgba(37,99,235,.35);
}
.share-more-btn i{font-size:12px}

/* Keyword Density panel */
.keyword-header{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid #eef2f7}
.density-title{font-weight:800}
#density-multiplier{padding:2px 6px;border:1px solid #e1e5ea;border-radius:6px;background:#fff;font-size:12px}
.keyword-list{margin-top:8px}
.keyword-item{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-bottom:1px solid #eef2f7;font-size:13px}
.keyword-word{font-weight:800;color:#1f2937}
.keyword-badge{background:#6c757d;color:#fff;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:800}

/* Readability breakdown panel */
.readability-panel{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Bar-style meter */
.readability-meter{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.readability-meter-header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
}
.meter-label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#6b7280;
}
.meter-score{
  font-size:24px;
  font-weight:800;
  color:#0f172a;
}
.readability-meter-track{
  position:relative;
  width:100%;
  height:10px;
  border-radius:999px;
  background:#e5e7eb;
  overflow:hidden;
}
.readability-meter-fill{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:0%;
  border-radius:inherit;
  transition:width .25s ease-out, background-color .25s ease-out;
}
.readability-meter-fill.meter-easy{background:#16a34a;}
.readability-meter-fill.meter-medium{background:#f59e0b;}
.readability-meter-fill.meter-hard{background:#e11d48;}

.readability-legend{
  border-top:1px dashed #e5e7eb;
  padding-top:8px;
  font-size:12px;
  color:#4b5563;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.readability-band{
  display:flex;
  align-items:center;
  gap:6px;
}
.band-color{
  width:12px;
  height:12px;
  border-radius:999px;
  display:inline-block;
}
.band-easy{background:#16a34a;}
.band-medium{background:#f59e0b;}
.band-hard{background:#e11d48;}
.readability-summary strong{
  font-size:13px;
  color:#111827;
}
.readability-summary p{
  font-size:12px;
  color:#6b7280;
  margin-top:2px;
}

/* Professional Footer */
.pro-footer{background:#020617;color:#cbd5e1;margin-top:46px}
.pf-wrap{max-width:1200px;margin:0 auto;padding:34px 15px;display:grid;grid-template-columns:320px 1fr;gap:26px}
.pf-logo{display:flex;align-items:center;gap:10px}
.pf-brand-text{font-size:18px;font-weight:800;color:#e2e8f0}
.pf-brand-text span{color:#38bdf8}
.pf-tag{margin-top:8px;color:#94a3b8;font-size:13px}
.pf-social{display:flex;gap:10px;margin-top:10px}
.pf-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border:1px solid #1e293b;
  border-radius:10px;
  background:#0b1220;
  color:#cbd5e1;
  transition:background .15s,color .15s,border-color .15s,transform .15s,box-shadow .15s;
}
.pf-social a:hover{
  background:#38bdf8;
  border-color:#38bdf8;
  color:#0b1220;
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(56,189,248,.4);
}
.pf-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.pf-col h5{color:#e2e8f0;font-weight:800;font-size:14px;margin-bottom:10px}
.pf-col ul{list-style:none}
.pf-col li{margin:8px 0}
.pf-col a{color:#94a3b8}
.pf-col a:hover{color:#e2e8f0}
.pf-bottom{border-top:1px solid #1e293b;background:#0b1220}
.pf-bottom-wrap{max-width:1200px;margin:0 auto;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8893a7;font-size:13px}
.pf-links{display:flex;gap:10px}
.pf-links a{color:#94a3b8}
.pf-links a:hover{color:#e2e8f0}

/* Modals */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;z-index:200}
.modal{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  width:820px;max-width:96vw;background:#fff;border:1px solid #e6e9ee;border-radius:12px;
  box-shadow:0 18px 40px rgba(0,0,0,.18);display:none;z-index:210
}
.modal-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #eef2f7}
.modal-head h3{font-size:16px;font-weight:800;color:#1f2937}
.modal-close{background:#f2f4f7;border:1px solid #e1e5ea;border-radius:8px;padding:6px 8px;cursor:pointer}
.modal-body{padding:12px}

/* Thesaurus modal */
.th-row{display:flex;gap:8px;align-items:center}
.th-row input{flex:1;padding:10px;border:1px solid #e1e5ea;border-radius:10px}
.th-results{margin-top:12px;min-height:60px}

/* Auth modal */
.modal-auth{max-width:520px;width:520px}
.auth-tabs{display:flex;gap:8px;margin-bottom:10px}
.auth-tab{flex:1;padding:10px;border:1px solid #e1e5ea;background:#f7f8fa;border-radius:10px;cursor:pointer;font-weight:800;color:#394150}
.auth-tab.active{background:#eaf1ff;border-color:#cfe0ff;color:#0f2b63}
.auth-pane{display:none}
.auth-pane.active{display:block}
.auth-form{display:flex;flex-direction:column;gap:8px}
.auth-form label{font-size:12px;font-weight:800;color:#444}
.auth-form input{padding:10px;border:1px solid #e1e5ea;border-radius:10px;font-size:14px}
.auth-actions{display:flex;gap:8px;align-items:center;margin-top:6px}
.btn-primary{background:var(--primary);color:#fff}
.btn-ghost{background:#f4f6f8;border:1px solid #e1e5ea}

/* Share Modal */
.modal-share{max-width:680px;width:680px}
.share-intro{font-size:13px;color:#4b5563;margin-bottom:10px}
.share-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:10px;
}
.share-grid-btn{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  border-radius:12px;border:1px solid #e2e8f0;
  padding:10px 6px;background:#f9fafb;color:#0f172a;
  font-size:12px;font-weight:600;cursor:pointer;gap:6px;
  transition:background .15s,border-color .15s,transform .15s,box-shadow .15s,color .15s;
}
.share-grid-btn i{font-size:18px}
.share-grid-btn:hover{
  background:#2563eb;border-color:#2563eb;color:#ffffff;
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(37,99,235,.35);
}
.share-note{margin-top:10px;font-size:11px;color:#6b7280}

/* Notifications */
.notification{position:fixed;top:18px;right:18px;background:#2c3e50;color:#fff;padding:10px 16px;border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:10000;transform:translateX(100%);transition:transform .3s;max-width:320px;font-size:13px;font-weight:800}
.notification.show{transform:translateX(0)}

/* Responsive */
@media (max-width:1100px){.pf-wrap{grid-template-columns:1fr}.pf-cols{grid-template-columns:repeat(2,1fr)}}
@media (max-width:1024px){.main-container{grid-template-columns:1fr}.sidebar{margin-top:14px}}
@media (max-width:992px){
  .wc-nav{display:none}
  .mobile-menu-btn{display:inline-block}
  .wc-brand-text{font-size:18px}
  .wc-slab{width:22px;height:22px;font-size:13px}
}
@media (max-width:640px){
  .pf-cols{grid-template-columns:1fr}
}
@media (max-width:480px){
  .editor-textarea{height:380px}
}

/* Print */
@media print{
  header,.toolbar,.sidebar,.resize-handle,.panel-share-strip{display:none!important}
  .tb-menu{display:none!important}
  .editor-section{box-shadow:none;border:0}
  .editor-textarea{min-height:auto;height:auto}
  .bottom-summary{display:none}
  @page{margin:20mm}
  body::before{
    content:"WordCalculator.net\nhttps://wordcalculator.net";
    white-space:pre;display:block;margin:0 0 8mm 0;font-weight:900;font-size:16px;
  }
}

/* Editor base style + focus highlight */
.editor-textarea {
  border: 1px solid #dde3ea;
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}
.editor-textarea:focus,
.editor-textarea:focus-visible,
.editor-textarea.is-focused {
  border-color: #3f82bd;
  box-shadow: 0 0 0 2px rgba(63, 130, 189, 0.2);
}