
*{box-sizing:border-box}
:root{
  --google-blue:#1a73e8;
  --text:#202124;
  --muted:#5f6368;
  --line:#dadce0;
  --footer:#f2f2f2;
}
html,body{margin:0;padding:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff}
a{text-decoration:none;color:inherit}
button,input{font:inherit}

.g-header{
  height:60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 24px;
  font-size:13px;
}
.g-header-right{display:flex;align-items:center;gap:22px}
.g-header-right a:hover{text-decoration:underline}
.apps-dot{font-size:21px;line-height:1;letter-spacing:-5px}

.google-home{
  min-height:calc(100vh - 160px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 20px 140px;
}
.google-center{
  width:min(720px,100%);
  text-align:center;
}
.main-logo-img{
  display:block;
  width:min(440px,78vw);
  max-height:140px;
  object-fit:contain;
  margin:0 auto 26px;
}

.google-searchbox{
  width:100%;
  display:flex;
  align-items:center;
  height:48px;
  border:1px solid #dfe1e5;
  border-radius:24px;
  padding:0 8px 0 16px;
  background:#fff;
  box-shadow:none;
  transition:.2s;
}
.google-searchbox:hover,
.google-searchbox:focus-within{
  box-shadow:0 1px 6px rgba(32,33,36,.28);
  border-color:transparent;
}
.search-icon{
  color:#9aa0a6;
  font-size:23px;
  margin-right:10px;
}
.google-searchbox input{
  flex:1;
  height:100%;
  border:0;
  outline:0;
  min-width:0;
  font-size:16px;
  background:transparent;
}
.search-submit{
  border:0;
  background:transparent;
  color:var(--google-blue);
  font-weight:600;
  padding:9px 13px;
  cursor:pointer;
}

.google-actions{
  margin-top:28px;
  display:flex;
  justify-content:center;
  gap:12px;
}
.google-actions button,
.google-actions a{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 16px;
  border:1px solid #f8f9fa;
  border-radius:4px;
  background:#f8f9fa;
  color:#3c4043;
  font-size:14px;
  cursor:pointer;
}
.google-actions button:hover,
.google-actions a:hover{
  border-color:#dadce0;
  box-shadow:0 1px 1px rgba(0,0,0,.1);
}
.google-tagline{
  margin-top:24px;
  color:var(--muted);
  font-size:13px;
}

.search-results-header{
  min-height:92px;
  display:flex;
  align-items:center;
  gap:38px;
  padding:18px 28px 14px;
}
.result-logo-img{
  width:170px;
  height:50px;
  object-fit:contain;
}
.result-searchbox{max-width:690px}
.result-tabs{
  height:48px;
  display:flex;
  gap:28px;
  padding-left:235px;
  border-bottom:1px solid #ebebeb;
  color:#5f6368;
  font-size:14px;
}
.result-tabs span{display:flex;align-items:center;height:100%;position:relative}
.result-tabs .active{color:var(--google-blue)}
.result-tabs .active:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;height:3px;
  background:var(--google-blue);
}
.google-results{
  max-width:720px;
  margin-left:235px;
  padding:18px 20px 70px 0;
}
.result-count{
  color:#70757a;
  font-size:13px;
  margin-bottom:24px;
}
.google-result-item{margin-bottom:32px}
.result-source{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:7px;
}
.result-favicon{
  width:28px;height:28px;border-radius:50%;
  background:#f1f3f4;
  display:grid;place-items:center;
  font-size:12px;font-weight:700;color:#5f6368;
}
.result-host{font-size:14px;color:#202124}
.result-url{
  color:#4d5156;
  font-size:12px;
  max-width:560px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.google-result-title{
  display:inline-block;
  color:#1a0dab;
  font-size:20px;
  line-height:1.3;
  margin-bottom:5px;
}
.google-result-title:hover{text-decoration:underline}
.google-result-desc{
  margin:0;
  color:#4d5156;
  font-size:14px;
  line-height:1.58;
}
.empty-result{
  padding:22px 0;
  color:#4d5156;
}

.g-footer{
  background:var(--footer);
  color:#70757a;
  font-size:14px;
}
.g-footer>div:first-child{
  padding:14px 30px;
  border-bottom:1px solid #dadce0;
}
.g-footer-links{
  display:flex;
  gap:24px;
  padding:14px 30px;
}
.g-footer-links a:hover{text-decoration:underline}

/* Request/Admin pages */
.request{
  max-width:720px;
  margin:34px auto 70px;
  padding:0 20px;
  text-align:center;
}
.brand-logo-link{display:inline-block;margin-bottom:8px}
.brand-logo-small{width:260px;max-width:75vw;height:70px;object-fit:contain}
.request>p{color:#5f6368}
.card{
  text-align:left;
  margin-top:24px;
  border:1px solid #dadce0;
  border-radius:12px;
  padding:24px;
  box-shadow:0 2px 8px rgba(60,64,67,.08);
}
.card form+form{margin-top:22px}
.card label{display:block;margin:10px 0 7px;font-size:13px;font-weight:700}
.card input{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid #dadce0;
  border-radius:6px;
  outline:0;
}
.card input:focus{border-color:var(--google-blue);box-shadow:0 0 0 2px rgba(26,115,232,.12)}
.card button,.admin button{
  margin-top:10px;
  border:0;
  border-radius:4px;
  background:var(--google-blue);
  color:#fff;
  min-height:40px;
  padding:0 18px;
  font-weight:600;
  cursor:pointer;
}
.result-favicon{
  width:28px;
  height:28px;
  border-radius:50%;
  background:#f1f3f4;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex-shrink:0;
}

.result-favicon img{
  width:22px;
  height:22px;
  object-fit:contain;
  border-radius:4px;
  display:block;
}

.card hr{border:0;border-top:1px solid #eee;margin:24px 0}
.notice{padding:12px;border-radius:6px;margin:14px 0;font-size:14px}
.ok{background:#e6f4ea;color:#137333}
.err{background:#fce8e6;color:#c5221f}
.admin{max-width:1200px;margin:30px auto;padding:0 20px}
.table-wrap{overflow:auto;border:1px solid #dadce0;border-radius:8px}
table{width:100%;border-collapse:collapse}
th,td{padding:10px;border-bottom:1px solid #eee;text-align:left;vertical-align:top;font-size:13px}
th{background:#f8f9fa}
.danger{background:#d93025!important}

@media(max-width:900px){
  .search-results-header{gap:18px;padding-left:18px}
  .result-logo-img{width:120px}
  .result-tabs{padding-left:155px}
  .google-results{margin-left:155px}
}
@media(max-width:700px){
  .g-header{padding:0 14px}
  .google-home{padding-bottom:80px}
  .main-logo-img{width:min(330px,82vw)}
  .google-actions{flex-direction:column;align-items:center}
  .search-results-header{flex-direction:column;align-items:flex-start;padding:14px 16px}
  .result-logo-img{width:145px}
  .result-tabs{padding-left:16px;overflow:auto;gap:22px}
  .google-results{margin-left:0;padding:18px 16px 60px}
  .g-footer-links{flex-wrap:wrap}
}
.manual-index-box {
    max-width: 760px;
    padding: 25px;
    margin-bottom: 35px;
    border: 1px solid #dadce0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.manual-index-box h2 {
    margin: 0 0 20px;
}

.manual-index-box label {
    display: block;
    margin: 14px 0 6px;
    font-size: 13px;
    font-weight: 700;
}

.manual-index-box input,
.manual-index-box textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
}

.manual-index-box textarea {
    resize: vertical;
}

.manual-index-box input:focus,
.manual-index-box textarea:focus {
    border-color: #1a73e8;
    box-shadow:
        0 0 0 2px
        rgba(26,115,232,.12);
}

.manual-index-box button {
    margin-top: 18px;
    padding: 12px 22px;
    border: 0;
    border-radius: 6px;
    background: #1a73e8;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}