/* BlueprintLab Tools 1.13.0 — shared work surface */
:root{--bg:#f5f7fb;--bg2:#f5f7fb;--surface:#fff;--surface-2:#f8fafd;--surface-3:#eef3fc;--ink:#172033;--muted:#526176;--muted-2:#526176;--brand:#315ce7;--brand-2:#315ce7;--line:#dce3ee;--radius:12px;--radius-lg:14px;--shadow:0 2px 8px #17203306;--shadow-lg:0 12px 34px #17203314;--header-h:72px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif}
html[data-theme=dark]{--bg:#111722;--bg2:#111722;--surface:#192230;--surface-2:#202c3d;--surface-3:#26344a;--ink:#eef3fb;--muted:#b3c0d2;--muted-2:#b3c0d2;--line:#39475a;--brand:#93b2ff;--brand-2:#93b2ff}
html{scroll-padding-top:92px}body{background:var(--bg);font-size:16px;min-width:0}*,*:before,*:after{box-sizing:border-box} [hidden]{display:none!important} img,canvas,video,iframe{max-width:100%} svg{max-width:100%} h1,h2,h3,p,a,label,strong{overflow-wrap:anywhere} h1{letter-spacing:-.035em!important}button,a,input,textarea,select{touch-action:manipulation}button,input,textarea,select{font:inherit}input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{max-width:100%;min-width:0}input:not([type=checkbox]):not([type=radio]):not([type=range]),select{min-height:44px}button,.primary,.secondary{min-height:44px}.wrap{width:min(1180px,calc(100% - 48px))}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--brand);outline-offset:3px} .skip-link{position:fixed;left:16px;top:-80px;z-index:1000;background:var(--surface);padding:12px;color:var(--ink)}.skip-link:focus{top:10px}
.site-header{height:auto;min-height:72px;background:var(--surface);backdrop-filter:none;box-shadow:none;border-bottom:1px solid var(--line);position:relative}.header-inner{min-height:72px;gap:20px}.brand{gap:9px}.brand-name{font-size:16px}.brand-mark{width:32px;height:32px;border-radius:8px;background:#315ce7;color:#fff;box-shadow:none}.brand-mark:before{display:none}.brand-mark svg{width:24px;height:24px}.header-actions{gap:5px;flex-wrap:wrap}.icon-btn,.seg-btn,.text-btn{box-shadow:none}.icon-btn{width:44px;height:44px;border-radius:8px}.seg-btn{display:inline-grid;place-items:center;min-height:38px}.rd-nav{display:flex;gap:22px;margin-left:auto;align-items:center}.rd-nav a{text-decoration:none;color:var(--muted);font-size:14px;font-weight:600}.rd-nav a:hover{color:var(--brand)}.blt-launcher-trigger{max-width:150px}.header-actions .blt-install-button,.header-actions [data-install]{display:none!important}.header-actions .blt-net-pill{display:none!important}
.breadcrumb{font-size:12px;color:var(--muted);padding-block:18px 0;line-height:1.7}.breadcrumb a{color:var(--muted)}.tool-hero{padding:18px 0 20px;background:none!important}.tool-heading{display:block}.tool-heading>.tool-icon,.tool-heading .eyebrow{display:none}.tool-hero h1{font-size:clamp(25px,3vw,34px);line-height:1.35;max-width:100%;margin:0}.tool-hero .lead{font-size:15px;line-height:1.7;max-width:850px;margin:10px 0 0;color:var(--muted)}.tool-actions{margin:12px 0 0;gap:7px;flex-wrap:wrap}.tool-actions .text-btn{font-size:12px;min-height:36px;padding:6px 10px;border-radius:7px}.tool-layout{display:block;margin-bottom:26px}.tool-main-col{min-width:0;display:grid;gap:18px;max-width:100%}.tool-layout>.side-stack{display:flex;flex-wrap:wrap;margin-top:18px;gap:16px}.side-stack>*{flex:1;min-width:240px}.card,.seo-copy-card,.tip-card,.share-inline-card,.topic-card,.related-tool-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:none}.card{padding:24px;min-width:0}.card h2{font-size:18px;line-height:1.5;margin:0 0 18px}.checker-card{padding:24px}.tool-main-col>.card{width:100%}.tool-main-col:has(>#result)>#result{scroll-margin-top:20px}.rd-compact .tool-main-col{max-width:880px;margin-inline:auto}.rd-split .tool-main-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.rd-split .tool-main-col>#result[hidden]{display:none!important}.rd-split .tool-main-col:has(>#result[hidden]){grid-template-columns:1fr;max-width:880px;margin-inline:auto}
.primary,button.primary,a.primary{background:#315ce7!important;color:#fff!important;border:1px solid #315ce7;border-radius:8px;box-shadow:none;font-weight:650;padding:10px 18px;text-decoration:none}.primary:hover{background:#234bc7!important}.secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:10px 15px;text-decoration:none}.primary:disabled,button:disabled{opacity:.5;cursor:not-allowed}.text-output,pre{overflow:auto;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}.table-wrap,.ref-table-wrap{overflow:auto;max-width:100%;min-width:0}.table-wrap table{min-width:540px}.v120-form,.inline-controls{gap:16px}.inline-controls{flex-wrap:wrap}.inline-controls>.grow{min-width:0;flex-basis:260px}textarea,.textarea-tool{font-size:16px;border-radius:8px;min-height:160px;background:var(--surface-2);line-height:1.65}input,select{border-radius:7px}label{color:var(--ink)}.v120-grid,.form-grid,.input-grid{min-width:0}.v120-grid>*{min-width:0}.v120-checkbox{display:flex;align-items:center;gap:8px}.v120-checkbox input{flex:0 0 auto}.v120-note,.privacy-note{font-size:12px;line-height:1.7;color:var(--muted);margin:10px 0 0}.v120-status{margin:0;line-height:1.6;overflow-wrap:anywhere}.v120-status:empty{display:none}.is-error{color:var(--red)!important}.dropzone{background:var(--surface-2);border:1px dashed var(--line-strong);min-height:130px}.dropzone-icon{font-size:24px}.draw-settings{background:var(--surface-2);padding:12px;border-radius:8px;gap:10px;flex-wrap:wrap}.draw-mode-control{flex-wrap:wrap}.result-big{font-size:clamp(24px,4vw,44px);overflow-wrap:anywhere}.blt-settings-panel{max-width:100%}.seo-support{padding:0 0 28px;background:none}.seo-support-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.seo-copy-card{padding:24px}.seo-copy-card h2{font-size:18px;margin:0 0 14px}.seo-copy-card p,.seo-copy-card li{font-size:14px;line-height:1.85;color:var(--muted)}.seo-steps{padding-left:22px}.seo-steps li{margin-bottom:8px}.rd-spec{display:grid;grid-template-columns: minmax(110px,.65fr) minmax(0,1fr);gap:0;margin:14px 0}.rd-spec dt,.rd-spec dd{margin:0;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.rd-spec dt{padding-right:12px;color:var(--muted)}.rd-example{background:var(--surface-2);border:1px solid var(--line);border-radius:8px;padding:14px;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.rd-note{margin:14px 0 0}.seo-related{padding:26px 0 0;background:none}.related-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.related-tool-card{padding:16px;text-decoration:none}.related-tool-card strong{font-size:14px;line-height:1.6}.related-tool-card span{font-size:12px;line-height:1.7;color:var(--muted)}.related-tool-card:hover{border-color:var(--brand);transform:none;box-shadow:none}
.rd-image .tool-main-col{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(0,1.35fr);align-items:stretch}.rd-image .tool-main-col>.checker-card{padding:22px}.rd-image #result{display:flex;flex-direction:column;padding:22px;min-height:440px}.rd-image #result h2{margin-bottom:16px}.rd-preview{background:var(--surface-2);border:1px solid var(--line);border-radius:8px;min-height:270px;display:flex;align-items:center;justify-content:center;flex:1;padding:14px;overflow:hidden}.rd-preview canvas{width:auto;height:auto;max-width:100%;max-height:380px;object-fit:contain}.rd-preview-empty{text-align:center;padding:24px;max-width:360px;color:var(--muted);font-size:14px}.rd-preview-empty svg{display:block;margin:0 auto 16px;width:44px;height:44px;color:var(--brand)}.rd-result-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;flex-wrap:wrap}.rd-dimensions{display:flex;gap:24px;flex-wrap:wrap}.rd-dimensions small{display:block;color:var(--muted);font-size:12px}.rd-dimensions strong{font-size:15px}.rd-image .v120-form>button.primary{width:100%}.rd-image input[type=file]{width:100%;border:1px dashed var(--line-strong);background:var(--surface-2);padding:12px;font-size:12px;white-space:normal}.rd-image input[type=file]::file-selector-button{padding:8px;margin:0 8px 4px 0;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink)}.rd-image #quality:disabled{opacity:.5}.rd-image #result[data-state=empty] canvas{display:none}.rd-image #result:not([data-state=empty]) .rd-preview-empty{display:none}
.rd-home main{padding-bottom:24px}.rd-home-hero{padding:38px 0 22px}.rd-home-hero h1{font-size:clamp(26px,3.6vw,40px);line-height:1.35;margin:0 0 9px;max-width:850px}.rd-home-hero p{color:var(--muted);margin:0 0 22px;font-size:14px}.rd-search{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line-strong);border-radius:10px;padding:10px 15px;max-width:850px}.rd-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 12%,transparent)}.rd-search svg{width:22px;height:22px;flex-shrink:0;color:var(--muted)}.rd-search input{width:100%;border:0!important;background:transparent;outline:none!important;box-shadow:none;min-height:38px!important;font-size:16px}.rd-search kbd{font-size:12px;padding:3px 7px;border:1px solid var(--line);border-radius:5px;color:var(--muted)}.rd-home-controls{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:0 0 16px}.rd-home-controls h2{margin:0;font-size:20px}.rd-home-controls select{max-width:280px;background:var(--surface);border:1px solid var(--line);padding:6px 12px;font-size:14px}.rd-count{font-size:13px;color:var(--muted)}.rd-home .tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rd-home .tool-card{border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:none;min-width:0;position:relative;content-visibility:auto;contain-intrinsic-size:auto 145px}.rd-home .tool-card:hover{border-color:var(--brand);transform:none;box-shadow:none}.rd-home .tool-link{display:block;padding:18px 44px 18px 18px;height:100%;text-decoration:none}.rd-home .tool-title{font-size:15px;line-height:1.55;font-weight:700;margin:6px 0 8px;display:block;overflow:visible;white-space:normal;-webkit-line-clamp:unset}.rd-home .tool-desc{font-size:12px;line-height:1.7;margin:0;color:var(--muted);display:block;-webkit-line-clamp:unset;overflow:visible}.rd-home .tool-kicker{font-size:11px;line-height:1.5;color:var(--brand);font-weight:600}.rd-home .favorite-btn{right:8px;top:10px;width:36px;height:36px;min-height:36px;border:0;background:transparent}.rd-home .favorite-btn svg{width:17px;height:17px}.rd-more{display:block;margin:20px auto 0}.rd-home .recent-section{padding:0 0 22px}.rd-home .recent-section .wrap{width:100%}.rd-home .recent-section .section-head{margin-bottom:8px}.rd-home .recent-section h2{font-size:16px}.rd-home .recent-section p{display:none}.rd-topics{padding:34px 0 10px}.rd-topics h2{font-size:20px;margin:0 0 16px}.rd-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.rd-topic-grid a{background:var(--surface);border:1px solid var(--line);padding:15px;border-radius:9px;text-decoration:none;font-size:13px;display:flex;justify-content:space-between;gap:12px;align-items:center}.rd-topic-grid a:hover{border-color:var(--brand)}.rd-topic-grid small{color:var(--muted);white-space:nowrap}.rd-bottom-links{display:flex;gap:18px;flex-wrap:wrap;margin:24px 0;color:var(--muted);font-size:14px}.mobile-dock{display:none!important}.site-footer{margin-top:20px;padding:22px 0;background:var(--surface);border-top:1px solid var(--line)}.footer-inner{gap:16px;flex-wrap:wrap}.footer-links{gap:14px;flex-wrap:wrap;font-size:12px}.footer-inner>span{font-size:12px;color:var(--muted)}.topic-hero,.use-case-hero,.reference-hero{padding-block:30px!important;background:none!important}.topic-hero h1,.reference-hero h1,.use-case-hero h1{font-size:clamp(26px,3.8vw,38px)!important}.topic-tool-grid,.topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.topic-card{padding:20px}.topic-card:hover{transform:none;box-shadow:none}.topic-breadcrumb-band{background:none!important}.topic-title-row,.premium-title-row{gap:12px;flex-wrap:wrap}.topic-main,.topic-layout{max-width:1180px}.ref-table-wrap th{position:sticky;top:0;background:var(--surface-2)}
@media(max-width:1100px){.rd-nav{gap:14px}.header-actions .blt-launcher-trigger{width:44px;overflow:hidden;padding:10px;gap:0}.blt-launcher-trigger span,.blt-launcher-trigger kbd{display:none}.rd-nav a{font-size:13px}.header-actions{gap:4px}}
@media(max-width:800px){.wrap{width:calc(100% - 32px)}.header-inner{flex-wrap:wrap;gap:4px 12px;padding-block:10px}.rd-nav{order:3;width:100%;margin:4px 0 0;justify-content:flex-start;border-top:1px solid var(--line);padding-top:9px;gap:24px}.header-actions{margin-left:auto}.brand-name{font-size:14px}.rd-image .tool-main-col,.rd-split .tool-main-col,.seo-support-grid{grid-template-columns:1fr}.rd-image #result{min-height:360px}.rd-home .tool-grid,.related-tool-grid,.topic-tool-grid,.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rd-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rd-home-hero{padding-top:26px}.rd-image .rd-preview{min-height:230px}.tool-hero{padding-top:14px}.tool-hero h1{font-size:26px}.card,.checker-card,.seo-copy-card{padding:20px}.side-stack>*{min-width:0}.tool-layout>.side-stack{display:block}.rd-search kbd{display:none}}
@media(max-width:480px){.wrap{width:calc(100% - 24px)}.brand-name{max-width:100px;white-space:normal;line-height:1.15;font-size:13px}.header-inner{gap:4px}.header-actions{gap:2px}.header-actions .icon-btn{width:34px;min-width:34px;height:40px;min-height:40px}.lang-switch{padding:1px}.seg-btn{min-width:29px;padding:0 4px}.header-actions .blt-launcher-trigger{width:34px;min-width:34px;padding:7px}.rd-nav{gap:24px}.breadcrumb{font-size:11px;padding-top:14px}.tool-hero h1{font-size:24px}.tool-hero .lead{font-size:14px}.rd-home .tool-grid,.related-tool-grid,.topic-tool-grid,.topic-grid{grid-template-columns:1fr!important}.rd-home .tool-link{padding:15px 42px 15px 15px}.rd-home-controls{gap:10px}.rd-home-controls select{max-width:100%;width:100%}.rd-topic-grid a{padding:12px;font-size:12px}.card,.checker-card,.seo-copy-card,.rd-image .tool-main-col>.checker-card,.rd-image #result{padding:16px}.rd-result-footer{align-items:stretch}.rd-result-footer .primary{width:100%;text-align:center}.rd-dimensions{gap:18px}.v120-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid,.input-grid,.summary-grid{grid-template-columns:1fr!important}.inline-controls{display:flex;flex-direction:column;align-items:stretch}.inline-controls>.grow{flex-basis:auto}.checker-buttons,.v120-actions,.result-head{flex-wrap:wrap;gap:8px}.text-output{font-size:13px}.rd-preview{padding:8px}.rd-spec{grid-template-columns:minmax(90px,.7fr) minmax(0,1fr)}.rd-home-hero h1{font-size:27px}.draw-mode-control{width:100%}.draw-mode-control>*{flex:1}.footer-inner{display:block}.footer-links{display:flex;margin-top:12px}.blt-launcher{max-width:calc(100vw - 16px)}.blt-launcher-head{flex-wrap:wrap}.blt-launcher-head input{min-width:100px}.blt-launcher-tabs{overflow:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.header-actions .lang-switch{display:flex!important}.header-actions .icon-btn:first-of-type{display:grid}.rd-home .tool-card{min-height:0}.rd-image .blt-next-step{grid-column:1/-1}.rd-image .tool-main-col>.checker-card,.rd-image #result{align-self:stretch}.header-actions [data-share-page]{display:none}

/* BlueprintLab Tools 1.13.1 — unified navigation and directory surfaces */
body .site-header,
body.home-premium .site-header{
  position:sticky;
  top:0;
  z-index:50;
  min-height:64px;
  height:auto;
  background:color-mix(in srgb,var(--surface) 96%,transparent);
  color:var(--ink);
  border-bottom:1px solid var(--line);
  box-shadow:none;
  backdrop-filter:blur(14px) saturate(1.1);
}
body .site-header .header-inner,
body.home-premium .site-header .header-inner{
  position:relative;
  min-height:64px;
  height:auto;
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:18px;
  padding-block:8px;
}
body.home-premium .site-header .brand-name{color:var(--ink)}
body .site-header .brand-mark,
body.home-premium .site-header .brand-mark{
  width:32px;
  height:32px;
  flex:0 0 32px;
  border:0;
  border-radius:8px;
  background:#315ce7;
  color:#fff;
  box-shadow:none;
}
body .site-header .brand-mark::before,
body.home-premium .site-header .brand-mark::before{display:none}
body .site-header .brand-mark svg,
body.home-premium .site-header .brand-mark svg{width:23px;height:23px}
body .site-header .rd-nav,
body.home-premium .site-header .rd-nav{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
}
body .site-header .rd-nav a,
body.home-premium .site-header .rd-nav a{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border-radius:7px;
  color:var(--muted);
  font-size:14px;
  font-weight:650;
  text-decoration:none;
}
body .site-header .rd-nav a:hover,
body .site-header .rd-nav a:focus-visible,
body.home-premium .site-header .rd-nav a:hover,
body.home-premium .site-header .rd-nav a:focus-visible{
  background:var(--surface-2);
  color:var(--ink);
}
body.rd-tool .site-header .rd-nav a[href$="#tools"],
body.rd-home .site-header .rd-nav a[href$="#tools"],
body.topic-page .site-header .rd-nav a[href$="/topics/"],
body.reference-home .site-header .rd-nav a[href$="/reference/"],
body.reference-page .site-header .rd-nav a[href$="/reference/"]{
  background:var(--surface-2);
  color:var(--brand);
}
body .site-header .header-actions,
body.home-premium .site-header .header-actions{
  margin:0;
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:6px;
}
body .site-header .icon-btn,
body .site-header .lang-switch,
body .site-header .seg-btn,
body .site-header .blt-launcher-button,
body.home-premium .site-header .icon-btn,
body.home-premium .site-header .lang-switch,
body.home-premium .site-header .seg-btn,
body.home-premium .site-header .blt-launcher-button{
  border-color:var(--line);
  background:var(--surface);
  color:var(--muted);
  box-shadow:none;
}
body .site-header .seg-btn.active,
body.home-premium .site-header .seg-btn.active{
  background:color-mix(in srgb,var(--brand) 12%,var(--surface));
  color:var(--brand);
}
body .site-header .icon-btn:hover,
body .site-header .blt-launcher-button:hover,
body.home-premium .site-header .icon-btn:hover,
body.home-premium .site-header .blt-launcher-button:hover{
  border-color:var(--line-strong,var(--line));
  color:var(--ink);
  transform:none;
}
.rd-menu-toggle{
  display:none;
  place-items:center;
  width:42px;
  height:42px;
  min-height:42px;
  padding:0;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  color:var(--ink);
}
.rd-menu-toggle svg{width:21px;height:21px}
.rd-mobile-menu{display:none}

/* Directory heroes: the page purpose stays visible without delaying the list. */
body.home-premium .hero{
  position:relative;
  overflow:visible;
  padding:30px 0 24px;
  background:none;
  color:var(--ink);
  border:0;
}
body.home-premium .hero::before,
body.home-premium .hero::after{display:none;content:none}
body.home-premium .hero-grid{
  position:relative;
  z-index:auto;
  display:block;
  text-align:left;
}
body.home-premium .hero-copy{max-width:880px;margin:0}
body.home-premium .hero-kicker{
  margin:0 0 8px;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  color:var(--brand);
  font-size:12px;
  letter-spacing:.08em;
}
body.home-premium .hero-kicker .pulse{display:none}
body.home-premium .hero h1{
  max-width:880px;
  margin:0;
  color:var(--ink);
  font-size:clamp(28px,4vw,42px);
  line-height:1.2;
  letter-spacing:-.04em;
}
body.home-premium .hero-accent{
  background:none;
  color:var(--ink);
  -webkit-text-fill-color:currentColor;
}
body.home-premium .hero-subline{
  max-width:780px;
  margin:10px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.75;
}
body.home-premium .hero-stats{display:none}
.topic-breadcrumb-band{
  background:var(--bg)!important;
  border:0;
}
.topic-breadcrumb{
  min-height:42px;
  padding:12px 0 4px;
  color:var(--muted);
  font-size:12px;
}
.topic-breadcrumb a{color:var(--muted)}
.topic-breadcrumb a:hover{color:var(--brand)}
.topic-breadcrumb .topic-breadcrumb-sep{color:var(--muted)}
.topic-breadcrumb .topic-breadcrumb-current{color:var(--ink)}

/* Tool and reference directories share one compact card system. */
body.reference-home.home-premium .premium-main{background:transparent}
body.reference-home.home-premium .home-toolbar{
  top:64px;
  background:color-mix(in srgb,var(--bg) 96%,transparent);
  border-color:var(--line);
  box-shadow:none;
}
body.reference-home.home-premium .tool-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
body.reference-home.home-premium .tool-card{
  position:relative;
  display:flex;
  min-height:0;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface);
  box-shadow:none;
  overflow:hidden;
}
body.reference-home.home-premium .tool-card:hover{
  border-color:var(--brand);
  transform:none;
  box-shadow:none;
}
body.reference-home.home-premium .tool-link{
  display:block;
  width:100%;
  height:100%;
  padding:18px 44px 18px 18px;
  text-decoration:none;
}
body.reference-home.home-premium .tool-top{
  display:block;
  padding:0;
}
body.reference-home.home-premium .tool-icon{display:none}
body.reference-home.home-premium .tool-copy{min-width:0}
body.reference-home.home-premium .tool-kicker{
  display:flex;
  align-items:center;
  gap:6px;
  padding:0;
  color:var(--muted);
  font-size:11px;
  line-height:1.5;
  font-weight:650;
  letter-spacing:0;
  text-transform:none;
}
body.reference-home.home-premium .tool-kicker::before{
  content:"早見表";
  display:inline-flex;
  padding:2px 6px;
  border-radius:999px;
  background:color-mix(in srgb,var(--brand) 11%,var(--surface));
  color:var(--brand);
  font-size:10px;
  line-height:1.4;
}
html[lang="en"] body.reference-home.home-premium .tool-kicker::before{content:"Reference"}
body.reference-home.home-premium .tool-title{
  margin:7px 0 8px;
  padding:0;
  color:var(--ink);
  font-size:15px;
  line-height:1.55;
  font-weight:700;
  overflow:visible;
}
body.reference-home.home-premium .tool-desc{
  display:block;
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
  overflow:visible;
  -webkit-line-clamp:unset;
}
body.reference-home.home-premium .tool-footer{display:none}
body.reference-home.home-premium .favorite-btn{
  display:grid;
  top:10px;
  right:8px;
  bottom:auto;
  width:36px;
  height:36px;
  min-height:36px;
  border:0;
  background:transparent;
  box-shadow:none;
}
body.reference-home.home-premium .premium-title-row h2,
body.topic-page .premium-title-row h2{font-size:20px}
body.topic-page .related-tool-card{
  padding:18px;
  border-radius:10px;
}
body.topic-page .related-tool-card strong{
  color:var(--ink);
  font-size:15px;
  line-height:1.55;
}
body.topic-page .related-tool-card span{
  margin-top:7px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

@media(max-width:980px){
  body.reference-home.home-premium .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
  html.rd-menu-ready body .site-header .header-inner,
  html.rd-menu-ready body.home-premium .site-header .header-inner{
    min-height:60px;
    padding-block:8px;
    flex-wrap:nowrap;
    gap:8px;
  }
  html.rd-menu-ready body .site-header .rd-nav,
  html.rd-menu-ready body.home-premium .site-header .rd-nav{display:none}
  html.rd-menu-ready body .site-header .header-actions,
  html.rd-menu-ready body.home-premium .site-header .header-actions{margin-left:auto;gap:5px}
  html.rd-menu-ready body .site-header .header-actions .lang-switch,
  html.rd-menu-ready body .site-header .header-actions [data-theme-toggle],
  html.rd-menu-ready body .site-header .header-actions [data-share-page],
  html.rd-menu-ready body.home-premium .site-header .header-actions .lang-switch,
  html.rd-menu-ready body.home-premium .site-header .header-actions [data-theme-toggle],
  html.rd-menu-ready body.home-premium .site-header .header-actions [data-share-page]{display:none!important}
  html.rd-menu-ready .rd-menu-toggle{display:grid}
  html.rd-menu-ready .rd-mobile-menu{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    z-index:80;
    width:min(320px,calc(100vw - 32px));
    padding:8px;
    border:1px solid var(--line);
    border-radius:12px;
    background:var(--surface);
    color:var(--ink);
    box-shadow:var(--shadow-lg);
  }
  html.rd-menu-ready .site-header.rd-menu-open .rd-mobile-menu{display:block}
  .rd-mobile-links{display:grid;gap:2px}
  .rd-mobile-links a,
  .rd-mobile-theme{
    display:flex;
    align-items:center;
    width:100%;
    min-height:44px;
    padding:10px 12px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:var(--ink);
    font-size:14px;
    font-weight:650;
    text-align:left;
    text-decoration:none;
  }
  .rd-mobile-links a:hover,
  .rd-mobile-theme:hover{background:var(--surface-2)}
  .rd-mobile-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:7px;
    padding-top:8px;
    border-top:1px solid var(--line);
  }
  .rd-mobile-languages{display:flex;gap:4px}
  .rd-mobile-languages a{
    display:grid;
    place-items:center;
    min-width:44px;
    min-height:40px;
    padding:0 9px;
    border-radius:8px;
    color:var(--muted);
    font-size:12px;
    font-weight:700;
    text-decoration:none;
  }
  .rd-mobile-languages a[aria-current="page"]{
    background:color-mix(in srgb,var(--brand) 12%,var(--surface));
    color:var(--brand);
  }
  .rd-mobile-theme{width:auto;min-width:126px;justify-content:center}
  body.home-premium .hero{padding:24px 0 20px}
  body.home-premium .hero h1{font-size:clamp(27px,7vw,36px)}
  body.home-premium .hero-subline{font-size:14px}
}
@media(max-width:520px){
  body .site-header .brand-name,
  body.home-premium .site-header .brand-name{
    max-width:122px;
    font-size:13px;
    line-height:1.2;
    white-space:normal;
  }
  body .site-header .blt-launcher-button,
  body.home-premium .site-header .blt-launcher-button{
    width:42px;
    min-width:42px;
    height:42px;
    min-height:42px;
    justify-content:center;
    padding:0;
  }
  body .site-header .blt-launcher-button span,
  body .site-header .blt-launcher-button kbd{display:none}
  body.reference-home.home-premium .tool-grid{grid-template-columns:1fr}
  body.reference-home.home-premium .tool-link{padding:16px 44px 16px 16px}
}
