:root{--navy:#0b2545;--green:#007a4d;--gold:#ffc107;--coral:#f36b5c;--canvas:#f5f7fa;--ink:#334155;--muted:#64748b;--line:#e0e6ef;--soft-green:#eaf4ee;--white:#fff;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary{ -webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #63b397;outline-offset:1px}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--navy)}[hidden]{display:none!important}.site-header{max-width:1280px;margin:auto;min-height:99px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px;padding:8px 40px}.brand{display:block;line-height:0}.brand img{width:250px;height:66px}.site-header nav{display:flex;align-items:center;gap:35px}.site-header nav a{font-size:14px;font-weight:600;text-decoration:none;position:relative;padding:26px 0}.site-header nav a.active{color:var(--green)}.site-header nav a.active:after{content:"";height:3px;background:var(--green);position:absolute;bottom:14px;left:0;right:0;border-radius:3px}.nav-count{font-size:11px;background:#eef1ee;border-radius:20px;padding:3px 6px;margin-left:3px}.local-badge{font-size:11px;letter-spacing:1.2px;text-transform:uppercase;display:flex;gap:8px;align-items:center;color:#53655c;font-weight:600}.local-badge>span{width:6px;height:6px;border-radius:100%;background:var(--green)}main{max-width:1280px;padding:0 32px;margin:auto;min-height:75vh}.hero{display:flex;justify-content:space-between;align-items:center;padding:51px 0 43px;gap:40px}.eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;font-weight:750;color:var(--green);margin-bottom:13px}h1{font-size:clamp(32px,3.6vw,49px);letter-spacing:-2px;line-height:1.12;font-weight:780}.hero h1 span{position:relative;white-space:nowrap}.hero h1 span:after{content:"";position:absolute;bottom:-6px;left:0;width:100%;height:5px;background:var(--gold);border-radius:50%;transform:rotate(-1deg)}.hero-copy{font-size:15px;line-height:1.8;color:var(--muted);margin-top:22px}.hero-note{display:flex;align-items:center;gap:20px;padding:18px 23px;border-left:1px solid var(--line);min-width:257px}.spark-mark{color:var(--gold);font-size:68px;line-height:1}.hero-note p{font-size:13px;line-height:1.8;color:var(--muted)}.hero-note strong{font-weight:600;color:var(--navy)}
/* Naming brief and result cards follow the supplied brand style guide. */
.workbench{display:grid;grid-template-columns:minmax(0,430px) minmax(0,1fr);gap:24px;align-items:start}
/* Before the first batch there are no results to show, so the form stands alone, centred. */
.workbench.is-empty{grid-template-columns:minmax(0,520px);justify-content:center}
/* On desktop the form stays in view while the names scroll past it. If it is taller
   than the window it scrolls inside its own panel, so Generate is always reachable. */
@media(min-width:961px){
  .workbench:not(.is-empty) .brief-panel{position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
}
.brief-panel,.results-panel{min-width:0;background:var(--white);border:1px solid var(--line);border-radius:20px;box-shadow:0 4px 18px #0b254507}
.brief-panel{padding:28px}
.panel-heading{margin-bottom:25px}
.panel-heading .eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:12px}
h2{font-size:22px;letter-spacing:-.6px}
.panel-heading h2{font-size:25px;line-height:1.2;letter-spacing:-.9px}
.panel-heading>p:last-child{font-size:13px;line-height:1.6;color:var(--muted);margin-top:10px}
label,legend{display:block;font-size:13px;font-weight:650;color:var(--navy);margin:21px 0 9px}
#brief-form>label:first-child{margin-top:0}
.optional{font-size:11px;color:var(--muted);font-weight:400;margin-left:4px}
.brief-interpretation{margin:0 0 18px;padding:11px 14px;border-left:3px solid var(--green);background:var(--soft-green);border-radius:0 8px 8px 0;font-size:12px;line-height:1.6}
.brief-interpretation>span{display:block;color:var(--muted);font-size:10px}.brief-interpretation strong{display:block;font-weight:600}.brief-interpretation small{display:block;color:var(--muted);font-size:11px}
.language-picker{position:relative;margin-top:18px;font-size:12px}
.language-picker>summary{display:flex;align-items:center;gap:10px;min-height:42px;padding:10px 12px;border:1px solid #cdd7e4;border-radius:8px;list-style:none;cursor:pointer;color:var(--navy);font-weight:600}
.language-picker>summary::-webkit-details-marker{display:none}
.language-picker>summary>svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0;transition:transform .15s}
.language-picker[open]>summary>svg{transform:rotate(180deg)}
.language-selection{margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;color:var(--green)}
.language-picker[open]>summary{border-color:#85bfa9;background:#f7fbf8}
.language-panel{position:absolute;z-index:4;left:0;right:0;top:calc(100% + 6px);max-height:var(--language-max-height,430px);overflow-y:auto;padding:14px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px #0b25451c}
.language-picker[data-open-above] .language-panel{top:auto;bottom:calc(100% + 6px)}
.language-panel>p{font-size:11px;color:var(--muted);line-height:1.5}
.language-panel fieldset{border:0;padding:0;margin:10px 0}
.language-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 6px}
.language-choice{display:flex;align-items:center;gap:8px;min-height:38px;padding:7px 8px;margin:0;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:500;cursor:pointer}
.language-choice:hover{background:#f6f8f7}
.language-choice:has(input:checked){background:var(--soft-green);border-color:#b9dbcb;color:var(--green)}
.language-choice input{margin:0;width:16px;height:16px;accent-color:var(--green);flex-shrink:0}
.language-panel .language-note{font-size:10px;margin-bottom:12px}
.language-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid var(--line)}
.language-actions button{border:0;border-radius:6px;min-height:34px;padding:7px 10px;font-size:11px;font-weight:600;background:#f1f5f3;color:var(--green)}
.language-actions #all-languages[aria-pressed=true]{background:var(--soft-green)}
.language-actions #all-languages[aria-pressed=false]>span{visibility:hidden}
.language-actions #done-languages{background:var(--green);color:white;min-width:58px}
@media(max-width:600px){.language-panel{position:static;max-height:none;margin-top:6px;box-shadow:none}.language-choice{min-height:42px}}
input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{width:100%;border:1px solid #cdd7e4;border-radius:8px;background:white;padding:11px 12px;color:var(--ink);font-size:13px;min-height:44px;box-shadow:0 1px 2px #0b254503}
select{padding-right:28px}
input::placeholder,textarea::placeholder{color:#718096}
.style-tile svg,.name-card svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.industry-fieldset{border:0;padding:0;margin:0;min-width:0}
.style-fieldset{border:0;padding:0;margin:22px 0 0;min-width:0}
.industry-fieldset legend,.style-fieldset legend{margin:0 0 10px;padding:0}
.industry-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.industry-options .style-tile{min-height:101px;padding:17px 5px 10px}
.style-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.style-option{position:relative;margin:0;cursor:pointer;min-width:0}
.style-tile{position:relative;min-height:91px;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:1px solid #dce3ed;border-radius:10px;box-shadow:0 2px 4px #0b254505;padding:13px 7px 10px;text-align:center;font-size:11px;font-weight:550;line-height:1.35;background:#fff;transition:background .15s,border-color .15s,box-shadow .15s}
.style-tile>svg{width:23px;height:23px;flex-shrink:0}
.style-check{display:none;position:absolute;right:6px;top:5px;align-items:center;justify-content:center;width:17px;height:17px;background:var(--green);border-radius:50%;font-size:10px;color:white}
.style-option:hover .style-tile{border-color:#8fbaa6;background:#f8fcfa}
.style-option input:checked+.style-tile{border-color:var(--green);background:#eef9f1;box-shadow:0 0 0 1px var(--green)}
.style-option input:checked+.style-tile .style-check{display:flex}
.style-option input:focus-visible+.style-tile{outline:3px solid var(--gold);outline-offset:3px}
.field-help{font-size:11px;line-height:1.6;color:var(--muted);margin-top:7px}
.more-options{border-top:1px solid var(--line);margin-top:21px;padding-top:17px}
.more-options summary{font-size:12px;font-weight:600;color:var(--muted);cursor:pointer;min-height:24px}
.more-options output{float:right;font-variant-numeric:tabular-nums}
.more-options input[type=range]{width:100%;accent-color:var(--green)}
.checkbox-label{display:flex;align-items:center;gap:8px;font-weight:500;font-size:11px;line-height:1.5}
input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex-shrink:0}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:9px;min-height:42px;padding:10px 16px;font-size:12px;font-weight:650;text-decoration:none;transition:background .15s,transform .15s}
.button:active{transform:translateY(1px)}
.primary{background:var(--green);color:white;box-shadow:0 2px 3px #007a4d14}
.primary:hover{background:#00663f}
.secondary{background:white;border-color:var(--line);color:var(--navy)}
.secondary:hover{background:#f2f7f4}
.generate-button{width:100%;margin-top:18px;justify-content:center;font-size:14px;min-height:48px;gap:20px}
.generate-button span{font-size:21px;font-weight:400}
.dictionary-teaser{border-top:1px solid var(--line);margin-top:23px;padding-top:18px;display:flex;align-items:center;gap:11px;text-decoration:none}
.book-icon{background:#f5f1e5;color:#867331;padding:9px 7px;border-radius:7px;font-size:18px;font-weight:700}
.dictionary-teaser strong{display:block;font-size:11px}
.dictionary-teaser small{display:block;font-size:10px;color:var(--muted);margin-top:5px}
.dictionary-teaser>span:last-child{margin-left:auto}
.results-panel{padding:28px}
.results-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px}
.results-heading .eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:12px}
.results-heading h2{font-size:25px;letter-spacing:-.8px;line-height:1.25;scroll-margin-top:20px}
.results-heading .button{font-size:11px;white-space:nowrap;padding:8px 11px;min-height:36px}
.results-spark{color:var(--gold);font-size:27px;margin-right:4px}
.results-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:12px 0 22px;font-size:12px;line-height:1.6;color:var(--muted)}
.summary-chip{background:#edf6ef;color:#35614b;border-radius:5px;font-size:10px;padding:3px 7px}
.name-grid{display:grid;grid-template-columns:1fr;gap:13px}
.name-card{display:grid;grid-template-columns:76px minmax(0,1fr) 32px;align-items:start;gap:15px;padding:17px;background:white;border:1px solid #e5eaf2;border-radius:13px;box-shadow:0 2px 7px #0b254508;transition:border-color .15s,box-shadow .15s}
.name-card:hover{border-color:#b5d4c3;box-shadow:0 4px 12px #0b25450b}
.name-illustration{display:flex;align-items:center;justify-content:center;width:76px;height:80px;border-radius:12px;background:#f8ecdd;color:#694c32}
.name-illustration svg{width:40px;height:40px;stroke-width:1.3}
.name-illustration[data-industry=technology]{background:#e8f0fb;color:#385e88}
.name-illustration[data-industry=building]{background:#f3eae2;color:#78604e}
.name-illustration[data-industry=wellness]{background:#f6eaf0;color:#96627d}
.name-illustration[data-industry=garden]{background:#edf3e4;color:#5a7844}
.name-illustration[data-industry=retail]{background:#fff0df;color:#8b612e}
.name-illustration[data-industry=creative]{background:#eee9fa;color:#69518c}
.name-illustration[data-industry=any]{background:#f5eedc;color:#837036}
.name-content{min-width:0;padding-top:1px}
.name-card h3{font-size:22px;letter-spacing:-.65px;margin:0 0 6px;overflow-wrap:anywhere;line-height:1.2}
.name-card p{font-size:12px;color:var(--ink);line-height:1.6;margin:0 0 10px;overflow-wrap:anywhere}
.name-tags{display:flex;flex-wrap:wrap;gap:5px}
.type-tag,.concept-tag,.language-tag{font-size:10px;line-height:1.4;font-weight:550;border-radius:5px;padding:4px 7px;overflow-wrap:anywhere}
.type-tag{background:#d8f4e2;color:#145d35}
.concept-tag{background:#dfeeff;color:#204e86;text-transform:capitalize}
.language-tag{background:#ece4ff;color:#574185}
.name-card[data-method=blend] .type-tag{background:#fff1ce;color:#755715}
.name-card[data-method=invented] .type-tag{background:#ece4ff;color:#574185}
.card-actions{display:flex;flex-direction:column;align-items:center;gap:12px}
.save-name,.copy-name{border:0;background:transparent;color:var(--navy);padding:6px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:7px}
.save-name:hover,.copy-name:hover{background:#eff7f1;color:var(--green)}
.save-name svg{width:20px;height:20px}
.save-name[aria-pressed=true]{color:var(--green)}
.save-name[aria-pressed=true] svg{fill:currentColor}
.copy-name{color:var(--muted)}
.copy-name svg{width:16px;height:16px}
.icon-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 16px;font-size:11px;color:var(--muted)}
.icon-options label{margin:0;font-size:11px;font-weight:600}
.icon-options select{width:auto;min-height:34px;padding:6px 28px 6px 9px;font-size:11px}
.icon-options>span{flex-basis:100%;font-size:10px}
.name-mark{min-width:0}
.name-card .name-illustration{height:auto;aspect-ratio:1;background:transparent;border-radius:0}
.name-card .name-illustration .generated-mark{width:100%;height:100%;fill:none;stroke:none}
/* Up to four logo choices under the main mark: the first logo and three alternatives. */
.logo-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:6px}
.logo-options button{display:grid;place-items:center;aspect-ratio:1;padding:3px;background:white;border:1px solid var(--line);border-radius:8px}
.logo-options button:hover{background:var(--soft-green);border-color:#b5d4c3}
.logo-options button[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}
.name-card .logo-options .generated-mark{width:100%;height:100%;fill:none;stroke:none}
.mark-actions{display:flex;justify-content:center;gap:4px;margin-top:3px}
.mark-actions button{border:0;background:transparent;color:var(--green);border-radius:6px;display:grid;place-items:center;width:100%;min-height:28px;padding:5px 0;font-size:10px;font-weight:500;text-decoration:underline;text-underline-offset:3px}
.mark-actions button:hover{color:var(--green);background:var(--soft-green)}
.result-footer{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:10px;line-height:1.7;margin-top:23px}
.tiny-dot{width:5px;height:5px;background:var(--gold);border-radius:50%;margin-top:5px;flex-shrink:0}
.engine-details{margin-top:18px;font-size:10px;color:var(--muted)}
.engine-details summary{cursor:pointer}
.engine-details>div{padding:12px 0;line-height:1.8}
.engine-details code{font-size:10px;overflow-wrap:anywhere}
.site-footer{max-width:1316px;margin:55px auto 0;padding:25px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted)}.footer-divider{color:#b5bdbb;padding:0 8px}.page-heading{padding:48px 0 30px;display:flex;align-items:center;justify-content:space-between;gap:24px}.page-heading h1{font-size:43px}.page-heading p:not(.eyebrow){font-size:13px;color:var(--muted);margin-top:16px;line-height:1.7}.gold-dot{color:var(--gold)}.dictionary-stats{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid var(--line);border-radius:11px;padding:22px 0;margin-bottom:28px}.dictionary-stat{padding:0 25px;border-right:1px solid var(--line)}.dictionary-stat:last-child{border:0}.dictionary-stat strong{font-size:27px;letter-spacing:-1px;display:block;color:var(--navy)}.dictionary-stat span{font-size:11px;color:var(--muted);display:block;margin-top:6px}.dictionary-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.search-label{flex:1;min-width:220px;margin:0}.dictionary-toolbar>select{width:auto;max-width:210px}.dictionary-toolbar .button{min-height:42px;white-space:nowrap}.dictionary-guidance{font-size:11px;color:var(--muted);line-height:1.7;margin:17px 0}.text-button{font-size:11px;font-weight:600;border:0;background:none;padding:0;color:var(--green);text-decoration:underline;text-underline-offset:3px}.table-wrap{border:1px solid var(--line);border-radius:11px;overflow-x:auto;background:white}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;min-width:850px}th{font-size:10px;font-weight:650;color:var(--muted);padding:14px 18px;background:#f2f5f1;border-bottom:1px solid var(--line)}td{padding:14px 18px;vertical-align:middle;border-bottom:1px solid #edf1ed}tr:last-child td{border-bottom:0}td:first-child{width:30%}td strong{font-size:14px;color:var(--navy);display:block;margin-bottom:5px}td small{font-size:10px;color:var(--muted);line-height:1.5;display:block}.table-tag{background:#f2f4f3;padding:4px 6px;font-size:9px;border-radius:4px;display:inline-block;margin:2px 3px 2px 0;white-space:nowrap}.status{font-size:9px;border-radius:30px;padding:5px 8px;white-space:nowrap;background:#eef3ef;color:#32664e}.status.review{background:#fff1ce;color:#8e6415}.status.disabled{background:#f1eeee;color:#7f7272}.table-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:20px;font-size:11px;color:var(--muted)}.table-footer>div{display:flex;gap:8px}.saved-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.empty-state{grid-column:1/-1;text-align:center;border:1px dashed #cbd9d2;border-radius:12px;padding:55px 25px;background:#f3f7f2}.empty-state .empty-mark{font-size:36px;color:var(--green);margin-bottom:15px}.empty-state h3{font-size:22px;margin-bottom:12px}.empty-state p{color:var(--muted);font-size:13px;line-height:1.7;max-width:420px;margin:0 auto 20px}.notice{font-size:12px;line-height:1.7;padding:12px 15px;border-radius:8px;background:#fff6df;color:#70581d;margin:12px 0;border:1px solid #f1dfac}.notice.error{background:#fff0ec;color:#963f30;border-color:#f2c4b9}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;font-size:12px;border-radius:9px;box-shadow:0 5px 25px #0b254530;padding:14px 22px;max-width:90vw;z-index:10}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;max-width:660px;width:calc(100% - 32px);max-height:90vh;color:var(--ink);box-shadow:0 20px 80px #0b254530}dialog::backdrop{background:#0b254560;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.dialog-heading .eyebrow{font-size:9px;margin-bottom:8px}.dialog-heading h2{font-size:25px}.icon-button{background:var(--canvas);border:0;border-radius:50%;width:34px;height:34px;font-size:15px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.full-width{grid-column:1/-1}.form-grid label,.form-grid legend{font-size:11px}.form-grid input,.form-grid select,.form-grid textarea{font-size:12px}.form-grid fieldset{border:0;margin:0;padding:0}.checkbox-grid{display:flex;flex-wrap:wrap;gap:8px 15px}.checkbox-grid label{margin:0;display:flex;align-items:center;gap:5px;font-weight:400;font-size:10px}.fragment-help{margin-top:8px}.dialog-footer{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;display:flex;justify-content:flex-end;align-items:center;gap:10px}.dialog-footer>span{margin-right:auto;font-size:10px;color:var(--muted)}#import-dialog>p{font-size:13px;line-height:1.7;margin-top:17px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){
  .site-header{padding:8px 25px}.local-badge,.hero-note{display:none}
  .workbench{grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:20px}
  .brief-panel,.results-panel{padding:22px}
  .results-heading h2{font-size:23px}
  .name-card{grid-template-columns:60px minmax(0,1fr) 32px;padding:14px;gap:12px}
  .name-illustration{width:60px;height:68px}.name-illustration svg{width:34px;height:34px}
  .name-card h3{font-size:20px}
  .site-footer{margin-left:32px;margin-right:32px}
  .dictionary-toolbar>select{max-width:180px}
}
@media(max-width:960px){
  .workbench{grid-template-columns:1fr;gap:24px}
  .brief-panel{padding:28px}.style-options{grid-template-columns:repeat(6,minmax(0,1fr))}
  .style-tile{min-height:96px}.saved-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  main{padding:0 20px}.site-header{padding:10px 20px;flex-wrap:wrap;gap:0;min-height:auto}
  .brand img{width:208px;height:55px}.site-header nav{width:100%;gap:30px;justify-content:flex-start}
  .site-header nav a{padding:15px 0 18px;font-size:12px}.site-header nav a.active:after{bottom:5px}
  .hero{padding:30px 0}.hero h1{font-size:34px;letter-spacing:-1.3px;line-height:1.3}
  .hero h1 span{display:inline-block}.hero-copy{font-size:13px;margin-top:15px}
  .eyebrow{font-size:9px;letter-spacing:1.5px}.desktop-break{display:none}
  .brief-panel,.results-panel{padding:22px}.style-options{grid-template-columns:repeat(3,minmax(0,1fr))}
  .style-tile{min-height:91px}.panel-heading h2,.results-heading h2{font-size:23px}
  .dictionary-teaser{margin-top:18px;padding-top:16px}.name-grid{gap:12px}
  .site-footer{margin:35px 20px 0;flex-direction:column;gap:10px}
  .page-heading{padding:30px 0;align-items:flex-start;flex-wrap:wrap}.page-heading h1{font-size:35px}
  .page-heading p:not(.eyebrow){font-size:12px}.dictionary-stat{padding:0 14px}
  .dictionary-stat strong{font-size:23px}.dictionary-stat span{font-size:9px}
  .dictionary-toolbar{gap:8px}.search-label{flex-basis:100%}
  .dictionary-toolbar>select{flex:1;max-width:100%;font-size:11px}.dictionary-toolbar .button{font-size:11px}
  .table-footer{align-items:flex-start;font-size:10px;flex-direction:column}.dialog-footer>span{display:none}
}
@media(max-width:480px){
  main{padding:0 14px}.brief-panel,.results-panel{padding:20px 16px;border-radius:16px}
  .industry-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .industry-options .style-tile{min-height:88px}
  .name-card{grid-template-columns:48px minmax(0,1fr) 30px;padding:12px 10px;gap:10px}
  .name-illustration{width:48px;height:56px;border-radius:9px}.name-illustration svg{width:29px;height:29px}
  .name-card h3{font-size:19px}.name-card p{font-size:11.5px}.save-name,.copy-name{width:30px;height:34px;padding:5px}
  .type-tag,.concept-tag,.language-tag{font-size:9px;padding:3px 6px}.results-heading h2{font-size:22px}
  .results-spark{font-size:23px}.results-heading .button{font-size:11px}
  .dictionary-stats{grid-template-columns:repeat(2,1fr);row-gap:20px}.dictionary-stat:nth-child(2){border:0}
  .form-grid{grid-template-columns:1fr}.full-width{grid-column:auto}dialog{padding:22px}
  .hero h1{font-size:33px}.table-footer .button{font-size:11px}
}
.table-wrap{position:relative}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.review-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:18px 0}.review-actions .field-help{margin:0}#activate-review-dialog>.field-help{margin-top:16px;font-size:13px;line-height:1.7}

/* Keep the original form and name-card design; remove surrounding clutter. */
/* A compact identity line keeps the options close to the top on phones. */
.brand-header{max-width:1280px;margin:auto;padding:12px 32px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}
.site-logo{display:block;line-height:0;flex-shrink:0}
.site-logo img{display:block;width:190px;height:auto}
.brand-tagline{font-size:12px;color:var(--muted);line-height:1.5}
.brief-legal{font-size:10px;color:var(--muted);line-height:1.6;margin-top:10px}
.brief-legal a{color:inherit;text-underline-offset:3px}
.legal-footer{max-width:1216px;align-items:center;margin-left:auto;margin-right:auto}
.footer-identity{display:flex;flex-direction:column;gap:6px;flex-shrink:0}
.footer-identity>a{font-weight:650;text-decoration:none;color:var(--navy)}
.footer-identity>span{font-size:10px}
.footer-identity>span a{text-underline-offset:3px}
.legal-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:0 20px;justify-content:flex-end}
.legal-footer nav a{display:inline-flex;align-items:center;min-height:40px;text-underline-offset:3px}
.legal-main{max-width:840px;padding-bottom:12px}
.legal-content{background:white;border:1px solid var(--line);border-radius:16px;margin-top:16px;padding:32px;line-height:1.8;font-size:15px;overflow-wrap:anywhere}
.legal-content h1{font-size:36px;letter-spacing:-1px}
.legal-content h2{font-size:20px;margin:30px 0 10px;letter-spacing:-.3px;line-height:1.4}
.legal-content p{margin:12px 0}
.legal-content a{color:var(--green);text-underline-offset:3px}
.legal-content ul,.legal-content ol{padding-left:23px;margin:12px 0}
.legal-content li{margin:8px 0}
.legal-content .legal-date{font-size:12px;color:var(--muted);margin:12px 0 24px}
.legal-callout{padding:18px 20px;background:#fff8e4;border-left:3px solid var(--gold);border-radius:8px;margin:22px 0;color:var(--navy)}
.legal-callout p:last-child{margin-bottom:0}
@media(max-width:1280px){.legal-footer{margin-left:32px;margin-right:32px}}
@media(max-width:760px){
  .brand-header{padding:10px 14px;gap:12px}
  .site-logo img{width:clamp(140px,44vw,175px)}
  .brand-tagline{font-size:11px;line-height:1.45}
  .legal-footer{align-items:flex-start}
  .legal-footer nav{justify-content:flex-start;gap:0 16px}
  .legal-content{padding:22px 18px;font-size:14px;border-radius:12px}
  .legal-content h1{font-size:30px}
  .legal-content h2{font-size:19px;margin-top:26px}
  .legal-callout{padding:14px}
}
main{padding-top:24px;min-height:0}
.local-header{min-height:48px;padding:0 32px;gap:16px}
.local-header nav{width:auto;gap:24px}
.local-header nav a{padding:16px 0;font-size:12px}
.local-header nav a.active:after{bottom:0}
.brief-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:13px;font-weight:650;color:var(--navy)}
.shortlist-link{font-size:12px;font-weight:500;color:var(--green);text-decoration:none;padding:6px 0;border:0;background:none}
.shortlist-link span{font-variant-numeric:tabular-nums}
.result-controls{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
#edit-options{display:none;min-height:36px}
.start-hint{font-size:14px;color:var(--muted);padding:30px 0}
.source-details{margin-top:8px}
.source-details summary{cursor:pointer;font-size:10px;color:var(--muted);padding:4px 0}
.source-details .source-note{font-size:10px;color:var(--muted);overflow-wrap:anywhere;margin-top:8px}
.site-footer{margin-top:28px;font-size:11px;flex-direction:row}
.back-link{display:inline-block;padding:6px 0;font-size:13px;color:var(--green);text-decoration:none}
@media(max-width:960px){
  #edit-options{display:inline-flex;align-items:center}
}
@media(max-width:760px){
  main{padding:12px 12px 0}
  .local-header{padding:0 16px;flex-wrap:nowrap;min-height:44px}
  .local-header nav{width:auto;gap:22px}
  .local-header nav a{padding:14px 0}
  .brief-panel,.results-panel{padding:16px 14px}
  .workbench{gap:16px}
  .brief-topline{margin-bottom:8px}
  .industry-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
  .industry-options .style-tile{min-height:76px;padding:9px 3px;gap:5px;font-size:10px}
  .style-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .style-tile{min-height:68px;padding:9px 5px;gap:5px}
  .style-tile>svg{width:22px;height:22px}
  .style-fieldset{margin-top:16px}
  #brief-form>label{margin-top:16px;margin-bottom:8px}
  #brief-form input:not([type=radio]):not([type=range]),#brief-form select{font-size:16px}
  .more-options{margin-top:14px;padding-top:12px}
  .generate-button{margin-top:12px}
  .site-footer{margin:24px 14px 0;gap:10px;flex-wrap:wrap;padding:16px 0}
}

/* Keep sharing within reach, with room to scroll footer links clear of the button. */
.legal-footer{padding-bottom:90px}
.page-share{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));z-index:20}
.share-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 17px;background:var(--green);color:white;border:1px solid #ffffff55;border-radius:28px;box-shadow:0 4px 18px #0b25452b;font-size:13px;font-weight:650}
.share-toggle:hover{background:#00643f}
.share-toggle svg,.share-options svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.share-panel{position:absolute;right:0;bottom:60px;width:min(304px,calc(100vw - 36px));max-height:calc(100dvh - 104px - env(safe-area-inset-bottom));overflow-y:auto;background:white;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 12px 45px #0b254526}
.share-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.share-heading h2{font-size:17px;letter-spacing:-.3px}
.share-close{width:36px;height:36px;border:0;background:var(--canvas);border-radius:50%;font-size:24px;line-height:1;color:var(--muted)}
.share-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.share-options a{display:flex;align-items:center;gap:9px;min-height:46px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;font-size:12px;font-weight:600;color:var(--navy);text-decoration:none}
.share-options a:hover{background:var(--soft-green);border-color:var(--green)}
.share-letter{display:inline-flex;align-items:center;justify-content:center;min-width:20px;font:700 23px Arial,sans-serif}
.share-linkedin{font-size:17px;letter-spacing:-1px}
.share-device{width:100%;margin-top:10px;min-height:44px;padding:9px;border:0;border-radius:9px;background:var(--soft-green);color:var(--green);font-size:12px;font-weight:600}
.share-copy{display:flex;margin-top:12px;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.share-copy input{width:100%;min-width:0;min-height:44px;margin:0;border:0;border-radius:0;padding:8px;color:var(--muted);font-size:16px;background:var(--canvas)}
.share-copy button{flex-shrink:0;border:0;border-left:1px solid var(--line);background:white;color:var(--green);padding:0 10px;font-size:12px;font-weight:650}
.share-status{font-size:12px;line-height:1.5;color:var(--green)}
.share-status:not(:empty){margin-top:10px}
@media(max-width:760px){
  .share-toggle{width:48px;padding:0}
  .share-toggle>span{display:none}
  body:has(input:focus,textarea:focus,select:focus) .page-share:not(:focus-within){visibility:hidden}
}

/* Favourites sit to the left of Share as a round heart button and open without leaving the current results.
   Share has a fixed width so the heart can be placed beside it. */
body.favourites-open{overflow:hidden}
body{--share-width:104px}
.share-toggle{width:var(--share-width)}
.favourites-toggle{position:fixed;right:calc(max(18px,env(safe-area-inset-right)) + var(--share-width) + 10px);bottom:calc(18px + env(safe-area-inset-bottom));z-index:20;display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;background:white;color:var(--navy);border:1px solid var(--line);border-radius:50%;box-shadow:0 4px 18px #0b25452b}
.favourites-toggle:hover{background:var(--soft-green);border-color:#b5d4c3}
.favourites-toggle>svg{width:22px;height:22px;fill:none;stroke:var(--green);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.favourites-count{position:absolute;top:-6px;right:-6px;display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;border:2px solid white;border-radius:20px;background:var(--green);color:white;font-size:10px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums}
@media(max-width:760px){
  body{--share-width:48px}
  .toast{bottom:calc(78px + env(safe-area-inset-bottom))}
}
.favourites-dialog{max-width:760px;width:calc(100% - 32px);max-height:min(820px,calc(100dvh - 40px));padding:0;overflow:hidden;background:white}
.favourites-dialog[open]{display:flex;flex-direction:column}
.favourites-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:25px 26px 0;flex-shrink:0}
.favourites-heading .eyebrow{font-size:10px;margin-bottom:7px;letter-spacing:1.5px}
.favourites-heading h2{font-size:28px;letter-spacing:-.8px}
.favourites-heading .icon-button{width:44px;height:44px;flex-shrink:0;font-size:28px;line-height:1}
.favourites-description{padding:9px 26px 0;font-size:13px;color:var(--muted);line-height:1.6;flex-shrink:0}
.favourites-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:16px 26px;border-bottom:1px solid var(--line);flex-shrink:0}
.favourites-toolbar>p{flex:1;font-size:12px;color:var(--muted);line-height:1.5}
.favourites-toolbar .button{font-size:12px;min-height:40px;padding:8px 12px}
.favourites-feedback{flex-shrink:0;font-size:12px;line-height:1.5;color:var(--green);background:var(--soft-green)}
.favourites-feedback:not(:empty){padding:10px 26px}
.favourites-feedback.error{color:#963f30;background:#fff0ec}
.favourites-list{list-style:none;margin:0;padding:6px 26px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.favourite-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px 16px;padding:18px 0;border-bottom:1px solid var(--line)}
.favourite-item:last-child{border-bottom:0}
.favourite-item .name-illustration{width:76px;height:76px;background:transparent;border-radius:0}
.favourite-item .generated-mark{width:100%;height:100%;fill:none;stroke:none}
.favourite-copy{min-width:0}
.favourite-copy h3{font-size:21px;letter-spacing:-.5px;line-height:1.3;overflow-wrap:anywhere}
.favourite-copy>p{margin-top:5px;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.favourite-copy .name-tags{margin-top:8px}
.favourite-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;grid-column:2}
.favourite-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--navy);font-size:11px;font-weight:600}
.favourite-actions button:hover{background:var(--canvas)}
.favourite-actions [data-customise-logo]{border:0;background:transparent;color:var(--green);font-weight:500;text-decoration:underline;text-underline-offset:3px}
.favourite-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.favourite-actions .remove-favourite{margin-left:auto;color:#963f30;border-color:#eed9d3}
.favourite-actions .remove-favourite:hover{background:#fff0ec}
.favourites-empty{padding:16px 0}
.favourites-empty .empty-state{padding:34px 20px}
.favourites-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 26px;border-top:1px solid var(--line);background:var(--canvas);flex-shrink:0}
.favourites-footer>p{font-size:11px;color:var(--muted);line-height:1.5}
.favourites-footer .button{flex-shrink:0}
@media(max-width:760px){
  body:has(input:focus,textarea:focus,select:focus) .favourites-toggle:not(:focus-within){visibility:hidden}
  .favourites-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px)}
  .favourites-heading{padding:18px 16px 0}
  .favourites-heading h2{font-size:25px}
  .favourites-description{padding:8px 16px 0}
  .favourites-toolbar{padding:12px 16px}
  .favourites-feedback:not(:empty){padding:10px 16px}
  .favourites-list{padding:0 16px}
  .favourite-item{grid-template-columns:58px minmax(0,1fr);gap:10px 12px;padding:16px 0}
  .favourite-item .name-illustration{width:58px;height:58px}
  .favourite-copy h3{font-size:19px}
  .favourite-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-column:1/-1;gap:8px}
  .favourite-actions button{min-height:44px;padding:8px;font-size:11px}
  .favourite-actions .remove-favourite{margin-left:0}
  .favourites-footer{padding:12px 16px;gap:10px}
}
.name-content .name-rationale{font-size:12px;line-height:1.6;color:var(--green);margin-top:8px}
