/* Reference UI candidate. Existing processing, consent and legal styles remain
   in their original files; these rules scope the shared public shell only. */
body[data-reference-ui]{--green:#3157ce;--line:#e1e6f0;--text-muted:#626d83;--control-border:#a7b2c5;--focus:#3157ce;color:#111b35;background:#fff;font-family:Inter,"Segoe UI",Arial,sans-serif}
body[data-reference-ui] *{box-sizing:border-box}
body[data-reference-ui] [hidden]{display:none!important}
body[data-reference-ui] a{color:inherit}
body[data-reference-ui] .primary{background:#3157ce;border-color:#3157ce;color:#fff}
body[data-reference-ui] .primary:hover:not(:disabled){background:#2447ae;border-color:#2447ae}
body[data-reference-ui] .secondary{color:#263652;border-color:#cbd3e2}
body[data-reference-ui] input,body[data-reference-ui] textarea,body[data-reference-ui] select{border-color:#b4bece;color:#14213d}
body[data-reference-ui] :is(input,textarea,select,button,a,summary):focus-visible{outline:3px solid #345ee0;outline-offset:3px}
body[data-reference-ui] p{color:#626d83;text-align:start;hyphens:manual}
.reference-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:11px;background:#edf3ff;color:#2d66db}
.reference-icon svg{display:block;width:24px;height:24px}
.reference-icon[data-tone=green]{background:#eef2f8;color:#187b44}
.reference-icon[data-tone=orange]{background:#fff2e5;color:#b85912}
.reference-icon[data-tone=purple]{background:#f2ebff;color:#7244da}
.reference-icon[data-tone=amber]{background:#fff5dc;color:#9c650b}
.reference-icon[data-tone=pink]{background:#ffedf5;color:#bd376b}
.reference-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body[data-reference-ui] .reference-header{max-width:1480px;margin-inline:auto;padding:16px 30px;display:grid;grid-template-columns:minmax(215px,1fr) auto 180px auto;align-items:center;gap:20px;min-height:78px;border-bottom:1px solid #e6eaf2;background:#fff}
.reference-header .brand{display:flex;align-items:center;gap:10px;min-width:0;font-size:19px;letter-spacing:-.65px;font-weight:800;white-space:nowrap;line-height:1.15;color:#101b33}
.reference-header .brand-logo{width:32px;height:32px;flex:0 0 32px}
body[data-reference-ui] .reference-main-nav{display:flex;align-items:center;gap:4px;min-width:0;flex-wrap:nowrap;white-space:nowrap}
body[data-reference-ui] .reference-main-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;border-radius:7px;font-size:14px;color:#3a4760;line-height:1.3;text-decoration:none}
body[data-reference-ui] .reference-main-nav a:hover{color:#244fc9;background:#f3f6ff}
body[data-reference-ui=home] .reference-main-nav a:first-child{color:#244fc9;text-decoration:underline;text-underline-offset:13px}
.reference-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
body[data-reference-ui] .reference-header-actions .language-picker{display:block}
.reference-header-actions .language-picker>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-reference-ui] .reference-header-actions .language-controls{position:relative;display:block;min-width:50px}
body[data-reference-ui] .reference-header-actions .language-code{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px;pointer-events:none;font-size:12px;font-weight:600;color:#344363}
body[data-reference-ui] .reference-header-actions .language-chevron{display:block;width:6px;height:6px;border:solid #61708a;border-width:0 1px 1px 0;transform:rotate(45deg);margin-top:-3px}
body[data-reference-ui] .reference-header-actions .language-controls select{position:absolute;inset:0;opacity:0;width:100%!important;max-width:none!important;min-width:0;margin:0;padding:0;cursor:pointer}
.reference-header-actions .language-controls:focus-within{outline:3px solid #345ee0;outline-offset:3px;border-radius:5px}
body[data-reference-ui] .reference-header-actions .header-search-open{position:static;inset:auto;display:flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:8px;border:0;background:transparent;color:#18233e;box-shadow:none}
body[data-reference-ui] .reference-header-actions .language-picker{width:64px;flex:0 0 64px;padding:0;margin:0;border:0}
body[data-reference-ui] .reference-header-actions .language-controls,body[data-reference-ui] .reference-header-actions .language-picker select{width:64px;max-width:64px;flex-basis:64px;min-height:40px;height:40px}
body[data-reference-ui] .reference-header .tool-page-picker{display:block;min-width:0;max-width:180px;margin:0}
.reference-header .tool-page-picker>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body[data-reference-ui] .reference-header .tool-page-picker select{width:180px;max-width:100%;height:40px;min-height:40px;margin:0;padding:8px 28px 8px 10px;font-size:13px;border-color:#dce2ee;background:#fff}
body[data-reference-ui]>main{max-width:1280px;margin-inline:auto;padding:34px 30px 60px}
.reference-hero{text-align:center;margin:18px auto 25px;max-width:1040px}
.reference-hero .reference-eyebrow{display:block;color:#6c48d6;font-size:12px;letter-spacing:1.8px;font-weight:650;margin-bottom:14px}
.reference-hero h1{font-size:clamp(36px,4.7vw,62px);letter-spacing:-2px;line-height:1.08;margin:0 auto 18px;max-width:950px}
.reference-hero h1 em{background:linear-gradient(100deg,#1358f3,#7543e7);background-clip:text;-webkit-background-clip:text;color:transparent;font-style:normal}
.reference-hero .intro{max-width:760px;margin:0 auto 14px;line-height:1.7;font-size:17px;text-align:center}
.reference-inventory{display:inline-block;margin-block:4px 0;padding:5px 12px;border:1px solid #e2e7f0;border-radius:999px;color:#69758a;font-size:12px}
.reference-assistant-band{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:22px;padding:26px 30px;border:1px solid #edf0fc;border-radius:16px;background:linear-gradient(115deg,#f5f1ff 0%,#f2f8ff 65%,#eaf8fc 100%);margin:24px 0}
.reference-assistant-band>.reference-icon{width:58px;height:58px;border-radius:13px;background:#fff;color:#7444dd}
.reference-assistant-band h2{margin:0 0 7px;font-size:25px;letter-spacing:-.6px;line-height:1.25}
.reference-assistant-band p{margin:0 0 8px;line-height:1.5;font-size:15px;text-align:start}
.reference-assistant-band small,.reference-assistance small{display:block;color:#65718a;font-size:12px;line-height:1.5}
.reference-assistant-band>a{white-space:nowrap;text-decoration:none;background:linear-gradient(100deg,#7445e5,#2452ef);border:0;padding:13px 20px;box-shadow:0 3px 10px #3353bc12}
.reference-discovery{margin-block:26px 32px}
.reference-discovery .reference-home-filters{margin:12px 0 0;gap:8px}
body[data-reference-ui=home] .reference-discovery .reference-home-filters button{min-height:44px;max-width:100%;padding:10px 14px;font-size:16px;line-height:1.4;white-space:normal;text-align:center}
.reference-main-search{display:grid;grid-template-columns:24px minmax(0,1fr) 44px;align-items:center;gap:12px;max-width:940px;margin:0 auto;padding:6px 7px 6px 18px;border:1px solid #7b8ba7;border-radius:12px;box-shadow:0 2px 7px #172b4d05}
.reference-main-search>.reference-icon{width:24px;height:24px;flex-basis:24px;background:none;border-radius:0;color:#172c52}
.reference-main-search>div{min-width:0}
.reference-main-search label{display:block;margin:0;font-size:11px;line-height:16px;font-weight:600;color:#62718a}
body[data-reference-ui] .reference-main-search input{width:100%;min-height:30px;height:30px;max-width:100%;border:0;background:transparent;padding:3px 0;box-shadow:none;font-size:16px}
.reference-main-search:focus-within{outline:3px solid #4266d9;outline-offset:3px}
body[data-reference-ui] .reference-main-search input:focus-visible{outline:0}
body[data-reference-ui] .reference-main-search>a{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;border-radius:8px;background:#162b6b;color:#fff;text-decoration:none}
body[data-reference-ui] .reference-main-search>a:is(:hover,:focus-visible){background:#243f93;color:#fff}
body[data-reference-ui] .reference-main-search>a svg{width:24px;height:24px;color:inherit;stroke:currentColor}
.reference-quick-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:15px 0 30px}
.reference-quick-links>strong{font-size:12px;margin-inline-end:4px}
.reference-quick.compact{display:inline-flex;gap:7px;align-items:center;min-height:34px;padding:6px 10px;background:#f3f6fd;border:1px solid #e5eaf5;border-radius:999px;text-decoration:none}
.reference-quick.compact .reference-icon{width:18px;height:18px;flex-basis:18px;background:none}
.reference-quick.compact svg{width:16px;height:16px}
.reference-quick.compact strong{font-size:12px;font-weight:500;line-height:1.4}
.reference-quick.compact .reference-link-arrow{display:none}
.reference-discovery>h2{font-size:24px;letter-spacing:-.5px;line-height:1.3;margin:22px 0 14px}
.reference-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body[data-reference-ui] .reference-category{display:grid;grid-template-columns:42px minmax(0,1fr) 12px;gap:12px;align-items:center;background:#fff;color:#18213c;border:1px solid #dfe5f0;border-radius:11px;padding:17px 16px;min-width:0;text-align:start;box-shadow:none}
.reference-category strong{display:block;font-size:15px;line-height:1.35;margin-bottom:6px}
.reference-category small{display:block;color:#68748a;font-size:12px;line-height:1.4}
body[data-reference-ui] .reference-category:hover,body[data-reference-ui] .reference-category[aria-pressed=true]{border-color:#3157ce;background:#f6f8ff}
body[data-reference-ui] .reference-category[aria-pressed=true]{box-shadow:inset 0 0 0 1px #3157ce}
body[data-reference-ui] .toolbar{margin-block:16px 20px;display:flex;flex-wrap:wrap;gap:12px}
body[data-reference-ui] .filters{display:flex;flex-wrap:wrap;gap:7px}
body[data-reference-ui] .filters button{border:1px solid #d9e1ef;background:#fff;color:#40506c;border-radius:999px;padding:8px 13px;font-size:12px;min-height:36px}
body[data-reference-ui] .filters button[aria-pressed=true]{background:#eaf0ff;color:#234fc8;border-color:#3157ce;font-weight:700}
body[data-reference-ui=home] .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body[data-reference-ui] .card{display:grid;grid-template-columns:42px minmax(0,1fr) 12px;column-gap:13px;row-gap:5px;align-content:start;min-width:0;padding:18px;border:1px solid #e1e6f0;border-radius:11px;background:#fff;box-shadow:none;text-decoration:none}
body[data-reference-ui] .card:hover{border-color:#9ab0e7;box-shadow:0 4px 12px #263c6d07;transform:none}
.card>.reference-icon{grid-column:1;grid-row:1/3}
body[data-reference-ui] .card .arrow{position:static;grid-column:3;grid-row:1;font-size:16px;line-height:1.4;color:#6381ba}
body[data-reference-ui] .card h3{grid-column:2;grid-row:1;min-width:0;font-size:14px;letter-spacing:-.1px;font-weight:650;line-height:1.4;margin:0}
body[data-reference-ui] .card p{grid-column:2;grid-row:2;min-width:0;font-size:12px;line-height:1.55;margin:0;text-align:start;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.reference-language{display:inline-block;font-size:12px;line-height:1.3;font-family:inherit;white-space:nowrap;color:#53627a;background:#f0f3f9;border-radius:4px;padding:2px 4px}
body[data-reference-ui=home] main>section:not(.reference-hero):not(.reference-assistant-band):not(.reference-discovery){margin-block:26px}
body[data-reference-ui=home] .section-title{font-size:25px;margin-block:0 12px}
.reference-tool-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:30px;max-width:1480px;margin-inline:auto;padding:28px 30px 0}
.reference-tool-shell>main{max-width:none;min-width:0;width:100%;padding:0 0 50px;margin:0}
.tool-sidebar{position:sticky;top:24px;align-self:start;min-width:0;border-inline-end:1px solid #e3e8f1;padding-inline-end:17px;max-height:calc(100dvh - 40px);overflow:auto}
.tool-sidebar>summary{display:none}
.tool-sidebar nav{display:block}
.tool-sidebar .reference-icon{width:29px;height:29px;flex-basis:29px;border-radius:6px}
.tool-sidebar .reference-icon svg{width:18px;height:18px}
.sidebar-all,.sidebar-group>summary{display:flex;align-items:center;gap:9px;min-height:44px;padding:7px;border-radius:7px;text-decoration:none;font-size:14px;color:#42516d;cursor:pointer}
.sidebar-all small,.sidebar-group>summary small{margin-inline-start:auto;font-size:13px;color:#53627a}
.sidebar-all{margin-bottom:12px;border-bottom:1px solid #e9edf5;border-radius:0;padding-bottom:14px}
.sidebar-group>summary{list-style:none}
.sidebar-group>summary::-webkit-details-marker{display:none}
.sidebar-group[open]>summary{background:#eef3ff;color:#2c58cf}
.sidebar-group ul{list-style:none;margin:4px 0 12px 14px;padding:0 0 0 9px;border-inline-start:1px solid #e4eaf4}
[dir=rtl] .sidebar-group ul{margin-inline:14px 0;padding-inline:9px 0}
.sidebar-group li a{display:flex;align-items:start;gap:7px;min-height:36px;line-height:1.5;padding:8px 6px;border-radius:6px;text-decoration:none;font-size:13px;color:#62708a}
.sidebar-group li a>.reference-icon{width:18px;height:18px;flex-basis:18px;background:none}
.sidebar-group li a>.reference-icon svg{width:16px;height:16px}
.sidebar-group li a[aria-current=page]{color:#2455d9;background:#f1f5ff;font-weight:650}
.sidebar-group li a:hover{background:#f6f8fc;color:#214fca}
body[data-reference-ui=tool] .tool-heading{max-width:none;margin-block:0 24px}
.reference-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-block:8px 12px}
.reference-tool-title{display:flex;align-items:center;gap:14px;min-width:0}
body[data-reference-ui=tool] .reference-title-row h1{display:flex;align-items:center;gap:14px;min-width:0;font-size:clamp(25px,2.4vw,35px);letter-spacing:-.85px;line-height:1.22;margin:0}
.reference-tool-title>.reference-icon{flex:0 0 48px;width:48px;height:48px;border-radius:10px}
.reference-tool-title>.reference-icon svg{width:28px;height:28px}
.reference-assistance{flex:0 1 280px;min-width:0;text-align:end}
.reference-assistance>a{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#3159cf;font-size:12px;line-height:1.5;font-weight:600}
.reference-assistance .reference-icon{width:24px;height:24px;flex-basis:24px;border-radius:6px}
.reference-assistance svg{width:16px;height:16px}
.reference-assistance small{font-size:10px;margin-top:3px}
body[data-reference-ui=tool] .intro{font-size:14px;line-height:1.65;margin-block:0 22px;max-width:none}
body[data-reference-ui=tool] .tool-layout,body[data-reference-ui=tool] .utility-layout{display:block}
body[data-reference-ui=tool] .tool-layout>aside,body[data-reference-ui=tool] .utility-layout>aside{width:100%;margin-block-start:26px}
body[data-reference-ui=tool] .panel,body[data-reference-ui=tool] .tool-notice{border:1px solid #e1e6f0;border-radius:12px;box-shadow:none;background:#fff}
body[data-reference-ui=tool] .panel p,body[data-reference-ui=tool] .tool-notice p{max-width:none;text-align:start}
body[data-reference-ui=tool] .tool-layout:not(.developer-layout)>section.panel{padding:0;overflow:hidden}
body[data-reference-ui=tool] #tool-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;max-width:none;margin:0}
.reference-numeric-input,.reference-numeric-result{padding:24px;min-width:0}
.reference-numeric-result{border-inline-start:1px solid #e1e6f0;background:#fff}
.reference-numeric-input>br{display:none}
.reference-numeric-input .row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}
.reference-numeric-input .field{min-width:0;margin-block-end:18px}
.reference-numeric-input input,.reference-numeric-input select{width:100%;max-width:100%}
body[data-reference-ui] .reference-numeric-result .result{margin:0;min-height:260px;padding:18px;border:1px solid #dfe6f2;border-radius:9px;display:flex;flex-direction:column;align-items:start;gap:10px}
.reference-numeric-result .result output{overflow-wrap:anywhere;max-width:100%;font-size:31px}
.reference-numeric-result .result p{margin-block:8px 18px}
.reference-numeric-result .result button{margin-top:auto}
body[data-reference-ui=tool] .developer-layout #extra-form,body[data-reference-ui=tool] .utility-workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body[data-reference-ui=tool] .editor-input,body[data-reference-ui=tool] .editor-result,body[data-reference-ui=tool] .utility-input,body[data-reference-ui=tool] .utility-result{padding:22px;background:#fff;min-width:0}
body[data-reference-ui=tool] .editor-result,body[data-reference-ui=tool] .utility-result{border-inline-start:1px solid #e1e6f0}
body[data-reference-ui=tool] .developer-layout textarea,body[data-reference-ui=tool] .developer-layout .extra-output{min-height:270px}
body[data-reference-ui=tool] .extra-output,body[data-reference-ui=tool] .utility-output{border-color:#e2e7f0;background:#fbfcff;border-radius:8px}
body[data-reference-ui=tool] .seo-breadcrumb{font-size:12px;margin-block:0 18px}
body[data-reference-ui=tool] .tool-notice{padding:22px;margin-top:24px}
body[data-reference-ui=tool] .tool-layout>aside.panel,body[data-reference-ui=tool] .utility-layout>aside.panel{padding:26px}
body[data-reference-ui=tool] main>section[style]{margin-top:26px!important}
body[data-reference-ui] footer{max-width:1480px;margin-inline:auto;border-top:1px solid #e7ebf3;padding:24px 30px;gap:12px 24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);color:#68748b;font-size:12px}
body[data-reference-ui] footer>span:first-child{font-weight:700;color:#2b3852;align-self:center}
body[data-reference-ui] footer>span:nth-child(2){text-align:end}
body[data-reference-ui] footer #google-preferences{border:0;border-top:1px solid #edf0f7;border-radius:0;padding:10px 0;font-size:12px;line-height:1.6;box-shadow:none}
body[data-reference-ui] footer #google-preferences>.actions{margin-block:4px}
body[data-reference-ui] footer #google-preferences summary{font-size:1rem;line-height:1.5;padding:10px 0;min-height:44px}
body[data-reference-ui] footer #google-preferences button{font-size:1rem;line-height:1.5;padding:8px 10px;min-height:44px}
.reference-footer-about{grid-column:1/-1;justify-self:start;font-size:12px;text-underline-offset:3px}
/* No provider, request, ID or activation path is supplied by this scaffold. */
.reference-ad-slot[hidden]{display:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important}
.reference-ad-slot{clear:both;margin:24px 0;padding:16px;border:1px solid #dfe5ef;color:#65728b;font-size:11px;text-align:center}
body[data-reference-ui] #header-search-dialog{width:min(860px,calc(100% - 48px));max-height:88dvh;margin:auto;padding:28px;background:#fff;color:#101c3c;border:1px solid #dfe5f0;border-radius:18px;box-shadow:0 28px 90px #14234833;overflow:auto}
body[data-reference-ui] #header-search-dialog::backdrop{background:#18243b72;backdrop-filter:blur(3px)}
body[data-reference-ui] .header-search-top{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:18px}
body[data-reference-ui] #header-search-title{font-size:28px;letter-spacing:-.7px;margin:0;line-height:1.2}
body[data-reference-ui] #header-search-close{display:flex;align-items:center;justify-content:center;width:36px;min-width:36px;min-height:36px;height:36px;border:0;padding:6px;background:#fff;color:#263551;border-radius:8px}
.reference-dialog-input{display:grid;grid-template-columns:24px minmax(0,1fr) 36px;align-items:center;gap:9px;min-width:0;padding:6px 8px 6px 14px;border:1px solid #7b8ba7;border-radius:10px}
.reference-dialog-input>.reference-icon{width:24px;height:24px;flex-basis:24px;background:transparent;color:#20315b}
.reference-dialog-input:focus-within{outline:3px solid #4671f0;outline-offset:2px}
body[data-reference-ui] #header-search-input{width:100%;max-width:100%;min-width:0;min-height:42px;padding:8px 0;border:0;box-shadow:none;background:transparent;font-size:15px}
body[data-reference-ui] #header-search-input:focus-visible{outline:0}
#header-search-input::-webkit-search-cancel-button{-webkit-appearance:none}
body[data-reference-ui] #header-search-clear{display:flex;align-items:center;justify-content:center;min-width:36px;width:36px;height:36px;min-height:36px;padding:8px;border:0;border-radius:6px;background:#f3f6fc;color:#5b6c8c}
body[data-reference-ui] #header-search-hint{font-size:13px;line-height:1.5;color:#6c7890;margin:13px 0 16px}
body[data-reference-ui] #header-search-status{font-size:13px;line-height:1.6;color:#526484;margin:10px 0}
#header-search-dialog [data-search-default]>h3{font-size:16px;line-height:1.4;margin:22px 0 12px}
.reference-search-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.reference-quick:not(.compact){display:grid;grid-template-columns:42px minmax(0,1fr) 12px;gap:11px;align-items:center;padding:13px;border:1px solid #e1e7f2;border-radius:10px;background:#fff;text-decoration:none;min-width:0}
.reference-quick:not(.compact) strong{display:block;font-size:13px;line-height:1.4;margin-bottom:4px}
.reference-quick:not(.compact) small{display:block;font-size:11px;line-height:1.5;color:#6a7690;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.reference-link-arrow{color:#5a76b6;font-size:20px}
.reference-search-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body[data-reference-ui] .reference-search-categories button{display:flex;align-items:center;gap:8px;min-width:0;min-height:56px;padding:10px;border:1px solid #e1e7f2;border-radius:9px;background:#fff;color:#344568;font-size:12px;text-align:start}
.reference-search-categories .reference-icon{width:30px;height:30px;flex-basis:30px}
.reference-search-categories svg{width:19px;height:19px}
.reference-search-categories small{margin-inline-start:auto;color:#657591}
body[data-reference-ui] #header-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;margin:14px 0;padding:0;gap:10px}
body[data-reference-ui] #header-search-results li{margin:0;padding:0;border:0;min-width:0}
body[data-reference-ui] #header-search-results a{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;align-items:start;min-width:0;height:100%;padding:13px;border:1px solid #e0e7f3;border-radius:10px;text-decoration:none;color:#1e2b48;background:#fff}
#header-search-results .reference-icon{width:38px;height:38px;flex-basis:38px}
#header-search-results strong{display:block;font-size:14px;line-height:1.4}
#header-search-results .reference-result-description{display:block;margin-top:5px;font-size:12px;line-height:1.55;color:#6b7891}
#header-search-results .reference-language{display:inline-block;font-size:12px;margin-top:4px}
body[data-reference-ui] #header-search-results a:hover,body[data-reference-ui] .reference-quick:hover{background:#f6f8ff;border-color:#9eb5f1}
body[data-reference-ui] .header-search-all{display:flex;align-items:center;justify-content:space-between;font-size:13px;min-height:44px;padding-top:15px;margin-top:20px;border-top:1px solid #e9edf5;color:#3159d1;text-decoration:none}
@media(min-width:1500px){body[data-reference-ui=home] .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1180px){body[data-reference-ui] .reference-header{grid-template-columns:minmax(190px,1fr) auto 150px auto;gap:12px;padding-inline:24px}.reference-header .brand{font-size:16px}.reference-main-nav a{padding-inline:7px!important}.reference-tool-shell{grid-template-columns:195px minmax(0,1fr);gap:22px;padding-inline:24px}.reference-title-row{align-items:start}.reference-assistance{flex-basis:235px}body[data-reference-ui=tool] .reference-title-row h1{font-size:28px}}
@media(max-width:980px){body[data-reference-ui] .reference-header{grid-template-columns:minmax(0,1fr) auto 160px;gap:10px 18px}.reference-header .brand{grid-column:1;grid-row:1}.reference-header .reference-main-nav{grid-column:1/3;grid-row:2}.reference-header .tool-page-picker{grid-column:3;grid-row:2}.reference-header .reference-header-actions{grid-column:3;grid-row:1}.reference-tool-shell{display:block;padding:22px 20px 0}.tool-sidebar{position:static;max-height:none;border:1px solid #e0e7f1;border-radius:9px;margin-bottom:22px;padding:0;overflow:visible}.tool-sidebar>summary{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:46px;font-size:13px;font-weight:600;list-style:none}.tool-sidebar>summary>:last-child{margin-inline-start:auto}.tool-sidebar>nav{padding:0 14px 14px}.tool-sidebar>summary::-webkit-details-marker{display:none}.reference-title-row{gap:15px}.reference-assistance{flex-basis:250px}.reference-assistant-band{padding:22px;gap:16px}.reference-assistant-band h2{font-size:23px}.reference-assistant-band>a{white-space:normal;max-width:200px}}
@media(max-width:700px){body[data-reference-ui] .reference-header{padding:12px 16px;grid-template-columns:minmax(0,1fr) auto;gap:10px}.reference-header .brand{grid-column:1;grid-row:1;font-size:14px;letter-spacing:-.45px;gap:7px}.reference-header .brand-logo{width:28px;height:28px;flex-basis:28px}.reference-header .reference-main-nav{display:none!important}.reference-header .reference-header-actions{grid-column:2;grid-row:1;gap:2px}.reference-header .tool-page-picker{grid-column:1/-1;grid-row:2;max-width:none!important;width:100%}.reference-header .tool-page-picker select{width:100%!important;max-width:none!important;font-size:12px!important;height:38px!important;min-height:38px!important}.reference-header .reference-header-actions .language-picker,.reference-header .reference-header-actions .language-controls,.reference-header .reference-header-actions .language-picker select{width:50px!important;min-width:50px;max-width:50px!important;flex-basis:50px!important}.reference-header .header-search-open{width:34px!important;min-width:34px!important;height:36px!important;min-height:36px!important;padding:6px!important}body[data-reference-ui]>main{padding:22px 16px 40px}.reference-hero{margin:15px 0 22px}.reference-hero .reference-eyebrow{font-size:10px;letter-spacing:1.2px;margin-bottom:12px}.reference-hero h1{font-size:36px;letter-spacing:-1.3px;line-height:1.13;margin-bottom:15px}.reference-hero .intro{font-size:14px;line-height:1.65}.reference-assistant-band{grid-template-columns:40px minmax(0,1fr);gap:12px;padding:18px;margin-block:22px;border-radius:12px}.reference-assistant-band>.reference-icon{width:40px;height:40px;flex-basis:40px;align-self:start}.reference-assistant-band h2{font-size:20px;letter-spacing:-.45px}.reference-assistant-band p{font-size:13px;line-height:1.5}.reference-assistant-band small{font-size:11px;line-height:1.5}.reference-assistant-band>a{grid-column:1/-1;max-width:none;width:100%;min-height:44px;margin-top:3px;font-size:14px}.reference-main-search{padding:5px 6px 5px 12px;gap:8px;grid-template-columns:21px minmax(0,1fr) 40px;border-radius:10px}.reference-main-search input{font-size:14px!important}.reference-main-search>a{width:40px;height:40px}.reference-quick-links{justify-content:flex-start;gap:7px;margin-block:13px 24px}.reference-quick-links>strong{width:100%;font-size:11px}.reference-quick.compact{padding:5px 8px;min-height:32px}.reference-quick.compact strong{font-size:11px}.reference-discovery>h2{font-size:22px}.reference-categories{grid-template-columns:minmax(0,1fr);gap:9px}.reference-category{padding:12px 14px!important}.reference-category .reference-icon{width:36px;height:36px;flex-basis:36px}.reference-category strong{font-size:14px}.reference-category small{font-size:11px}body[data-reference-ui=home] .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body[data-reference-ui] .card{grid-template-columns:34px minmax(0,1fr);padding:13px;gap:9px}body[data-reference-ui] .card .reference-icon{width:34px;height:34px;flex-basis:34px}body[data-reference-ui] .card .reference-icon svg{width:21px;height:21px}body[data-reference-ui] .card .arrow{display:none}body[data-reference-ui] .card h3{font-size:13px}body[data-reference-ui] .card p{font-size:11px;-webkit-line-clamp:3}.reference-tool-shell{padding:18px 16px 0}.reference-title-row{display:block;margin-block:6px 12px}body[data-reference-ui=tool] .reference-title-row h1{font-size:27px;gap:12px}.reference-tool-title>.reference-icon{width:42px;height:42px;flex-basis:42px}.reference-assistance{margin:12px 0 0;text-align:start}.reference-assistance>a{font-size:12px}.reference-assistance small{font-size:10px;margin-top:3px}body[data-reference-ui=tool] .intro{font-size:13px;line-height:1.65;margin-bottom:20px}body[data-reference-ui=tool] #tool-form,body[data-reference-ui=tool] .developer-layout #extra-form,body[data-reference-ui=tool] .utility-workbench{grid-template-columns:minmax(0,1fr)}.reference-numeric-input,.reference-numeric-result{padding:18px}.reference-numeric-input .row{grid-template-columns:minmax(0,1fr);gap:0}.reference-numeric-result,body[data-reference-ui=tool] .editor-result,body[data-reference-ui=tool] .utility-result{border-inline-start:0;border-block-start:1px solid #e1e6f0}.reference-numeric-result .result{min-height:200px!important}body[data-reference-ui=tool] .editor-input,body[data-reference-ui=tool] .editor-result,body[data-reference-ui=tool] .utility-input,body[data-reference-ui=tool] .utility-result{padding:18px}body[data-reference-ui=tool] .developer-layout textarea,body[data-reference-ui=tool] .developer-layout .extra-output{min-height:230px}body[data-reference-ui=tool] .tool-layout>aside.panel,body[data-reference-ui=tool] .utility-layout>aside.panel{padding:20px}body[data-reference-ui] footer{display:grid;grid-template-columns:minmax(0,1fr);padding:22px 16px;gap:10px}body[data-reference-ui] footer>span:nth-child(2){text-align:start}body[data-reference-ui] #header-search-dialog{width:calc(100% - 18px);max-height:calc(100dvh - 18px);padding:19px 16px;border-radius:15px}body[data-reference-ui] #header-search-title{font-size:23px}.reference-search-quick,.reference-search-categories{grid-template-columns:minmax(0,1fr)}body[data-reference-ui] #header-search-results{grid-template-columns:minmax(0,1fr)}.reference-quick:not(.compact){padding:11px}.reference-quick:not(.compact) strong{font-size:13px}.reference-search-categories button{min-height:48px!important}.reference-search-categories .reference-icon{width:29px;height:29px;flex-basis:29px}.reference-dialog-input{gap:7px;padding-inline:10px 5px;grid-template-columns:21px minmax(0,1fr) 34px}body[data-reference-ui] #header-search-input{font-size:14px}body[data-reference-ui] #header-search-hint{font-size:12px}body[data-reference-ui] #header-search-dialog [data-search-default]>h3{font-size:15px;margin-top:20px}}
@media(max-width:460px){body[data-reference-ui=home] .grid{grid-template-columns:minmax(0,1fr)}.reference-hero h1{font-size:32px}.reference-header .brand{font-size:12px}.reference-header .brand-logo{width:26px;height:26px;flex-basis:26px}.reference-header .reference-header-actions{gap:0}body[data-reference-ui] .card{min-height:89px}body[data-reference-ui] .card p{font-size:12px}.reference-tool-shell{padding-inline:12px}body[data-reference-ui=tool] .reference-title-row h1{font-size:24px;letter-spacing:-.6px}.reference-tool-title>.reference-icon{width:36px;height:36px;flex-basis:36px}.reference-tool-title>.reference-icon svg{width:23px;height:23px}.reference-assistant-band h2{font-size:19px}.reference-assistant-band{padding:16px}.reference-assistant-band small{font-size:10px}.reference-main-search>.reference-icon{width:20px;height:20px}.reference-main-search input{min-width:0!important}}
@media(prefers-reduced-motion:reduce){body[data-reference-ui] *{scroll-behavior:auto!important;transition:none!important}}
@media print{.tool-sidebar,.reference-header,.reference-assistance,.reference-ad-slot,.reference-assistant-band{display:none!important}.reference-tool-shell{display:block;padding:0;max-width:none}.reference-tool-shell>main{width:100%;padding:0}.reference-title-row{display:block}}
/* Use the available desktop width; keep the deliberate sidebar width. */
@media screen and (min-width:981px){
 body[data-reference-ui] .reference-header,body[data-reference-ui] footer{max-width:none;width:100%;padding-inline:32px}
 body[data-reference-ui=home]>main{max-width:none;width:100%;padding-inline:32px}
 .reference-tool-shell{max-width:none;width:100%;padding-inline:32px}
 .reference-discovery .reference-main-search{max-width:none}
}
/* Explanation cards use one full-width text column at every viewport size. */
body[data-reference-ui=tool] :is(.tool-layout>aside.panel,.utility-layout>aside.panel,main>section.panel){display:block;width:100%;max-width:none;column-count:1}
body[data-reference-ui=tool] :is(.tool-layout>aside.panel,.utility-layout>aside.panel,main>section.panel) :is(article,section,div,ul,ol,li,p){max-width:none;column-count:1;grid-template-columns:minmax(0,1fr)}
body[data-reference-ui=tool] :is(.tool-layout>aside.panel,.utility-layout>aside.panel,main>section.panel) :is(p,ul,ol){width:100%}
body[data-reference-ui=tool] :is(.tool-layout>aside.panel,.utility-layout>aside.panel,main>section.panel) :is(ul,ol){padding-inline:22px 0}
body[data-reference-ui=tool] :is(.tool-layout>aside.panel,.utility-layout>aside.panel,main>section.panel) :is(p,li){text-align:justify;text-align-last:start;hyphens:none;word-break:normal;overflow-wrap:break-word}
body[data-reference-ui=tool] :is(.tool-layout>aside.panel,.utility-layout>aside.panel,main>section.panel) :is(pre,code,.formula){text-align:start;text-align-last:auto;hyphens:none}

/* One readable input baseline; local suggestions stay anchored to this field. */
body[data-reference-ui] .reference-main-search{position:relative;align-items:center;min-height:62px;padding:7px 8px 7px 18px;scroll-margin-top:16px}
body[data-reference-ui] .reference-main-search input[data-suggest-search]{display:block;height:46px;min-height:46px;padding:0;font-size:1.0625rem!important;line-height:1.4;color:#17244a}
body[data-reference-ui] .reference-main-search input::placeholder{color:#53627a;opacity:1}
body[data-reference-ui] .reference-main-search>.reference-home-search-panel{position:absolute;inset-inline:0;top:calc(100% + 8px);z-index:70;max-height:360px;overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid #9daac1;border-radius:12px;box-shadow:0 15px 40px #17244a24;text-align:start}
body[data-reference-ui] #home-search-status{font-size:.8125rem;line-height:1.5;color:#53627a;margin:0;padding:12px 15px 6px}
body[data-reference-ui] #home-search-results{list-style:none;padding:0 7px 7px;margin:0}
body[data-reference-ui] #home-search-results li{margin:0;padding:0;min-width:0}
body[data-reference-ui] .reference-match-group{font-size:.8125rem;font-weight:700;color:#3c4e72;padding:10px 9px 6px!important}
body[data-reference-ui] #home-search-results a{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:12px;min-height:62px;padding:10px;border:1px solid transparent;border-radius:8px;color:#17244a;text-decoration:none}
body[data-reference-ui] #home-search-results a:is(:hover,[aria-selected=true]){background:#edf2ff;border-color:#6e86bf}
body[data-reference-ui] #home-search-results .reference-icon{width:36px;height:36px;flex-basis:36px}
body[data-reference-ui] #home-search-results strong{display:block;font-size:1rem;line-height:1.4;overflow-wrap:break-word}
body[data-reference-ui] #home-search-results .reference-result-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.8125rem;line-height:1.5;color:#53627a;margin-top:3px}
body[data-reference-ui] #home-search-results .reference-language{font-size:.75rem;line-height:1.4}
@media(max-width:700px){body[data-reference-ui] .reference-main-search{min-height:58px;padding:5px 6px 5px 12px;gap:9px}body[data-reference-ui] .reference-main-search input[data-suggest-search]{height:44px;min-height:44px;font-size:1rem!important}body[data-reference-ui] #home-search-results a{min-height:64px;padding:10px 8px}body[data-reference-ui] #home-search-results strong{font-size:.9375rem}}

/* In-page menus progressively enhance the unchanged native selects. */
.reference-tool-picker{min-width:0;width:100%}
body[data-reference-ui] .reference-picker-trigger{display:grid;grid-template-columns:20px minmax(0,1fr) 14px;gap:8px;align-items:center;width:100%;min-width:0;min-height:44px;padding:9px 11px;border:1px solid #7b8ba7;border-radius:8px;background:#fff;color:#243653;font-family:inherit;font-size:.9375rem;font-weight:600;line-height:1.4;text-align:start}
.reference-picker-trigger>svg{width:20px;height:20px}.reference-picker-trigger>svg:last-child{width:14px;height:14px}
.reference-picker-caption{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body[data-reference-ui] .reference-language-trigger{display:flex;align-items:center;justify-content:center;gap:4px;min-width:50px;width:50px;min-height:44px;height:44px;padding:5px;border:1px solid transparent;background:#fff;color:#17244a;border-radius:8px}
.reference-language-trigger>svg{width:20px;height:20px}.reference-language-trigger>svg:last-child{width:12px;height:12px}
body[data-reference-ui] :is(.reference-picker-trigger,.reference-language-trigger):hover{background:#edf2ff;border-color:#7b8ba8}
body[data-reference-ui] .reference-picker-panel{position:fixed;inset:auto;margin:0;padding:10px;box-sizing:border-box;max-width:calc(100vw - 24px);overflow:auto;overscroll-behavior:contain;background:#fff;color:#17244a;border:1px solid #7b8ba7;border-radius:12px;box-shadow:0 15px 45px #17244a2b;font-family:inherit;text-align:start}
.reference-picker-panel::backdrop{background:transparent}
body[data-reference-ui] #tool-picker-search{display:block;position:sticky;top:0;z-index:2;width:100%;min-width:0;min-height:44px;padding:9px 11px;border:1px solid #7b8ba7;border-radius:7px;font-size:1rem;background:#fff;color:#17244a;box-shadow:0 5px 0 #fff}
body[data-reference-ui] .reference-picker-status{font-size:.8125rem;line-height:1.5;color:#53627a;margin:10px 5px}
body[data-reference-ui] #tool-picker-results{list-style:none;display:block;padding:0;margin:0}
body[data-reference-ui] #tool-picker-results li{padding:0;margin:0;min-width:0}
body[data-reference-ui] #tool-picker-results a{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;gap:10px;align-items:center;min-height:52px;padding:9px 8px;border:1px solid transparent;border-radius:8px;color:#17244a;text-decoration:none;white-space:normal;scroll-margin-block:58px 10px}
body[data-reference-ui] #tool-picker-results .reference-icon{width:32px;height:32px;flex-basis:32px}
body[data-reference-ui] #tool-picker-results .reference-icon svg{width:22px;height:22px}
body[data-reference-ui] #tool-picker-results strong{display:block;font-size:.9375rem;line-height:1.45;overflow-wrap:break-word}
body[data-reference-ui] #tool-picker-results .reference-language{font-size:.75rem}
body[data-reference-ui] #tool-picker-results a:is(:hover,[aria-selected=true]){background:#edf2ff;border-color:#3157ce}
body[data-reference-ui] #tool-picker-results a[data-current-tool]{background:#f2f5ff}
.reference-selected-marker{width:18px;height:18px;flex:0 0 18px;color:#3157ce}
body[data-reference-ui] #language-picker-panel a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;min-height:44px;border:1px solid transparent;border-radius:7px;color:#17244a;text-decoration:none;font-size:1rem;line-height:1.5}
body[data-reference-ui] #language-picker-panel a:is(:hover,[aria-selected=true]){background:#edf2ff;border-color:#7b8ba8}
#language-picker-panel a[aria-selected=false] .reference-selected-marker{visibility:hidden}
@media(max-width:980px){.reference-header .reference-tool-picker{grid-column:3;grid-row:2}}
@media(max-width:700px){.reference-header .reference-tool-picker{grid-column:1/-1;grid-row:2;width:100%;max-width:none}.reference-header .reference-picker-trigger{min-height:44px;font-size:.9375rem}.reference-header .reference-language-trigger{width:50px;min-width:50px}}

/* Readable type at the actual viewport; no page zoom or transform scaling. */
body[data-reference-ui]{--text-muted:#53627a;--control-border:#7b8ba7}
body[data-reference-ui] :is(input,select,textarea){border-color:#7b8ba7}
body[data-reference-ui] :is(input,textarea)::placeholder{color:#53627a;opacity:1}
[dir=rtl] :is(#search,#header-search-input,#tool-picker-search){direction:inherit;text-align:start}
body[data-reference-ui] .secondary{border-color:#7b8ba7}
.reference-hero h1{font-size:clamp(4.25rem,4.4vw,5.5rem);line-height:1.08;letter-spacing:-2.6px}
.reference-hero .intro{font-size:clamp(1.125rem,1.1vw,1.375rem);line-height:1.65}
.reference-hero .reference-eyebrow{font-size:.8125rem}
.reference-inventory{font-size:.875rem!important}
.reference-assistant-band h2{font-size:clamp(1.625rem,1.7vw,2rem);line-height:1.2}
.reference-assistant-band p{font-size:1.0625rem;line-height:1.6}
.reference-assistant-band small{font-size:.875rem;line-height:1.6;color:#53627a}
.reference-assistant-band>a{font-size:1rem;min-height:48px}
.reference-main-nav a{font-size:1rem!important}
.reference-header .brand{font-size:1.25rem}
.reference-quick.compact strong{font-size:.875rem}
.reference-quick-links>strong{font-size:.875rem;color:#3d4d6b}
.reference-discovery>h2,body[data-reference-ui=home] #tools>.section-title{font-size:clamp(1.75rem,2vw,2.25rem)}
.reference-category strong{font-size:1.0625rem}
.reference-category small{font-size:.875rem;color:#53627a}
body[data-reference-ui] .card h3{font-size:1.0625rem;line-height:1.4}
body[data-reference-ui] .card p{font-size:.9375rem;line-height:1.6;color:#53627a}
body[data-reference-ui=tool] .intro{font-size:1.0625rem;line-height:1.7}
body[data-reference-ui=tool] .reference-title-row h1{font-size:clamp(1.875rem,2.2vw,2.5rem);line-height:1.2}
body[data-reference-ui=tool] :is(.tool-layout>aside.panel,.utility-layout>aside.panel,main>section.panel) :is(p,li){font-size:1.0625rem;line-height:1.8}
body[data-reference-ui=tool] :is(label,.help){font-size:1rem;line-height:1.65}
body[data-reference-ui=tool] #extra-form{max-width:none;width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body[data-reference-ui] :is(#header-search-hint,#header-search-status,#header-search-results .reference-result-description){color:#53627a}
body[data-reference-ui] #header-search-input{font-size:1rem}
#header-search-results strong{font-size:1rem}
#header-search-results .reference-result-description{font-size:.875rem}
@media(max-width:700px){.reference-hero h1{font-size:2.25rem;line-height:1.12;letter-spacing:-1.3px}.reference-hero .intro{font-size:1rem;line-height:1.65}.reference-hero .reference-eyebrow{font-size:.6875rem}.reference-assistant-band h2{font-size:1.4375rem}.reference-assistant-band p{font-size:1rem}.reference-assistant-band small{font-size:.8125rem}.reference-assistant-band>a{font-size:1rem}.reference-header .brand{font-size:.8125rem}.reference-quick.compact strong{font-size:.8125rem}.reference-quick-links>strong{font-size:.8125rem}.reference-category strong{font-size:1rem}.reference-category small{font-size:.8125rem}body[data-reference-ui] .card h3{font-size:1rem}body[data-reference-ui] .card p{font-size:.875rem}body[data-reference-ui=tool] .reference-title-row h1{font-size:1.75rem}body[data-reference-ui=tool] :is(.intro,.tool-layout>aside.panel p,.utility-layout>aside.panel p,main>section.panel p){font-size:1rem;line-height:1.8}body[data-reference-ui=tool] #extra-form{grid-template-columns:minmax(0,1fr)}}

/* Compact footer; essential privacy action stays visible, supporting copy opens together. */
body[data-reference-ui] footer.reference-footer{display:block;max-width:none;width:100%;padding:24px 32px 20px;background:#111b30;border-top:1px solid #30415f;color:#e1e8f7;font-size:.875rem;line-height:1.6}
.reference-footer-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
body[data-reference-ui] .reference-footer-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;font-size:1.125rem;white-space:nowrap}
.reference-footer-brand img{display:block;width:32px;height:32px;flex:0 0 32px;background:#fff;border-radius:8px;padding:2px;box-sizing:border-box}
body[data-reference-ui] .reference-footer-tagline{margin:0;color:#c2cee3;font-size:.875rem;line-height:1.6;text-align:end}
.reference-footer-links{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:8px;border-top:1px solid #44516a}
.reference-footer-links nav{display:flex;flex-wrap:wrap;gap:0 20px}
body[data-reference-ui] .reference-footer-links a{display:inline-flex;align-items:center;min-height:44px;color:#e1e8f7;font-size:1rem;text-decoration:none}
.reference-footer-links small{font-size:.875rem;color:#c2cee3;white-space:nowrap}
.reference-footer-settings{min-width:0;margin-top:8px}
.reference-footer-controls{display:flex;align-items:center;flex-wrap:wrap;gap:4px 24px;min-width:0}
body[data-reference-ui] footer .reference-footer-settings #google-preferences{display:flex;width:100%;margin:0;padding:0;border:0;background:transparent;color:#e1e8f7;font-size:.875rem;line-height:1.6}
.reference-footer-settings #google-preferences .actions{margin:0;gap:10px}
body[data-reference-ui] footer [data-google-settings]{width:auto;max-width:100%;min-height:44px;padding:8px 10px;background:transparent;border:1px solid #7b8ba7;border-radius:7px;color:#e1e8f7;text-align:start}
body[data-reference-ui] footer [data-google-settings]:hover{background:#263650;color:#fff}
.reference-footer-settings #google-preferences [data-google-stop]{display:block;margin-block:12px;max-width:100%;white-space:normal}
body[data-reference-ui] footer .reference-footer-settings p{font-size:.875rem;line-height:1.65;color:#c2cee3;margin:8px 0;max-width:none;text-align:start}
body[data-reference-ui] footer .reference-footer-settings a{color:#e1e8f7;text-decoration:underline;text-underline-offset:3px}
.reference-footer-disclosure{margin:0;padding:0;max-width:100%}
.reference-footer-disclosure[open]{flex-basis:100%;width:100%}
.reference-footer-settings summary{font-size:1rem;line-height:1.5;color:#e1e8f7;min-height:44px;padding-block:10px;cursor:pointer}
.reference-footer-information{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 28px;padding-top:8px;border-top:1px solid #44516a}
.reference-footer-information>[data-google-status],.reference-footer-information>.legal-summary{grid-column:1/-1}
.reference-footer-information details{min-width:0}
.reference-footer-information nav{display:flex;flex-wrap:wrap;gap:4px 14px}
body[data-reference-ui] footer.reference-footer :is(a,button,summary):focus-visible{outline:3px solid #acc3ff;outline-offset:3px}
body[data-reference-ui] footer.reference-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){body[data-reference-ui] footer.reference-footer{padding:22px 16px 18px}.reference-footer-top,.reference-footer-links{align-items:start;flex-direction:column;gap:8px}body[data-reference-ui] .reference-footer-tagline{text-align:start}.reference-footer-links{margin-top:12px;gap:4px}.reference-footer-links nav{gap:0 16px}.reference-footer-links small{white-space:normal}body[data-reference-ui] .reference-footer-brand{font-size:1rem}.reference-footer-information{grid-template-columns:minmax(0,1fr);gap:4px}.reference-footer-information>*{grid-column:1!important}.reference-footer-controls{gap:0 16px}}

/* One readable scale per UI role across the existing tool families. */
body[data-reference-ui]{--ui-body:1rem;--ui-support:.875rem;--ui-control:1rem;--ui-code:1rem;--ui-title:2.25rem;--ui-section:1.5rem;--ui-subhead:1.125rem}
body[data-reference-ui] :is(button,a.primary,a.secondary,input,select,textarea){font-size:var(--ui-control);line-height:1.5}
body[data-reference-ui] :is(button,a.primary,a.secondary){font-weight:650}
body[data-reference-ui] :is(.reference-picker-trigger,#tool-picker-search,#header-search-input,#search){font-size:var(--ui-control)!important;line-height:1.5}
body[data-reference-ui=tool] .reference-title-row h1,body[data-reference-ui=article] main>h1{font-size:var(--ui-title);font-weight:700;line-height:1.2;letter-spacing:-.6px}
body[data-reference-ui=tool] :is(.editor-input,.editor-result,.utility-input,.utility-result,.tool-layout>aside.panel,.utility-layout>aside.panel,main>section.panel) h2,body[data-reference-ui=article] main h2{font-size:var(--ui-section);font-weight:700;line-height:1.35}
body[data-reference-ui=tool] :is(.tool-layout,.utility-layout) h3,body[data-reference-ui=article] main h3{font-size:var(--ui-subhead);font-weight:700;line-height:1.4}
body[data-reference-ui=tool] :is(.intro,.tool-layout>aside.panel p,.tool-layout>aside.panel li,.utility-layout>aside.panel p,.utility-layout>aside.panel li,main>section.panel p,main>section.panel li),body[data-reference-ui=article] main :is(p,li){font-size:var(--ui-body);line-height:1.7;hyphens:none;word-break:normal;overflow-wrap:break-word}
body[data-reference-ui=tool] :is(#tool-form,#extra-form,.utility-workbench) label{font-size:var(--ui-control);font-weight:650;line-height:1.5}
body[data-reference-ui=tool] :is(#tool-form,#extra-form,.utility-workbench) :is(input,select,textarea,button){font-size:var(--ui-control);line-height:1.5}
body[data-reference-ui=tool] :is(#tool-form,#extra-form,.utility-workbench) :is(.help,.status,.error,[id$="-count"]){font-size:var(--ui-support);line-height:1.6}
body[data-reference-ui=tool] :is(#extra-source,#extra-output,.extra-output,.utility-input textarea,.utility-result pre){font-size:var(--ui-code);line-height:1.6}
body[data-reference-ui=tool] #result{font-size:2.5rem;font-weight:700;line-height:1.3}
body[data-reference-ui] .tool-sidebar>summary,body[data-reference-ui] :is(.sidebar-all,.sidebar-group>summary,.sidebar-group li a){font-size:var(--ui-control);line-height:1.5}
body[data-reference-ui] .sidebar-group>summary{font-weight:600}
body[data-reference-ui] :is(.sidebar-all small,.sidebar-group>summary small){font-size:var(--ui-support);line-height:1.5;color:#53627a}
body[data-reference-ui] .seo-breadcrumb{font-size:var(--ui-support);line-height:1.5}
body[data-reference-ui] .reference-assistance>a{font-size:var(--ui-control);font-weight:600;line-height:1.5}
body[data-reference-ui] .reference-assistance small{font-size:var(--ui-support);line-height:1.6;color:#53627a}
body[data-reference-ui] .card h3{font-size:var(--ui-subhead);font-weight:700;line-height:1.4;overflow-wrap:anywhere;word-break:normal;hyphens:none}
body[data-reference-ui] .card p{font-size:var(--ui-body);line-height:1.6;overflow-wrap:anywhere;word-break:normal;hyphens:none}
body[data-reference-ui=home] main :is(h1,h2,h3){overflow-wrap:anywhere;word-break:normal;hyphens:none}
body[data-reference-ui] .sidebar-group li a>span:not(.reference-icon){min-width:0;overflow-wrap:anywhere;word-break:normal}
body[data-reference-ui] :is(.reference-category strong,.reference-quick.compact strong){font-size:var(--ui-control);line-height:1.5}
body[data-reference-ui] :is(.reference-category small,.reference-quick-links>strong,.reference-inventory,.reference-language){font-size:var(--ui-support);line-height:1.5}
body[data-reference-ui] :is(#home-search-results,#tool-picker-results,#header-search-results) strong{font-size:var(--ui-control);line-height:1.5}
body[data-reference-ui] :is(#home-search-results,#header-search-results) .reference-result-description{font-size:var(--ui-body);line-height:1.6}
body[data-reference-ui] :is(#home-search-results,#tool-picker-results,#header-search-results) .reference-language{font-size:var(--ui-support);line-height:1.5}
body[data-reference-ui] :is(#header-search-hint,#header-search-status,.reference-picker-status,.reference-assistant-band small){font-size:var(--ui-support);line-height:1.6}
body[data-reference-ui] .reference-footer-links a{font-size:var(--ui-control);line-height:1.5}
body[data-reference-ui] .reference-footer-settings #google-preferences button{font-size:var(--ui-control);font-weight:650;line-height:1.5}
@media(max-width:700px){body[data-reference-ui]{--ui-title:1.875rem;--ui-section:1.375rem}body[data-reference-ui=tool] #result{font-size:2rem}}

/* The selected native language is visible beside a neutral globe. */
.reference-tool-navigation{position:sticky;top:24px;align-self:start;min-width:0;max-height:calc(100dvh - 160px);display:flex;flex-direction:column}
.reference-tool-navigation>.tool-sidebar{position:static;flex:1 1 auto;min-height:0;max-height:none;overflow:auto}
.reference-tool-navigation>.reference-assistance{flex:0 0 auto;text-align:start;margin-top:14px;padding-inline-end:12px}
.reference-tool-navigation>.reference-assistance>a{display:flex;max-width:100%;min-height:44px}
.reference-assistance-label{min-width:0;word-break:normal;overflow-wrap:normal}
.reference-tool-navigation>.reference-assistance small{display:block;margin-top:4px}
@media(max-width:980px){.reference-tool-navigation{position:static;display:block;max-height:none;margin-bottom:20px}.reference-tool-navigation>.tool-sidebar{overflow:visible;margin-bottom:0}.reference-tool-navigation>.reference-assistance{margin:8px 0 0;padding-inline:4px}}
body[data-reference-ui] .reference-header-actions .language-picker{width:auto;min-width:104px;flex:0 0 auto}
body[data-reference-ui] .reference-header-actions .language-controls{width:auto;max-width:none;min-width:104px;height:auto;min-height:44px;flex-basis:auto}
body[data-reference-ui] .reference-language-trigger{display:grid;grid-template-columns:20px minmax(0,1fr) 12px;gap:7px;width:auto;min-width:104px;height:auto;min-height:44px;padding:7px;font-size:1rem;line-height:1.3}
.reference-language-name{min-width:0;max-width:10rem;white-space:normal;word-break:normal;overflow-wrap:normal;text-align:start;line-height:1.3}
.reference-brand-name{min-width:0;white-space:normal;word-break:normal;overflow-wrap:normal}
body[data-reference-ui] .reference-header-actions .language-code{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr) 12px;gap:7px;width:auto;min-height:44px;padding:7px;font-size:1rem;line-height:1.3}
.language-code>svg{width:20px;height:20px}.language-code>svg:last-child{width:12px;height:12px}
@media(min-width:701px) and (max-width:980px){body[data-reference-ui] .reference-header{grid-template-columns:minmax(0,1fr) auto}.reference-header .reference-main-nav{grid-column:1;grid-row:2}.reference-header .tool-page-picker,.reference-header .reference-tool-picker{grid-column:2;grid-row:2}.reference-header .reference-header-actions{grid-column:2;grid-row:1}}
@media(max-width:700px){
 body[data-reference-ui] .reference-header{grid-template-columns:minmax(0,1fr) auto;gap:10px}
 body[data-reference-ui] .reference-header .brand{white-space:normal;font-size:14px;line-height:1.2}
 body[data-reference-ui] .reference-header .reference-header-actions{display:contents}
 body[data-reference-ui] .reference-header .reference-header-actions .language-picker{grid-column:2;grid-row:1;width:max-content!important;max-width:140px!important;min-width:104px!important;flex-basis:auto!important}
 body[data-reference-ui] .reference-header .reference-header-actions .language-controls{width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:44px!important}
 body[data-reference-ui] .reference-header .reference-header-actions .language-controls select{width:100%!important;max-width:none!important;min-width:0!important;height:100%!important}
 body[data-reference-ui] .reference-header .reference-language-trigger{width:100%;max-width:140px;min-width:104px;height:auto;min-height:44px}
 body[data-reference-ui] .reference-header .reference-language-name{max-width:76px}
 body[data-reference-ui] .reference-header :is(.reference-tool-picker,.tool-page-picker){grid-column:1/-1;grid-row:2;width:100%;max-width:none;padding-inline-end:54px}
 body[data-reference-ui] .reference-header .header-search-open{grid-column:2;grid-row:2;justify-self:end;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
}

/* A compact assistance link keeps details available through a native disclosure. */
.reference-tool-navigation>.reference-assistance{position:relative;padding-inline-end:0}
.reference-tool-navigation>.reference-assistance>a{width:calc(100% - 52px);gap:8px;align-items:center;font-size:16px;min-height:44px}
.reference-tool-navigation>.reference-assistance>a>.reference-icon{width:24px;height:24px;flex:0 0 24px;background:transparent;border-radius:0}
.reference-assistance-info{margin:0;padding:0}
.reference-assistance-info>summary{position:absolute;inset-block-start:0;inset-inline-end:0;display:grid;place-items:center;min-width:44px;width:44px;min-height:44px;height:44px;padding:8px;border:1px solid #dce1eb;border-radius:8px;background:#fff;color:#53627a;cursor:pointer;list-style:none}
.reference-assistance-info>summary::-webkit-details-marker{display:none}
.reference-assistance-info>summary:focus-visible{outline:3px solid #3157ce;outline-offset:3px}
.reference-assistance-information{margin-top:8px;padding:12px;border:1px solid #dce1eb;border-radius:8px;background:#f7f8fc;max-height:min(240px,max(84px,calc(100dvh - 330px)));overflow:auto;overscroll-behavior:contain;text-align:start}
body[data-reference-ui] .reference-assistance-information p,body[data-reference-ui] .reference-assistance-information small{max-width:none;font-size:14px;line-height:1.6;color:#53627a;margin:0;overflow-wrap:break-word}
body[data-reference-ui] .reference-assistance-information small{display:block;margin-top:8px}
.reference-assistance-information:focus-visible{outline:3px solid #3157ce;outline-offset:3px}

/* Confirmed workspace UI correction: descriptive prose, not control labels. */
body[data-reference-ui] main :is(p,dd,blockquote):not(.eyebrow,.reference-eyebrow,.status,.error,.formula):not([role=status],[role=alert]):not(#count,#extra-count):not(nav *){text-align:justify;text-align-last:start;word-spacing:normal;hyphens:none;overflow-wrap:break-word}
body[data-reference-ui] main :is(article,aside.panel,section.panel) li:not(nav *){text-align:justify;text-align-last:start;word-spacing:normal;hyphens:none;overflow-wrap:break-word}
body[data-reference-ui] .reference-hero .intro{ text-align:justify;text-align-last:start }
body[data-reference-ui] main>p,body[data-reference-ui] main>section>p{max-width:none}
body[data-reference-ui] .reference-footer-information p:not([role=status],[role=alert]){text-align:justify;text-align-last:start;word-spacing:normal;hyphens:none;overflow-wrap:break-word}
body[data-reference-ui] [data-sensitive-tools]>p{margin-block:8px 12px}
body[data-reference-ui] select[data-fixed-unit="true"]:disabled{appearance:none;-webkit-appearance:none;background-image:none;cursor:default}

/* Keep long literal URL tokens breakable without changing prose hyphenation. */
.prose-url-token{word-break:break-all;overflow-wrap:anywhere}
.prose-long-token{word-break:break-all;overflow-wrap:anywhere}
