*{box-sizing:border-box}body{margin:0;background:#eef3fb;color:#111827;font-family:Arial,Helvetica,sans-serif}.page{width:min(1500px,calc(100% - 24px));margin:0 auto;padding:14px 0 32px}.topbar{background:linear-gradient(135deg,#172554,#334155);color:white;border-radius:18px;padding:18px;box-shadow:0 14px 32px rgba(15,23,42,.22)}.topbar h1{margin:0;font-size:27px}.topbar p{margin:6px 0 0;color:#dbeafe}.site-nav{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.site-nav a{background:#fff;border:1px solid #dbe3ef;color:#172554;text-decoration:none;padding:9px 12px;border-radius:999px;font-weight:900;font-size:13px}.site-nav a:hover{background:#dbeafe}.tool-card,.card,.result-card,.seo-content{background:#fff;border:1px solid #dbe3ef;border-radius:16px;box-shadow:0 8px 20px rgba(15,23,42,.08);overflow:hidden}.tool-header{padding:14px;display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f8fafc;border-bottom:1px solid #dbe3ef}.tool-header h2,.result-header h2{margin:0;color:#172554}.tool-header p{margin:4px 0 0;color:#64748b}.tool-actions,.result-actions{display:flex;gap:8px;flex-wrap:wrap}button{border:0;background:#2563eb;color:white;padding:10px 15px;border-radius:11px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(37,99,235,.25)}button:hover{background:#1d4ed8}button.btn-light{background:#e5e7eb;color:#111827;box-shadow:none}button.btn-light:hover{background:#d1d5db}.options-card{display:flex;gap:14px;flex-wrap:wrap;padding:12px;border-bottom:1px solid #dbe3ef}.options-card label{font-size:13px;font-weight:800;color:#334155}.summary-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;padding:12px}.summary-card{border:1px solid #dbe3ef;border-radius:14px;padding:12px;background:#fff}.summary-card span{display:block;font-size:12px;color:#64748b;font-weight:900;margin-bottom:5px;text-transform:uppercase}.summary-card b{font-size:24px}.summary-card.added b{color:#16a34a}.summary-card.removed b{color:#dc2626}.summary-card.changed b{color:#ca8a04}.summary-card.same b{color:#475569}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 12px 12px}.card-title{min-height:56px;padding:10px 12px;background:#f8fafc;border-bottom:1px solid #dbe3ef;display:flex;align-items:center;justify-content:space-between;gap:12px}.card-title strong{display:block;color:#334155}.card-title small{display:block;color:#64748b;font-size:11px;margin-top:3px}.card-title input{max-width:240px;font-size:12px}textarea{width:100%;height:300px;resize:vertical;border:0;outline:none;padding:12px;font-size:14px;line-height:1.45;font-family:Consolas,Monaco,monospace}.result-actions{padding:0 12px 12px}.result-card{margin:0 12px 12px}.result-header{padding:12px;background:#f8fafc;border-bottom:1px solid #dbe3ef;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;font-weight:800;color:#475569}.lg{display:inline-block;width:13px;height:13px;border-radius:4px;vertical-align:middle;margin-right:4px;border:1px solid #cbd5e1}.lg.added{background:#dcfce7}.lg.removed{background:#fee2e2}.lg.changed{background:#fef3c7}.lg.same{background:#f8fafc}.status-pill{padding:5px 9px;background:#e5e7eb;color:#334155;border-radius:999px;font-size:12px;font-weight:900}.difference-table-wrap{overflow:auto;max-height:520px}.difference-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:Consolas,Monaco,monospace;font-size:13px}.difference-table th{position:sticky;top:0;z-index:3;background:#334155;color:#fff;padding:8px;text-align:left;border:1px solid #475569}.difference-table td{border:1px solid #e5e7eb;padding:7px 8px;vertical-align:top;white-space:pre-wrap;word-break:break-word}.line-col{width:80px;text-align:center!important;font-weight:900}td.line-col{background:#f8fafc;color:#64748b}tr.added-row td.new-cell{background:#dcfce7}tr.added-row td.old-cell,tr.removed-row td.new-cell{background:#f8fafc;color:#94a3b8}tr.removed-row td.old-cell{background:#fee2e2}tr.changed-row td.text-cell{background:#fef3c7}.empty{padding:24px!important;text-align:center;font-family:Arial,Helvetica,sans-serif;color:#64748b}.only-difference{padding:12px;min-height:120px;max-height:480px;overflow:auto;font-family:Consolas,Monaco,monospace;font-size:13px;line-height:1.45}.difference-item{border:1px solid #dbe3ef;border-radius:13px;overflow:hidden;margin-bottom:10px}.difference-item-title{padding:8px 10px;background:#f8fafc;color:#334155;font-family:Arial,Helvetica,sans-serif;font-weight:900;font-size:12px;border-bottom:1px solid #dbe3ef}.difference-line{padding:8px 10px;white-space:pre-wrap;word-break:break-word}.difference-line.old{background:#fee2e2}.difference-line.new{background:#dcfce7}mark{background:#facc15;color:#111827;border-radius:4px;padding:0 2px}.seo-content{margin-top:16px;padding:20px;line-height:1.65}.seo-content h2{margin:20px 0 8px;color:#172554;font-size:21px}.seo-content h2:first-child{margin-top:0}.seo-content h3{margin:15px 0 6px;color:#334155;font-size:17px}.seo-content p,.seo-content li{color:#334155;font-size:14px}.keyword-list{columns:2;gap:28px}@media(max-width:900px){.tool-header{flex-direction:column;align-items:flex-start}.summary-grid{grid-template-columns:repeat(2,1fr)}.editor-grid{grid-template-columns:1fr}textarea{height:230px}.keyword-list{columns:1}}@media(max-width:520px){.summary-grid{grid-template-columns:1fr}.card-title{flex-direction:column;align-items:flex-start}.card-title input{max-width:100%}}

/* DifferencePilot logo header */
.brand-topbar{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:144px;
  padding:18px;
  background:
    radial-gradient(circle at 16% 12%, rgba(34,211,238,.28), transparent 26%),
    linear-gradient(135deg,#8999eb 0%,#a9a9a5 48%,#0284c7 100%);
}
.brand-topbar::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0) 46%);
  pointer-events:none;
}
.brand-topbar::after{
  content:"";
  position:absolute;
  right:-110px;
  top:-110px;
  width:280px;
  height:280px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  pointer-events:none;
}

/* ===== DifferencePilot logo fix - bigger logo without increasing top bar height ===== */
.brand-logo{
  position:relative;
  z-index:1;
  flex:0 0 520px;
  width:520px;
  max-width:52%;
  height:108px;
  min-height:0!important;
  padding:0;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.brand-logo img{
  width:280px;
  max-width:none;
  height:auto;
  max-height:none;
  display:block;
  object-fit:contain;
  transform:scale(1.85);
  transform-origin:center center;
}
.brand-copy{
  position:relative;
  z-index:1;
  flex:1 1 auto;
  max-width:620px;
  text-align:right;
}
.brand-copy h1{
  margin:0;
  color:#fff;
  font-size:30px;
  line-height:1.1;
  letter-spacing:-.5px;
}
.brand-copy p{
  margin:8px 0 0;
  color:#dff7ff;
  font-size:14px;
  line-height:1.45;
}

@media(max-width:900px){
  .brand-topbar{
    align-items:flex-start;
    flex-direction:column;
    min-height:auto;
  }
  .brand-logo{
    flex:none;
    width:100%;
    max-width:620px;
    height:96px;
    justify-content:flex-start;
  }
  .brand-logo img{
    width:280px;
    transform:scale(1.55);
    transform-origin:left center;
  }
  .brand-copy{
    text-align:left;
    max-width:100%;
  }
}
@media(max-width:520px){
  .brand-logo{
    width:100%;
    max-width:100%;
    height:58px;
  }
  .brand-logo img{
    width:160px;
    transform:scale(1.42);
  }
  .brand-copy h1{
    font-size:24px;
  }
}
