/* Approved standard: test-fixtures/design/domain-green-reference.png.
   Green title band, left-aligned white text, gray canvas, white cards. */
:root,body[data-page]{--brand:#19a43a;--brand-2:#138a30;--brand-soft:#edf8ef;--ink:#25322a;--muted:#69756e;--page:#f6f8f7;--soft:#f7f9f8;--line:#e7ece8;--line-strong:#d7e0d9;--card:#fff;--card-strong:#fff;--surface:#fff;--admin-blue:#12842d;--admin-bg:#f6f8f7;--admin-card:#fff;--admin-line:#e7ece8;--admin-text:#25322a;--admin-muted:#69756e}
body[data-page],body[data-page="tool"]{color:var(--ink);background:var(--page)}
.topbar,body[data-page="tool"] .topbar{background:var(--card);border-bottom:1px solid var(--line);box-shadow:none}
.topbar-inner{width:min(1240px,calc(100% - 32px));height:68px;gap:28px}
.brand{color:var(--ink);font-size:18px;font-weight:700}
.brand-mark,body[data-page="tool"] .brand-mark{background:var(--brand);border-radius:7px;box-shadow:none}
.header-search{background:var(--soft);border-radius:6px;border-color:var(--line)}
.toplinks{display:flex;gap:22px;color:var(--muted);font-size:13px;align-items:center}
.primary,.showcase-workbench .form-actions .primary,body[data-tool] .form-actions .primary{background:#12842d;color:white;border-radius:5px;box-shadow:none}
.primary:hover,.showcase-workbench .form-actions .primary:hover,body[data-tool] .form-actions .primary:hover{background:#0e7225;box-shadow:none}
.secondary,.showcase-workbench .secondary{color:var(--ink);border:1px solid var(--line);background:var(--card);border-radius:5px}
.secondary:hover,.showcase-workbench .secondary:hover{color:var(--brand-2);background:var(--brand-soft);border-color:#b8ddc0}
.showcase-workbench .field input,.showcase-workbench .field textarea,.showcase-workbench .field select{border-radius:5px;border-width:1px;box-shadow:none;border-color:var(--line-strong)}
.showcase-workbench .field input:focus,.showcase-workbench .field textarea:focus,.showcase-workbench .field select:focus{border-color:var(--brand);box-shadow:0 0 0 3px #19a43a12}
body[data-tool] .tool-layout{padding:0 0 48px;background:var(--page)}
body[data-tool] .tool-shell{display:block;width:min(1040px,calc(100% - 40px))}
body[data-tool] .crumbs{display:flex;align-items:center;height:42px;margin:0;color:var(--muted);font-size:11px}
body[data-tool] .showcase-head{position:relative;display:flex;align-items:center;min-height:148px;margin:0 0 28px;padding:28px 0;background:#19a43a;color:white;border:0;border-radius:0;text-align:left;box-shadow:0 0 0 100vmax #19a43a;clip-path:inset(0 -100vmax)}
body[data-tool] .showcase-head .tool-title-row{display:block;width:100%;margin:0}
body[data-tool] .showcase-head .tool-title-row>div{width:100%;text-align:left}
body[data-tool] .showcase-head .tool-title-icon,body[data-tool] .showcase-label,body[data-tool] .showcase-head .privacy-badge{display:none}
body[data-tool] .showcase-head h1{margin:0 105px 12px 0;color:white;font-size:32px;line-height:1.35;font-weight:500;letter-spacing:.01em;white-space:normal}
body[data-tool] .showcase-head p{color:#e4f5e7;max-width:85%;margin:0;font-size:13px;line-height:1.8}
body[data-tool] .showcase-head .tool-actions{position:absolute;right:0;top:36px;display:flex;width:auto;margin:0}
body[data-tool] .showcase-head .favorite-button{color:white;background:transparent;border:1px solid #ffffff65;border-radius:5px;padding:7px 12px;font-size:12px;font-weight:400}
body[data-tool] .showcase-head .favorite-button.selected{color:white;background:#ffffff20;border-color:#ffffffaa}
body[data-tool] .showcase-workbench{padding:0;border:0;border-radius:0;background:transparent;gap:20px;box-shadow:none}
body[data-tool] .showcase-workbench>.panel{padding:26px 28px;border:1px solid var(--line);border-radius:8px;background:var(--card);box-shadow:0 2px 8px #1f3b2803}
body[data-tool] .showcase-workbench .panel-heading{padding:0 0 17px;margin:0 0 20px;border-bottom:1px solid var(--line);gap:0}
body[data-tool] .panel-heading>span{display:none}
body[data-tool] .panel-title{color:var(--ink);font-size:16px;font-weight:600}
body[data-tool] .panel-heading p{color:var(--muted);font-size:12px}
body[data-tool] .tool-facts{display:none}
body[data-tool] .guide,body[data-tool] .faq-section,body[data-tool] .tool-directory{border-radius:8px;box-shadow:none;border-color:var(--line)}
body[data-tool] .guide-example{background:var(--brand-soft)}
body[data-tool] .upload-zone{background:var(--soft);border-color:#b8d7bf;border-radius:7px}
body[data-tool] .upload-zone:hover{background:var(--brand-soft);border-color:var(--brand)}
body[data-tool] .upload-browse{color:var(--brand-2);border-color:#b8d7bf}
body[data-tool="domain-query"] .showcase-workbench .input-panel{padding:24px 28px}
body[data-tool="domain-query"] .showcase-workbench>.result{padding:0;border:0;background:transparent;box-shadow:none}
body[data-tool="domain-query"] #fields input{height:46px;min-height:46px;border:1px solid var(--line-strong);border-radius:5px}
body[data-tool="domain-query"] #fields input:focus{border-color:var(--brand)}
body[data-tool="domain-query"] .form-actions .primary,body[data-tool="domain-query"] #domain-visit{min-height:46px;border-radius:5px}
body[data-tool="domain-query"] #domain-visit{color:var(--brand-2);background:var(--brand-soft);border-color:#c8e4ce}
body[data-tool="domain-query"] .domain-shortcuts{display:flex}
body[data-tool="domain-query"] .domain-card-title i{color:var(--brand-2);background:var(--brand-soft)}
/* Retain the requested deeper IP accents within the approved layout. */
body[data-tool="my-ip"]{--brand-2:#075d27;--muted:#56665b}
body[data-tool="my-ip"] .ip-summary{color:white;background:#087a32;border-color:#087a32}
body[data-tool="my-ip"] .ip-actions .primary{background:#087a32}
body[data-tool="my-ip"] .ip-actions .primary:hover{background:#065c26}
body[data-tool="my-ip"] .ip-address{color:#164c2b}
body[data-tool="my-ip"] .ip-tag{color:var(--brand-2);background:var(--brand-soft)}
/* Home: same green header, gray canvas and white cards. */
body[data-page="home"] .wrap{width:min(1040px,calc(100% - 40px))}
body[data-page="home"] .hero{padding:38px 0;background:#19a43a;border:0}
body[data-page="home"] .hero-grid{display:block}
body[data-page="home"] .hero-copy{max-width:none;text-align:left}
body[data-page="home"] .hero .eyebrow{color:#e4f5e7}
body[data-page="home"] .hero .eyebrow i{background:white}
body[data-page="home"] .hero h1{color:white;font-size:34px;line-height:1.45;font-weight:500;margin:12px 0;letter-spacing:0}
body[data-page="home"] .hero h1 br{display:none}
body[data-page="home"] .hero h1 span{color:white;margin-left:8px}
body[data-page="home"] .hero p{color:#e4f5e7;font-size:13px}
body[data-page="home"] .hero p br{display:none}
body[data-page="home"] .searchbox{max-width:760px;margin:22px 0 0;height:50px;border-radius:5px;border-color:transparent;background:white;box-shadow:none}
body[data-page="home"] .searchbox input{color:#25322a}
body[data-page="home"] .hero-links{justify-content:flex-start;color:#e4f5e7}
body[data-page="home"] .hero-links>span,body[data-page="home"] .hero-links a,body[data-page="home"] .search-feedback{color:#e4f5e7;opacity:1}
.home-shortcuts{max-width:none;margin:24px 0 0;padding:0;background:transparent;border:0;box-shadow:none}
.home-shortcuts-head,.home-shortcuts-foot{display:none}
.home-shortcuts nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-shortcuts nav>a{padding:14px;border:1px solid #ffffff50;border-radius:6px;color:#fff;background:#ffffff0d}
.home-shortcuts nav>a>span{color:#fff;background:#ffffff20}
.home-shortcuts nav small,.home-shortcuts nav i{color:#e4f5e7}
.home-shortcuts nav>a:hover{background:#ffffff20}
.home-shortcuts nav>a:hover b,.home-shortcuts nav>a:hover i{color:#fff}
body[data-page="home"] .category-section{background:var(--page);border:0;padding:34px 0}
body[data-page="home"] #tools{border-top:1px solid var(--line);background:var(--page)}
body[data-page="home"] .category-overview>a,body[data-page="home"] .card,body[data-page="home"] .recent-card{background:var(--card);border-radius:8px}
.category-page{padding-top:0;background:var(--page)}
.category-page>.wrap,.category-page[data-category="network"]>.wrap{width:min(1040px,calc(100% - 40px))}
.category-page .crumbs{height:42px;display:flex;align-items:center;margin:0;font-size:11px}
.category-page[data-category] .category-hero{display:block;margin:0 0 24px;padding:26px 0;min-height:148px;color:white;background:#19a43a;border:0;border-radius:0;box-shadow:0 0 0 100vmax #19a43a;clip-path:inset(0 -100vmax);text-align:left}
.category-page .category-hero-icon,.category-page .category-hero .section-kicker{display:none}
.category-page[data-category] .category-hero h1{color:white;font-size:32px;font-weight:500;line-height:1.35;margin:0 0 12px}
.category-page[data-category] .category-hero p{color:#e4f5e7;font-size:13px;margin:0}
.category-page .category-meta{justify-content:flex-start;margin-top:14px}
.category-page .category-meta span{color:#fff;background:#ffffff15;border-color:#ffffff50;border-radius:4px}
.category-page .module-nav{margin:0 0 20px}
.category-page .module-nav a{background:var(--card);border-radius:5px;border-color:var(--line)}
.category-page .module-nav a:hover{color:var(--brand-2);background:var(--brand-soft);border-color:#b8ddc0}
.category-page[data-category] .module-sections>section{padding:22px;background:var(--card);border-radius:8px;border-color:var(--line);box-shadow:none}
.category-page .category-tool-grid>a{border-radius:5px}
.footer,body[data-tool] .footer{background:var(--card);padding:24px 0;border-top:1px solid var(--line)}
.footer .wrap,body[data-tool] .footer .wrap{width:min(1040px,calc(100% - 40px))}
.footer p,.footer nav{font-size:11px;color:var(--muted)}
.admin-sidebar{background:var(--admin-card);border-right:1px solid var(--admin-line)}
.admin-brand{color:var(--admin-text);border-color:var(--admin-line)}
.admin-brand-mark,.admin-avatar{background:#19a43a}
.admin-nav-label,.admin-sidebar-foot,.admin-nav a{color:var(--admin-muted)}
.admin-nav a:hover,.admin-nav a.active{color:#138a30;background:#edf8ef;box-shadow:none}
.admin-card,.admin-stat{border:1px solid var(--admin-line);border-radius:8px;box-shadow:none}
.admin-stat.blue,.admin-stat.green,.admin-stat.amber,.admin-stat.red{background:var(--admin-card);color:var(--admin-text)}
.admin-stat strong{color:#138a30;font-weight:600}
.admin-stat p{color:var(--admin-muted);font-size:12px}
.admin-stat-icon{color:#19a43a1a}
.admin-stat-footer{color:#138a30;background:#edf8ef;border-top:1px solid var(--admin-line)}
.admin-chart .line,.admin-chart .point{stroke:#19a43a}
.admin-chart .area{fill:#19a43a12}
.admin-progress-track i{background:#19a43a}
.admin-tool-dot,.admin-quick-icon{color:#138a30;background:#edf8ef}
html[data-theme="dark"] body[data-page]{--brand:#49c76b;--brand-2:#6ed68a;--brand-soft:#182e20;--page:#121a15;--soft:#17221b;--ink:#e0eae3;--muted:#a9b7ad;--line:#29392e;--line-strong:#3a4d40;--card:#1b261f;--card-strong:#1b261f;background:var(--page)}
html[data-theme="dark"] body[data-tool] .showcase-head h1,html[data-theme="dark"] .category-page[data-category] .category-hero h1,html[data-theme="dark"] body[data-page="home"] .hero h1 span{color:white}
html[data-theme="dark"] body[data-tool] .showcase-head p{color:#e4f5e7}
html[data-theme="dark"] body[data-tool="my-ip"] .ip-address{color:#d5efdd}
html[data-theme="dark"] .secondary{background:var(--card);color:var(--ink)}
html[data-admin-theme="dark"] .admin-nav a.active,html[data-admin-theme="dark"] .admin-stat-footer{color:#6ed68a;background:#182e20}
.time-page-links{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:-6px 0 24px;font-size:14px}
.time-page-links a{color:var(--brand-2);font-weight:600}
.time-page-links span{margin-left:auto;color:var(--muted);font-size:12px}
.country-time-directory{margin:28px 0;padding:28px;background:var(--card);border:1px solid var(--line);border-radius:8px;scroll-margin-top:80px}
.country-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.country-directory-heading h2{margin:0 0 8px;font-size:22px}
.country-directory-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.8}
.country-region-nav{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}
.country-region-nav a{padding:7px 14px;background:var(--brand-soft);color:var(--brand-2);border-radius:5px;font-size:13px}
.country-region-nav button{padding:6px 12px;background:var(--soft);color:var(--muted);border:1px solid var(--line);border-radius:5px;font:inherit;font-size:12px;cursor:pointer}
.country-region-nav button[aria-pressed="true"]{background:var(--brand-soft);color:var(--brand-2);border-color:var(--brand)}
.country-directory-search{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:20px;font-size:13px;color:var(--muted)}
.country-directory-search input{flex:1;min-width:180px;padding:10px 12px;border:1px solid var(--line);border-radius:5px;background:var(--card);color:var(--ink);font:inherit}
.time-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:16px;font-size:12px;color:var(--muted)}
.time-pagination>span{margin-right:auto}
.time-pagination button{padding:7px 13px;background:var(--card);color:var(--brand-2);border:1px solid var(--line);border-radius:5px;cursor:pointer;font:inherit}
.time-pagination button:disabled{opacity:.4;cursor:default}
.country-region-nav button:focus-visible,.time-pagination button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.country-region-group{padding-top:18px;scroll-margin-top:90px;border-top:1px solid var(--line);margin-top:20px}
.country-region-group h3{display:flex;align-items:center;gap:14px;margin:0 0 14px;font-size:16px}
.country-region-group h3 small{font-size:12px;font-weight:400;color:var(--muted)}
.country-name-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.country-name-grid a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:var(--soft);border:1px solid transparent;border-radius:5px;font-size:13px;overflow-wrap:anywhere}
.country-name-grid a span{color:var(--muted)}
.country-name-grid a:hover,.country-name-grid a[aria-current="page"]{background:var(--brand-soft);color:var(--brand-2);border-color:var(--brand)}
.country-name-grid a:focus-visible,.country-region-nav a:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.country-time-meta small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}
body[data-tool="global-time"] .showcase-workbench{grid-template-columns:240px minmax(0,1fr)}
body[data-tool="global-time"] .global-time-summary{color:var(--brand-2);background:var(--brand-soft);border-color:var(--line)}
body[data-tool="global-time"] .global-clock-card{background:var(--card);border-color:var(--line)}
@media(max-width:1000px){.country-name-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-tool="global-time"] .global-clock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
.country-time-directory{padding:20px}.country-name-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.time-page-links span{display:none}
body[data-tool="global-time"] .showcase-workbench{grid-template-columns:1fr}body[data-tool="global-time"] .input-panel{position:static}
body[data-tool="global-time"] .global-time-summary{align-items:flex-start;flex-direction:column;gap:8px}
body[data-tool] .tool-shell,body[data-page="home"] .wrap,.category-page>.wrap,.category-page[data-category="network"]>.wrap{width:calc(100% - 32px)}
.header-search{display:none}.toplinks{margin-left:auto;gap:14px}.topbar-inner{height:60px}
body[data-tool] .showcase-head{min-height:140px;padding:24px 0;margin-bottom:20px}
body[data-tool] .showcase-head h1{font-size:27px;margin-right:85px}
body[data-tool] .showcase-head p{max-width:90%;font-size:12px}
body[data-tool] .showcase-head .tool-actions{top:25px}
body[data-tool] .showcase-workbench{grid-template-columns:1fr;gap:16px}
body[data-tool] .showcase-workbench>.panel,body[data-tool="domain-query"] .showcase-workbench .input-panel{padding:22px}
body[data-page="home"] .hero{padding:28px 0}body[data-page="home"] .hero h1{font-size:27px}body[data-page="home"] .hero h1 span{margin-left:0;display:block}
.home-shortcuts nav{grid-template-columns:repeat(2,minmax(0,1fr))}.home-shortcuts nav>a{grid-template-columns:30px minmax(0,1fr);padding:12px;gap:8px}.home-shortcuts nav>a>span{width:30px;height:30px}.home-shortcuts nav small,.home-shortcuts nav i{display:none}
.category-page[data-category] .category-hero{padding:24px 0}.category-page[data-category] .category-hero h1{font-size:27px}.category-page[data-category] .category-hero p{font-size:12px}
}

/* Exact saturated green sampled from the approved reference image. */
:root,body[data-page]{
  --brand:#20a53a;
  --brand-2:#126b29;
  --brand-soft:#e5f5e8;
  --ink:#15351f;
  --muted:#53675a;
  --page:#f5f8f5;
  --soft:#eef5f0;
  --line:#d4dfd6;
  --line-strong:#b5cab9;
  --admin-blue:#20a53a;
  --admin-bg:#f5f8f5;
  --admin-line:#d4dfd6;
  --admin-text:#15351f;
  --admin-muted:#53675a;
}
.brand-mark,body[data-page="tool"] .brand-mark{background:#20a53a;box-shadow:0 5px 14px rgba(18,107,41,.18)}
.primary,.showcase-workbench .form-actions .primary,body[data-tool] .form-actions .primary,.filter.active{background:#20a53a}
.primary:hover,.showcase-workbench .form-actions .primary:hover,body[data-tool] .form-actions .primary:hover,.filter.active:hover{background:#188a31}
body[data-tool] .showcase-head,.category-page[data-category] .category-hero{color:#fff;background:#20a53a;border-color:#1b9134;box-shadow:0 0 0 100vmax #20a53a}
body[data-tool] .showcase-head h1,.category-page[data-category] .category-hero h1{color:#fff}
body[data-tool] .showcase-head p,.category-page[data-category] .category-hero p{color:#effaf1}
body[data-tool] .showcase-head .favorite-button{color:#fff;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.58)}
body[data-tool] .showcase-head .favorite-button:hover,body[data-tool] .showcase-head .favorite-button.selected{color:#126b29;background:#fff;border-color:#fff}
.category-page .category-meta span{color:#fff;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.55)}
body[data-page="home"] .hero{background:#20a53a;border-bottom-color:#1b9134}
body[data-page="home"] .hero .eyebrow,body[data-page="home"] .hero h1,body[data-page="home"] .hero h1 span,body[data-page="home"] .hero p{color:#fff}
body[data-page="home"] .hero .eyebrow i{background:#fff}
body[data-page="home"] .searchbox{border-color:#fff;box-shadow:0 12px 30px rgba(11,74,26,.18)}
body[data-page="home"] .hero-links>span,body[data-page="home"] .hero-links a,body[data-page="home"] .search-feedback{color:#effaf1}
.home-shortcuts nav>a{color:#fff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.42)}
.home-shortcuts nav>a>span{color:#126b29;background:#fff}
.home-shortcuts nav small,.home-shortcuts nav i{color:#effaf1}
.home-shortcuts nav>a:hover{color:#fff;background:rgba(255,255,255,.2);border-color:#fff}
.home-shortcuts nav>a:hover b,.home-shortcuts nav>a:hover i{color:#fff}
body[data-tool="my-ip"]{--brand:#20a53a;--brand-2:#126b29;--brand-soft:#e5f5e8;--ink:#15351f;--muted:#53675a}
body[data-tool="my-ip"] .ip-actions .primary{background:#20a53a}
body[data-tool="my-ip"] .ip-actions .primary:hover{background:#188a31}
body[data-tool="my-ip"] .ip-card{border-color:#9fc8a7;border-top-color:#20a53a;background:linear-gradient(180deg,#edf8ef 0%,#fff 48%);box-shadow:0 8px 22px rgba(18,107,41,.09)}
::selection{color:#fff;background:#20a53a}

/* Production-safe exact-green title bands. Some page bundles load after this file. */
body[data-page="tool"] .tool-main .showcase-head,
body[data-tool] .showcase-head,
.category-page[data-category] .category-hero{
  color:#fff!important;
  background:#20a53a!important;
  background-image:none!important;
  border-color:#1b9134!important;
  box-shadow:0 0 0 100vmax #20a53a!important;
}
body[data-page="tool"] .tool-main .showcase-head h1,
body[data-tool] .showcase-head h1,
.category-page[data-category] .category-hero h1{color:#fff!important}
body[data-page="tool"] .tool-main .showcase-head p,
body[data-tool] .showcase-head p,
.category-page[data-category] .category-hero p{color:#effaf1!important}
body[data-page="home"] .hero{
  background:#20a53a!important;
  background-image:none!important;
  border-color:#1b9134!important;
}
body[data-page="home"] .hero .eyebrow,
body[data-page="home"] .hero h1,
body[data-page="home"] .hero h1 span,
body[data-page="home"] .hero p{color:#fff!important}
@media(max-width:420px){body[data-tool="global-time"] .global-clock-grid{grid-template-columns:1fr}}

/* Global time: one workspace with compact search and a pinyin index. */
body[data-tool="global-time"] .showcase-workbench{display:block}
body[data-tool="global-time"] #tool-workbench{scroll-margin-top:80px}
body[data-tool="global-time"] .showcase-workbench .result{min-height:0}
body[data-tool="global-time"] .global-time-workspace .panel-heading{margin-bottom:20px}
body[data-tool="global-time"] #fields{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:16px}
body[data-tool="global-time"] #fields .field{margin:0;min-width:0}
body[data-tool="global-time"] #fields input,body[data-tool="global-time"] #fields select{width:100%;min-height:46px;font-size:14px}
body[data-tool="global-time"] #tool-form .form-actions{display:none}
.time-alphabet{margin:22px 0 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.time-alphabet-caption{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin-bottom:12px;font-size:13px;font-weight:600}
.time-alphabet-caption small{font-size:12px;font-weight:400;color:var(--muted)}
.time-alphabet-buttons{display:flex;flex-wrap:wrap;gap:4px}
.time-alphabet-buttons button{display:grid;place-items:center;min-width:28px;height:32px;padding:0 6px;border:1px solid transparent;border-radius:5px;background:var(--soft);color:var(--ink);font:inherit;font-size:13px;cursor:pointer}
.time-alphabet-buttons button:first-child{min-width:48px}
.time-alphabet-buttons button[aria-pressed="true"]{background:var(--brand);color:white;font-weight:600}
.time-alphabet-buttons button:hover:not(:disabled){border-color:var(--brand)}
.time-alphabet-buttons button:disabled{color:var(--muted);opacity:.32;cursor:default;background:transparent}
.time-alphabet-buttons button:focus-visible,.time-results-heading button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.time-results-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:20px 0 14px;font-size:12px;color:var(--muted)}
.time-results-heading>div{display:flex;align-items:center;gap:6px}
.time-results-heading strong{font-size:18px;color:var(--ink)}
.time-live-note{margin-left:auto;font-size:11px}
.time-results-heading button{padding:4px 8px;background:transparent;color:var(--brand-2);border:0;cursor:pointer;font:inherit}
.time-letter-badge{display:grid;place-items:center;width:26px;height:26px;margin-right:4px;border-radius:5px;background:var(--brand-soft);color:var(--brand-2);font-size:14px}
body[data-tool="global-time"] .global-clock-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body[data-tool="global-time"] .global-clock-card{gap:8px;padding:18px;border-radius:8px;box-shadow:none}
body[data-tool="global-time"] .global-clock-card:hover{border-color:var(--brand);background:var(--brand-soft);transform:translateY(-2px)}
body[data-tool="global-time"] .global-clock-card header{grid-template-columns:34px minmax(0,1fr) 12px;gap:10px}
body[data-tool="global-time"] .global-clock-card header>span{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;background:var(--brand-soft);color:var(--brand-2);font-size:12px;font-weight:600}
body[data-tool="global-time"] .global-clock-card header b{font-size:14px;line-height:1.5;white-space:normal}
body[data-tool="global-time"] .global-clock-card header small{font-size:11px;color:var(--muted)}
body[data-tool="global-time"] .global-clock-card header i{color:var(--brand-2);font-style:normal}
body[data-tool="global-time"] .global-clock-card>strong{margin-top:8px;color:var(--brand-2);font-size:32px;letter-spacing:-.5px;line-height:1.15;font-variant-numeric:tabular-nums}
body[data-tool="global-time"] .global-clock-card>p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}
.global-clock-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;margin-top:3px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.global-clock-card footer small{font-size:10px;white-space:nowrap}
body[data-tool="global-time"] .global-time-empty{grid-column:1/-1;padding:32px 16px;text-align:center;background:var(--soft);border-radius:8px}
.global-time-empty p{font-size:12px;margin:10px 0 0}
@media(max-width:1100px){body[data-tool="global-time"] .global-clock-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body[data-tool="global-time"] #fields{grid-template-columns:minmax(0,1fr) 150px;gap:12px}body[data-tool="global-time"] .global-clock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.time-live-note{margin-left:0}.time-alphabet-buttons{gap:5px}}
@media(max-width:480px){body[data-tool="global-time"] #fields{grid-template-columns:1fr}body[data-tool="global-time"] .global-clock-card{padding:14px}body[data-tool="global-time"] .global-clock-card header{grid-template-columns:minmax(0,1fr) 12px}body[data-tool="global-time"] .global-clock-card header>span{display:none}body[data-tool="global-time"] .global-clock-card header b{font-size:13px}.global-clock-card footer{flex-wrap:wrap}}

/* Approved homepage search, initials and pagination layout. */
#tool-initial-filter{margin:18px 0 24px;padding-bottom:20px;border-bottom:1px solid var(--line)}#tool-initial-filter .initial-heading{display:flex;align-items:center;gap:20px;margin-bottom:14px}#tool-initial-filter .initial-buttons{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:4px;width:100%;overflow-x:auto}#tool-initial-filter .filter{flex:0 0 auto;border-radius:8px;min-width:30px;padding:10px 6px;white-space:nowrap}#tool-initial-filter button:disabled{opacity:.35;cursor:default}
#tool-pagination{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}#tool-pagination[hidden]{display:none}body[data-page="home"] #tool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#categories[hidden],.home-shortcuts[hidden],.hero-links[hidden],.library-heading[hidden],#privacy[hidden]{display:none!important}body[data-page="home"] .toplinks{margin-left:auto;justify-content:flex-end}

/* Confirmed title-only search layout, empty slots and page footer. */
body[data-page="home"] .shell{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;width:100%;min-width:0}body[data-page="home"] .shell>main{flex:1;min-width:0;width:100%}body[data-page="home"] .shell>.footer{margin-top:auto;flex-shrink:0;width:100%}.tool-results-scroll{width:100%;max-width:100%;overflow-x:auto}body[data-page="home"] #tool-grid{position:relative;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(182px,1fr));min-width:780px}#tool-grid>.result-slot{visibility:hidden;pointer-events:none}#tool-grid>.empty{position:absolute;inset:0 0 auto;grid-column:1/-1}body[data-page="home"] .card{min-width:0;overflow-wrap:anywhere}body[data-page="home"] .footer-grid{flex-wrap:wrap}

/* Approved: replace only the last homepage section with a category directory. */
body[data-page="home"] .info.category-directory{grid-template-columns:repeat(6,minmax(0,1fr));column-gap:36px;row-gap:44px}
body[data-page="home"] .info.category-directory article{background:transparent;border:0;border-radius:0;min-height:0;padding:0;overflow:visible}
.category-directory h3{margin-bottom:24px}
.category-directory nav{display:grid;gap:9px}
.category-directory a{display:block;overflow-wrap:anywhere}
@media(max-width:1100px){body[data-page="home"] .info.category-directory{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){body[data-page="home"] .info.category-directory{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}}
@media(max-width:360px){body[data-page="home"] .info.category-directory{grid-template-columns:minmax(0,1fr)}}
body[data-page="home"] #privacy.category-directory{scroll-margin-top:90px}

/* Approved: compact category directory panel aligned with the tool grid. */
body[data-page="home"] #tools{padding-bottom:12px}
body[data-page="home"] #tool-pagination{margin-bottom:12px}
body[data-page="home"] .info.category-directory{margin-top:12px;margin-bottom:20px;padding:24px 32px;background:var(--card);border-radius:16px}
@media(max-width:640px){body[data-page="home"] .info.category-directory{padding:20px 16px}}

/* Approved: image-to-PDF workspace; reuse existing text styles. */
body[data-tool="image-to-pdf"] #tool-workbench{grid-template-columns:minmax(0,1fr)}
body[data-tool="image-to-pdf"] .image-pdf-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body[data-tool="image-to-pdf"] .image-pdf-drop{display:flex;align-items:center;justify-content:center;min-height:100px;padding:16px}
body[data-tool="image-to-pdf"] .image-pdf-picker{width:100%;min-height:64px}
body[data-tool="image-to-pdf"] .image-pdf-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:480px;overflow:auto;list-style:none;margin:0;padding:0}
body[data-tool="image-to-pdf"] .image-pdf-item{grid-template-columns:76px minmax(0,1fr);padding:12px}
body[data-tool="image-to-pdf"] .image-pdf-item .upload-thumb{width:76px;height:76px}
body[data-tool="image-to-pdf"] .image-pdf-item .upload-thumb img{object-fit:contain}
body[data-tool="image-to-pdf"] .image-pdf-row-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
body[data-tool="image-to-pdf"] .image-pdf-row-actions .secondary{padding:6px 8px}
body[data-tool="image-to-pdf"] #notice{white-space:pre-wrap}
@media(max-width:640px){body[data-tool="image-to-pdf"] .image-pdf-settings,body[data-tool="image-to-pdf"] .image-pdf-list{grid-template-columns:minmax(0,1fr)}}

/* Approved: shared one-file-per-row upload lists; existing typography retained. */
body[data-page="tool"] .unified-upload-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0;max-height:480px;overflow:auto}
body[data-page="tool"] .unified-upload-list>.upload-file,body[data-page="tool"] .unified-upload-list.single>.upload-file:has(.upload-thumb){display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:18px;min-height:92px;padding:14px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}
body[data-page="tool"] .unified-upload-list>.upload-file:last-child{border-bottom:0}
body[data-page="tool"] .unified-upload-list .upload-thumb,body[data-page="tool"] .unified-upload-list.single .upload-thumb,body[data-page="tool"] .unified-upload-list .upload-file-icon{width:64px;height:64px}
body[data-page="tool"] .unified-upload-list .upload-thumb img{object-fit:contain}
body[data-page="tool"] .unified-upload-list .upload-file-meta{grid-column:auto;grid-row:auto;align-content:center}
body[data-page="tool"] .unified-upload-list .upload-file-meta strong{white-space:normal;overflow-wrap:anywhere}
body[data-page="tool"] .unified-upload-list .upload-dimensions{display:none}
body[data-page="tool"] .upload-list-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:6px;margin:0}
body[data-page="tool"] .unified-upload-list .upload-list-actions button{display:grid;place-items:center;grid-column:auto;grid-row:auto;width:34px;height:34px;min-width:34px;margin:0;padding:0;border:1px solid var(--line);border-radius:5px}
body[data-page="tool"] .upload-list-header-actions,body[data-page="tool"] .upload-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
body[data-page="tool"] .upload-list-header-actions{flex-shrink:0}
body[data-page="tool"] .upload-zone.file-list-zone.has-files{background:var(--card);border-style:solid}
body[data-tool="image-to-pdf"] .image-pdf-collection{gap:12px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
body[data-tool="image-to-pdf"] .upload-list-heading .secondary{padding:7px 12px}
@media(max-width:600px){body[data-page="tool"] .unified-upload-list>.upload-file,body[data-page="tool"] .unified-upload-list.single>.upload-file:has(.upload-thumb){grid-template-columns:56px minmax(0,1fr);column-gap:12px;row-gap:8px}body[data-page="tool"] .unified-upload-list .upload-list-actions{grid-column:2;justify-self:end}body[data-page="tool"] .unified-upload-list .upload-thumb,body[data-page="tool"] .unified-upload-list.single .upload-thumb,body[data-page="tool"] .unified-upload-list .upload-file-icon{width:56px;height:56px}body[data-tool="image-to-pdf"] .image-pdf-collection{padding:14px}body[data-page="tool"] .file-list-zone .upload-summary{align-items:flex-start;flex-wrap:wrap}}

/* Approved: complete multi-file workspaces follow image-to-PDF structure. */
body.multi-file-workspace #tool-workbench{grid-template-columns:minmax(0,1fr)}
body.multi-file-workspace .multi-file-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.multi-file-workspace .multi-file-settings .field:has(textarea){grid-column:1/-1}
body.multi-file-workspace .multi-file-drop{display:flex;align-items:center;justify-content:center;min-height:100px;padding:16px}
body.multi-file-workspace .multi-file-pick{display:flex;align-items:center;justify-content:center;width:100%;min-height:64px;padding:16px}
body.multi-file-workspace .multi-file-collection{display:block;min-height:76px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
body.multi-file-workspace .multi-file-collection .upload-summary{padding:0 0 12px}
@media(max-width:640px){body.multi-file-workspace .multi-file-settings{grid-template-columns:minmax(0,1fr)}body.multi-file-workspace .multi-file-collection{padding:14px}}

/* 2026-11 deep-forest refresh.
   The 1400px desktop canvas matches the approved ip111.cn reference width. */
:root,body[data-page]{
  --brand:#167a5b;
  --brand-2:#123f35;
  --brand-soft:#ddeee6;
  --ink:#123f35;
  --muted:#52645e;
  --page:#f5f7f3;
  --soft:#eef4f0;
  --line:#d5ded8;
  --line-strong:#b8cbc0;
  --admin-blue:#167a5b;
  --admin-bg:#f5f7f3;
  --admin-line:#d5ded8;
  --admin-text:#123f35;
  --admin-muted:#52645e;
}
.wrap,.topbar-inner,body[data-tool] .tool-shell,body[data-page="home"] .wrap,
.category-page>.wrap,.category-page[data-category="network"]>.wrap,
.footer .wrap,body[data-tool] .footer .wrap{width:min(1400px,calc(100% - 48px))}
.topbar{border-bottom-color:var(--line)}
.topbar-inner{height:74px}
.brand{color:var(--brand-2)}
.brand-mark,body[data-page="tool"] .brand-mark{background:linear-gradient(145deg,#1b956d,var(--brand));box-shadow:0 5px 14px rgba(18,63,53,.14)}
.toplinks{color:#40564f}.toplinks a:hover{color:var(--brand-2)}
.header-search{background:#f3f7f4;border-color:var(--line)}
.primary,.showcase-workbench .form-actions .primary,body[data-tool] .form-actions .primary,.filter.active{background:var(--brand);color:#fff}
.primary:hover,.showcase-workbench .form-actions .primary:hover,body[data-tool] .form-actions .primary:hover,.filter.active:hover{background:#0f654b}
body[data-tool] .showcase-head,.category-page[data-category] .category-hero{
  color:var(--brand-2);
  background:radial-gradient(circle at 82% 20%,rgba(129,204,169,.28),transparent 34%),linear-gradient(135deg,#f5f8f5 0%,#e5f1eb 58%,#dceee5 100%);
  border-top:1px solid #e2eae5;border-bottom:1px solid #cdded4;box-shadow:0 0 0 100vmax #eaf3ee
}
body[data-tool] .showcase-head h1,.category-page[data-category] .category-hero h1{color:var(--brand-2);font-weight:650}
body[data-tool] .showcase-head p,.category-page[data-category] .category-hero p{color:var(--muted)}
body[data-tool] .showcase-head .favorite-button{color:var(--brand-2);background:rgba(255,255,255,.74);border-color:#a9c7b7}
body[data-tool] .showcase-head .favorite-button:hover,body[data-tool] .showcase-head .favorite-button.selected{color:#fff;background:var(--brand);border-color:var(--brand)}
.category-page .category-meta span{color:var(--brand-2);background:rgba(255,255,255,.7);border-color:#b8cbc0}
body[data-page="home"] .hero{
  padding:66px 0 58px;
  background:radial-gradient(circle at 83% 24%,rgba(129,204,169,.32),transparent 32%),radial-gradient(circle at 12% 92%,rgba(120,190,158,.18),transparent 33%),linear-gradient(135deg,#f6f9f6 0%,#e7f3ed 55%,#dcefe6 100%);
  border-bottom:1px solid #cfdfd5
}
body[data-page="home"] .hero-copy{max-width:1040px;margin:0 auto;text-align:center}
body[data-page="home"] .hero .eyebrow{color:var(--brand)}body[data-page="home"] .hero .eyebrow i{background:var(--brand)}
body[data-page="home"] .hero h1{color:var(--brand-2);font-size:clamp(40px,4vw,62px);line-height:1.25;font-weight:700;letter-spacing:-.035em}
body[data-page="home"] .hero h1 span{color:var(--brand-2)}
body[data-page="home"] .hero p{color:var(--muted);font-size:15px}
body[data-page="home"] .searchbox{max-width:1100px;height:64px;margin:30px auto 0;border:2px solid var(--brand);border-radius:14px;box-shadow:0 12px 30px rgba(18,63,53,.09)}
body[data-page="home"] .hero-links{justify-content:center}
body[data-page="home"] .hero-links>span,body[data-page="home"] .hero-links a,body[data-page="home"] .search-feedback{color:var(--muted)}
.home-shortcuts{max-width:1100px;margin:24px auto 0}
.home-shortcuts nav>a{color:var(--brand-2);background:rgba(255,255,255,.62);border-color:#bfd3c7}
.home-shortcuts nav>a>span{color:var(--brand-2);background:var(--brand-soft)}
.home-shortcuts nav small,.home-shortcuts nav i{color:var(--muted)}
.home-shortcuts nav>a:hover{background:#fff;border-color:#8db6a1}.home-shortcuts nav>a:hover b,.home-shortcuts nav>a:hover i{color:var(--brand-2)}
body[data-tool="my-ip"]{--brand:#167a5b;--brand-2:#123f35;--muted:#52645e}
body[data-tool="my-ip"] .ip-summary{color:var(--brand-2);background:var(--brand-soft);border-color:#a9c7b7}
body[data-tool="my-ip"] .ip-actions .primary{background:var(--brand)}body[data-tool="my-ip"] .ip-actions .primary:hover{background:#0f654b}
body[data-tool="my-ip"] .ip-address{color:var(--brand-2)}
body[data-tool="my-ip"] .ip-card{border:1px solid #a9c7b7;border-top:5px solid var(--brand);background:linear-gradient(180deg,#edf6f1 0%,#fff 48%);box-shadow:0 8px 22px rgba(18,63,53,.08)}
body[data-tool="my-ip"] .ip-card:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(22,122,91,.14),0 8px 22px rgba(18,63,53,.08)}
.card:hover,.recent-card:hover,.category-overview>a:hover,.category-tool-grid>a:hover{border-color:#93b7a4;box-shadow:0 10px 26px rgba(18,63,53,.08)}
::selection{color:#fff;background:var(--brand)}
html[data-theme="dark"] body[data-page]{--brand:#4fc094;--brand-2:#8dd6b8;--brand-soft:#19342a;--page:#111a16;--soft:#17241e;--ink:#e0eee7;--muted:#a4b9ae;--line:#2a4035;--line-strong:#3b594a}
html[data-theme="dark"] body[data-tool] .showcase-head,html[data-theme="dark"] .category-page[data-category] .category-hero,html[data-theme="dark"] body[data-page="home"] .hero{background:linear-gradient(135deg,#16241d,#1d3529 62%,#234634);border-color:#355445;box-shadow:0 0 0 100vmax #1d3529}
html[data-theme="dark"] body[data-tool] .showcase-head h1,html[data-theme="dark"] .category-page[data-category] .category-hero h1,html[data-theme="dark"] body[data-page="home"] .hero h1,html[data-theme="dark"] body[data-page="home"] .hero h1 span{color:#e4f4ec}
html[data-theme="dark"] body[data-tool] .showcase-head p,html[data-theme="dark"] .category-page[data-category] .category-hero p,html[data-theme="dark"] body[data-page="home"] .hero p{color:#b7cabf}
@media(max-width:760px){
  .wrap,.topbar-inner,body[data-tool] .tool-shell,body[data-page="home"] .wrap,.category-page>.wrap,.category-page[data-category="network"]>.wrap,.footer .wrap,body[data-tool] .footer .wrap{width:calc(100% - 32px)}
  body[data-page="home"] .hero{padding:36px 0}body[data-page="home"] .hero h1{font-size:34px}body[data-page="home"] .searchbox{height:56px;border-radius:10px}
}

/* Final exact-green override: keep this block last. */
:root,body[data-page]{--brand:#20a53a;--brand-2:#126b29;--brand-soft:#e5f5e8;--ink:#15351f;--muted:#53675a;--page:#f5f8f5;--soft:#eef5f0;--line:#d4dfd6;--line-strong:#b5cab9;--admin-blue:#20a53a;--admin-bg:#f5f8f5;--admin-line:#d4dfd6;--admin-text:#15351f;--admin-muted:#53675a}
.brand-mark,body[data-page="tool"] .brand-mark{background:#20a53a;box-shadow:0 5px 14px rgba(18,107,41,.18)}
.primary,.showcase-workbench .form-actions .primary,body[data-tool] .form-actions .primary,.filter.active{background:#20a53a}
.primary:hover,.showcase-workbench .form-actions .primary:hover,body[data-tool] .form-actions .primary:hover,.filter.active:hover{background:#188a31}
body[data-tool] .showcase-head,.category-page[data-category] .category-hero{color:#fff;background:#20a53a;border-color:#1b9134;box-shadow:0 0 0 100vmax #20a53a}
body[data-tool] .showcase-head h1,.category-page[data-category] .category-hero h1{color:#fff}
body[data-tool] .showcase-head p,.category-page[data-category] .category-hero p{color:#effaf1}
body[data-tool] .showcase-head .favorite-button{color:#fff;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.58)}
body[data-tool] .showcase-head .favorite-button:hover,body[data-tool] .showcase-head .favorite-button.selected{color:#126b29;background:#fff;border-color:#fff}
.category-page .category-meta span{color:#fff;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.55)}
body[data-page="home"] .hero{background:#20a53a;border-bottom-color:#1b9134}
body[data-page="home"] .hero .eyebrow,body[data-page="home"] .hero h1,body[data-page="home"] .hero h1 span,body[data-page="home"] .hero p{color:#fff}
body[data-page="home"] .hero .eyebrow i{background:#fff}
body[data-page="home"] .searchbox{border-color:#fff;box-shadow:0 12px 30px rgba(11,74,26,.18)}
body[data-page="home"] .hero-links>span,body[data-page="home"] .hero-links a,body[data-page="home"] .search-feedback{color:#effaf1}
.home-shortcuts nav>a{color:#fff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.42)}
.home-shortcuts nav>a>span{color:#126b29;background:#fff}.home-shortcuts nav small,.home-shortcuts nav i{color:#effaf1}
.home-shortcuts nav>a:hover{color:#fff;background:rgba(255,255,255,.2);border-color:#fff}.home-shortcuts nav>a:hover b,.home-shortcuts nav>a:hover i{color:#fff}
body[data-tool="my-ip"]{--brand:#20a53a;--brand-2:#126b29;--brand-soft:#e5f5e8;--ink:#15351f;--muted:#53675a}
body[data-tool="my-ip"] .ip-actions .primary{background:#20a53a}body[data-tool="my-ip"] .ip-actions .primary:hover{background:#188a31}
body[data-tool="my-ip"] .ip-card{border-color:#9fc8a7;border-top-color:#20a53a;background:linear-gradient(180deg,#edf8ef 0%,#fff 48%);box-shadow:0 8px 22px rgba(18,107,41,.09)}
::selection{color:#fff;background:#20a53a}

/* Improve reading contrast across the site and in the tool directory. */
:root, body[data-page] { --muted: #44564b; }
html[data-theme="dark"] body[data-page] { --muted: #bccbc0; }
.tool-directory header p { color: var(--muted); }
.directory-category small { font-size: 11px; }
.directory-group nav a { color: var(--ink); font-size: 12px; font-weight: 500; }
.directory-group nav a:hover { color: var(--brand-2); }

/* Larger links in the related tools directory. */
body[data-page] .directory-group nav a { color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.65; padding: 7px 6px; }
body[data-page] .directory-group nav { row-gap: 4px; }
@media (max-width: 600px) {
  body[data-page] .directory-group nav { grid-template-columns: minmax(0, 1fr); }
  body[data-page] .directory-group nav a { white-space: normal; overflow-wrap: anywhere; }
}
