:root{--bg:#f7f5f0;--surface:#fffdf8;--sidebar:#fff;--text:#1f211c;--muted:#6e7468;--green:#5f8561;--green-dark:#466f4b;--green-soft:#e6eee3;--border:#d9e4d6;--amber:#c97900;--amber-soft:#fff2dc;--red:#a83d3d;--red-soft:#f9e7e5;--grey-pill:#b6b8b4;--grey-soft:#f1f1ef;--success:#66d76f;--font-heading:"Montagu Slab", Georgia, serif;--font-body:"Montserrat", Inter, ui-sans-serif, system-ui, sans-serif}*{box-sizing:border-box}body{color:var(--text);background:var(--bg);font-family:var(--font-body);margin:0}h1{color:var(--text);font-family:var(--font-heading);letter-spacing:-.02em;margin:0 0 14px;font-size:clamp(2rem,3.2vw,2.8rem);font-weight:500;line-height:.98}h2{color:var(--text);font-family:var(--font-heading);letter-spacing:-.02em;margin:0 0 16px;font-size:1.65rem;font-weight:600;line-height:1.1}h3{color:var(--green-dark);font-family:var(--font-body);letter-spacing:.04em;text-transform:uppercase;margin:0 0 8px;font-size:.8rem;font-weight:700;line-height:1.2}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}p{color:var(--muted);margin:0;font-size:.875rem;line-height:1.5}button,textarea,input{font:inherit}button{cursor:pointer}.app-shell{background:var(--bg);grid-template-columns:340px minmax(0,1fr);min-height:100vh;display:grid}.app-main{width:100%;padding:48px 48px 40px}.mobile-brand{display:none}.sidebar{background:var(--sidebar);border-right:1px solid #5e8a6414;flex-direction:column;min-height:100vh;padding:75px 40px 28px;display:flex;position:sticky;top:0}.brand{color:var(--green-dark);align-items:center;gap:8px;margin-bottom:70px;font-size:.95rem;text-decoration:none;display:inline-flex}.brand-logo{width:192px;height:auto;display:block}.side-nav{gap:24px;display:grid}.nav-item{width:260px;min-height:60px;color:var(--green-dark);border:2px solid var(--green-soft);background:#fff;border-radius:10px;align-items:center;gap:16px;padding:0 24px;font-size:1.25rem;font-weight:600;text-decoration:none;transition:background-color .16s,border-color .16s,color .16s,transform .16s;display:flex}.nav-item.active{background:var(--green-soft);border-color:#0000}.nav-item:hover{color:var(--green-dark);border-color:var(--green);background:#f8fbf6;transform:translateY(-1px)}.nav-item.active:hover{background:var(--green-soft);border-color:#0000;transform:none}.nav-icon{object-fit:contain;text-align:center;width:28px;height:28px;font-size:1.08rem}.source-note{color:var(--muted);margin:auto 0 0;padding-left:24px;font-size:.74rem;line-height:1.35}.source-note span{color:var(--green-dark);margin-bottom:3px;font-weight:800;display:block}.home-page{width:min(100%,1040px)}.scan-page{width:min(100%,720px)}.scan-page>h1+p{margin-bottom:8px}.manual-page{width:min(100%,840px)}.manual-page-header{max-width:680px;margin-bottom:32px}.manual-form-card{background:var(--surface);border-radius:10px;width:min(100%,760px);padding:28px}.manual-review-warning{background:#fff7e8;border:1px solid #b67e3747;border-radius:10px;justify-content:space-between;align-items:center;gap:18px;width:min(100%,760px);margin-bottom:22px;padding:18px 20px;display:flex}.manual-review-warning p{color:var(--muted);margin:6px 0 0}.manual-review-warning .secondary-button{flex:none}.manual-input-label{display:block}.manual-textarea{width:100%;min-height:220px;color:var(--text);border:1.5px solid var(--border);resize:none;background:#fff;border-radius:10px;margin:0 0 18px;padding:18px 20px;line-height:1.6;transition:border-color .16s,box-shadow .16s;display:block;overflow-y:hidden}.manual-textarea::placeholder{color:#8a8f84}.manual-textarea:focus{border-color:var(--green);outline:none;box-shadow:0 0 0 3px #5e856129}.barcode-draft-review{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px;display:grid}.barcode-draft-column{border:1px solid var(--border);background:#fff;border-radius:10px;align-content:start;gap:10px;padding:16px;display:grid}.barcode-draft-column--warning{background:#fffaf1;border-color:#b67e374d}.barcode-draft-column h3{margin:0;font-size:.92rem}.barcode-draft-column p{color:var(--muted);margin:0;font-size:.9rem;line-height:1.45}.barcode-draft-tip{background:#b67e371a;border-radius:8px;padding:10px 12px}.barcode-draft-chip-list{flex-wrap:wrap;gap:8px;display:flex}.barcode-draft-chip-list span{color:var(--text);background:#5e856114;border-radius:999px;padding:5px 9px;font-size:.8rem;font-weight:700}.barcode-draft-column--warning .barcode-draft-chip-list span{background:#b67e371f}.barcode-draft-empty{font-style:italic}.manual-form-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;min-height:48px;display:flex}.manual-form-actions .primary-button{min-width:180px;min-height:48px;padding-inline:24px}.scanner-status{color:var(--muted);align-items:center;gap:8px;margin:0 0 16px;font-weight:700;display:inline-flex}.scanner-status:before{background:var(--amber);content:"";border-radius:10px;width:10px;height:10px}.scanner-status.active:before{background:var(--success)}.scanner-status.error:before{background:#d84a4a}.scanner-reader{border:1px solid var(--border);background:#171a17;border-radius:10px;width:min(100%,520px);min-height:300px;margin-bottom:16px;overflow:hidden}.scanner-message,.scan-guidance{border-radius:10px;width:min(100%,520px);padding:16px 18px}.scanner-message{margin-bottom:16px}.scanner-message.error{background:#fff1f1;border:1px solid #d84a4a66}.scanner-message p,.scan-guidance p{margin:0 0 12px}.primary-button{background:var(--green);color:#fff;border:0;border-radius:10px;min-height:42px;padding:0 18px;font-weight:700}.primary-button:hover,.primary-button:focus-visible{background:var(--green-dark)}.primary-button:disabled{cursor:not-allowed;opacity:.55}.scan-guidance{color:var(--muted);background:#fff;margin-bottom:22px}.scan-guidance.highlighted{color:var(--text);background:#fff}.scan-guidance.highlighted p{color:inherit}.scan-guidance ul{margin:0;padding-left:20px;line-height:1.55}.scan-guidance>strong{margin-bottom:10px;display:block}.scan-guidance.highlighted ul{margin-bottom:12px}.barcode-form{grid-template-columns:minmax(0,1fr) auto;gap:10px;width:min(100%,520px);display:grid}.barcode-form label,.field-error{grid-column:1/-1}.barcode-form label{font-weight:700}.barcode-form input{background:#fff;border:0;border-radius:10px;min-width:0;min-height:42px;padding:0 12px}.barcode-form input:focus-visible{outline-offset:2px;outline:3px solid #5e856147}.field-error{color:#a52f2f;margin:0;font-size:.9rem}.hero-section{max-width:800px;margin-bottom:44px}.hero-section h1{max-width:620px}.hero-section p{max-width:800px;font-size:1rem;line-height:1.65}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:42px;display:grid}.profile-page{width:min(100%,1040px)}.profile-page-header{margin-bottom:38px}.profile-page-header p{margin:0}.profile-form{gap:34px;display:grid}.profile-fieldset{border:0;min-width:0;margin:0;padding:0}.profile-account-section{border-left:5px solid var(--green);background:#ffffffb8;border-radius:10px;margin-bottom:34px;padding:22px 26px}.profile-account-section p{color:var(--muted);margin:0 0 16px}.profile-account-actions{flex-wrap:wrap;gap:12px;display:flex}.profile-fieldset legend,.manual-input-label{color:var(--green-dark);font-family:var(--font-body);letter-spacing:.04em;text-transform:uppercase;margin-bottom:16px;padding:0;font-size:.8rem;font-weight:700}.profile-choice-list{flex-wrap:wrap;gap:12px;display:flex}.profile-choice{cursor:pointer;position:relative}.profile-choice input,.profile-condition-option input{opacity:0;width:1px;height:1px;position:absolute}.profile-choice span{min-height:48px;color:var(--text);background:#fff;border:0;border-radius:10px;justify-content:center;align-items:center;padding:0 22px;font-weight:600;transition:background-color .16s,color .16s;display:inline-flex}.profile-choice input:checked+span{color:#fff;background:var(--green)}.profile-choice input:focus-visible+span,.profile-condition-option input:focus-visible+.profile-checkbox{outline-offset:3px;outline:3px solid #5e856147}.profile-conditions-fieldset>p{margin:0 0 18px}.profile-conditions-fieldset legend{margin-bottom:10px}.profile-demographic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;display:grid}.profile-condition-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.profile-condition-option{cursor:pointer;background:#fff;border:0;border-radius:10px;align-items:center;gap:14px;min-height:64px;padding:14px 20px;font-weight:600;transition:background-color .16s;display:flex}.profile-condition-option.selected{background:var(--green-soft)}.profile-checkbox{color:#fff;border:2px solid var(--border);background:#fff;border-radius:7px;flex:0 0 26px;justify-content:center;align-items:center;width:26px;height:26px;font-size:1rem;font-weight:700;display:inline-flex}.profile-condition-option.selected .profile-checkbox{background:var(--green);border-color:var(--green)}.profile-privacy-note{color:var(--muted);border:1px solid var(--border);background:#ffffff6b;border-radius:10px;align-items:flex-start;gap:16px;padding:20px 22px;display:flex}.profile-privacy-note img{object-fit:contain;flex:0 0 28px;width:28px;height:28px}.profile-privacy-note p{margin:0}.profile-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.profile-actions .primary-button{min-width:180px;min-height:48px;padding-inline:24px}.profile-saved-message{color:var(--green-dark);font-weight:700}.action-card{border:3px solid var(--green);background:#fff;border-radius:10px;grid-template-columns:1fr auto;justify-content:space-between;align-items:start;gap:20px;min-height:128px;padding:30px;display:grid}.action-card h3{margin:0 0 14px}.action-card p{max-width:250px}.action-card button,.show-all-button{min-height:44px;color:var(--green-dark);border:2px solid var(--green);background:#fff;border-radius:10px;flex:none;padding:0 22px;font-size:.75rem;font-weight:600;transition:background-color .16s,border-color .16s,color .16s,transform .16s}.action-card button{color:#fff;background:var(--green);border-color:var(--green);place-self:end;width:175px}.action-card button:hover{background:var(--green-soft);border-color:var(--green-dark);color:var(--green-dark);transform:translateY(-1px)}.action-card button:focus-visible{background:var(--green-dark);border-color:var(--green-dark);outline-offset:3px;outline:3px solid #5e856147}.action-card button:active{transform:translateY(0)}@media (width<=1200px){.app-shell{grid-template-columns:260px minmax(0,1fr)}.app-main{padding:42px 36px 36px}.sidebar{padding:58px 28px 24px}.brand{margin-bottom:54px}.brand-logo{width:172px}.side-nav{gap:18px}.nav-item{gap:12px;width:204px;min-height:56px;padding:0 18px;font-size:1.05rem}.action-card{grid-template-columns:1fr;gap:18px;padding:26px}.action-card p{max-width:none}.action-card button{justify-self:stretch;width:100%}}.show-all-button:hover,.show-all-button:focus-visible{color:#fff;background:var(--green);outline:none}.recent-section{gap:24px;display:grid}.section-header{justify-content:space-between;align-items:center;gap:24px;display:flex}.section-header h2{margin:0}.recent-list{gap:28px;display:grid}.recent-row{background:#fff;border:1px solid #d9e4d673;border-radius:10px;grid-template-columns:220px 1fr auto;align-items:center;gap:32px;min-height:88px;padding:14px 32px;display:grid}.recent-product h3{margin:0 0 6px}.rating-pills{flex-wrap:wrap;justify-content:center;gap:18px;display:flex}.rating-pill{color:#fff;text-align:center;border-radius:10px;justify-content:center;align-items:center;gap:4px;min-width:64px;min-height:30px;padding:0 14px;font-size:.75rem;font-weight:600;line-height:1;display:inline-flex}.rating-pill.amber{background:var(--amber)}.rating-pill.red{background:var(--red)}.rating-pill.green{background:var(--success)}.rating-pill.grey{background:var(--grey-pill)}.rating-pill-placeholder{display:none}.history-no-ratings{color:var(--muted);font-size:.75rem}.history-row-actions{justify-content:flex-end;align-items:center;gap:16px;display:flex}.history-delete-button{color:var(--red);background:0 0;border:0;padding:0;font-size:.75rem;font-weight:600}.history-delete-button:hover,.history-delete-button:focus-visible{text-decoration:underline}.recent-empty{background:var(--surface);border-radius:10px;padding:28px 32px}.recent-empty p{margin:0}.history-page{width:min(100%,1040px)}.history-header{justify-content:space-between;align-items:flex-start;gap:28px;margin-bottom:24px;display:flex}.history-header p{margin:0}.history-clear-button{flex:none}.history-storage-note{color:var(--muted);margin:0;font-size:.75rem;line-height:1.5}.history-list{gap:20px;margin-bottom:20px;display:grid}.history-empty{text-align:center;background:var(--surface);border-radius:10px;margin-bottom:20px;padding:34px}.history-empty button{color:#fff;background:var(--green);border:0;border-radius:10px;min-height:44px;padding:0 22px;font-weight:600}.history-empty p{margin-bottom:10px}.text-button{color:var(--green-dark);white-space:nowrap;background:0 0;border:0;padding:0;font-size:.875rem;font-weight:600}.text-button:hover,.text-button:focus-visible{outline:none;text-decoration:underline}.ingredient-count{color:var(--green-dark);margin:0;font-size:.9rem;font-weight:700}.show-all-button{background:var(--green-soft);border-color:#0000;justify-self:end;min-width:120px;min-height:40px}.results-page{width:min(100%,1040px)}@media (width>=1201px){.results-page{width:min(100%,1180px)}.results-layout{grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);align-items:start;gap:24px;display:grid}.results-content{grid-area:1/2}.results-sidebar{grid-area:1/1;align-self:start;gap:18px;display:grid}.results-sidebar .results-meta{margin-bottom:0;display:block}.results-meta .summary-card+.summary-card{margin-top:18px}}.results-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px;display:flex}.eyebrow,.section-label{color:var(--green-dark);font-family:var(--font-body);letter-spacing:.04em;text-transform:uppercase;margin:0 0 10px;font-size:.8rem;font-weight:700;line-height:1.2;display:block}.results-context{color:var(--muted);flex-wrap:wrap;gap:8px 18px;font-size:.9rem;display:flex}.secondary-button{border:1.5px solid var(--green);min-width:180px;min-height:48px;color:var(--green-dark);font:700 .95rem var(--font-body);cursor:pointer;background:0 0;border-radius:10px;padding:0 22px}.secondary-button:hover{background:var(--green-soft)}.insight-card,.summary-card,.profile-card,.formula-card,.regulatory-note,.data-confidence,.uv-overview,.full-analysis{background:#ffffffb8;border-radius:10px}.insight-card{border-left:5px solid var(--green);margin-bottom:24px;padding:22px 26px}.insight-card p{white-space:pre-line;max-width:900px;margin-bottom:14px}.insight-card small{color:var(--muted);line-height:1.45;display:block}.quality-banner{color:#684814;background:#fff8e9;border:1.5px solid #d69835;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:20px 24px;display:flex}.quality-banner p{max-width:720px;color:inherit;margin:0}.quality-banner strong{margin-bottom:5px;display:block}.results-warning{border-left:5px solid;border-radius:10px;margin-bottom:24px;padding:18px 22px}.results-warning strong{margin-bottom:6px;font-size:1.05rem;display:block}.results-warning p{color:inherit}.results-warning--red{border-color:var(--red);background:var(--red-soft);color:var(--red)}.results-warning--amber{border-color:var(--amber);background:var(--amber-soft);color:#684814}.summary-grid{grid-template-columns:280px 1fr;gap:18px;margin-bottom:34px;display:grid}@media (width>=1201px){.results-meta{grid-template-columns:1fr}}.summary-card{padding:22px}.summary-card strong{color:var(--text);margin-bottom:6px;font-size:2.4rem;line-height:1;display:block}.summary-card strong.personalisation-value{font-size:1.6rem;line-height:1.3}.results-section{margin-bottom:34px}.section-intro{margin:0 0 18px}.empty-guidance,.regulatory-note,.data-confidence{padding:22px 24px}.empty-guidance{border:1.5px solid #5e8a6459;border-radius:10px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px;display:flex}.profile-grid,.formula-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.profile-grid{align-items:start;margin-bottom:16px}.profile-card{gap:14px;padding:22px 24px;display:grid}.profile-card>h3{margin:0}.profile-card.concern{background:#fff8f3d1}.profile-card.supportive{background:#f4fbf2d1}.profile-card>p{margin:0}.profile-ingredient{border-top:1px solid #5e8a642e;gap:6px;padding-top:14px;display:grid}.profile-ingredient strong,.profile-ingredient span{color:var(--text)}.profile-ingredient p{gap:4px;margin:0;display:grid}.rule-source{color:var(--muted);margin:0;line-height:1.45;display:block}.rule-source:before{content:"*";margin-right:4px;font-weight:700}.regulatory-note{border-left:4px solid #d69835}.regulatory-ingredient-list{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.regulatory-note>p{margin-bottom:16px}.formula-card{padding:22px 24px}.formula-card-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.formula-card-description{margin:0 0 18px}.formula-card-count{color:var(--muted);text-align:center;white-space:nowrap;flex:none;font-size:.78rem;font-weight:600}.ingredient-flag-legend{flex-wrap:wrap;gap:8px;margin:0 0 18px;display:flex}.ingredient-chips,.uv-filter-list{flex-wrap:wrap;gap:8px;display:flex}.ingredient-chip,.uv-filter-list span{border-radius:10px;padding:7px 10px;font-size:.82rem;font-weight:700}.ingredient-chip--neutral{background:var(--grey-soft);color:var(--muted)}.ingredient-chip--beneficial,.uv-filter-list span{background:var(--green-soft);color:var(--green-dark)}.ingredient-chip--caution{background:var(--amber-soft);color:var(--amber)}.ingredient-chip--red{background:var(--red-soft);color:var(--red)}.uv-overview{padding:24px 26px}.uv-overview>p{margin:0 0 18px}.data-confidence{justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.full-analysis{padding:18px 22px}.full-analysis summary{color:var(--green-dark);cursor:pointer;font-weight:800}.rating-section{gap:10px;padding-top:22px;display:grid}.rating-section h3{margin:0}.technical-ingredient{border-left:4px solid var(--grey-pill);background:#f5f2ec9e;border-radius:0 10px 10px 0;gap:8px;padding:14px 16px;display:grid}.technical-ingredient--green{border-left-color:var(--green)}.technical-ingredient--amber{border-left-color:var(--amber)}.technical-ingredient--red{border-left-color:var(--red)}.technical-ingredient-heading{color:var(--text);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 14px;display:flex}.technical-ingredient-heading>span{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:700}.technical-ingredient-details,.technical-flags li{gap:4px;display:grid}.technical-ingredient-details p,.technical-flags p{margin:0}.technical-ingredient-note{color:var(--muted);line-height:1.45}.technical-flags{gap:10px;margin:0;padding-left:20px;display:grid}.login-page{justify-content:center;align-items:center;min-height:70vh;display:flex}.login-card{background:var(--surface);border-radius:10px;width:min(100%,420px);padding:34px 32px;box-shadow:0 12px 32px #1f211c14}.login-card>p{color:var(--muted);margin:0 0 24px}.login-card form{gap:18px;margin-bottom:20px;display:grid}.login-card label{color:var(--green-dark);font-family:var(--font-body);letter-spacing:.04em;text-transform:uppercase;margin-bottom:8px;font-size:.8rem;font-weight:700;display:block}.login-card input{width:100%;color:var(--text);border:1px solid var(--border);border-radius:10px;padding:14px 16px;transition:border-color .16s,box-shadow .16s}.login-card input:focus{border-color:var(--green);outline:none;box-shadow:0 0 0 3px #5e856129}.login-card .primary-button,.login-card .secondary-button{width:100%}.login-card .secondary-button{margin-bottom:20px}.manual-form-error,.login-error,.profile-save-error,.history-action-error{color:#b3261e;margin:-6px 0 0;font-size:.9rem}.login-divider{color:var(--muted);align-items:center;gap:12px;margin:20px 0;font-size:.85rem;display:flex}.login-divider:before,.login-divider:after{background:var(--border);content:"";flex:1;height:1px}.login-footer-link{text-align:center;color:var(--muted);margin:20px 0 0}.login-footer-link a{color:var(--green-dark);font-weight:600}@media (width<=768px){h1{font-size:2.1rem}h2{font-size:1.4rem}h3{font-size:.76rem}.summary-card strong.personalisation-value{font-size:1.35rem}p{font-size:.84rem}.insight-card p,.summary-card p,.profile-card p,.formula-card-description,.technical-list-note,.technical-ingredient-details p,.technical-flags p{font-size:.82rem}.manual-form-card{padding:22px}.manual-review-warning{flex-direction:column;align-items:stretch}.manual-review-warning .secondary-button{width:100%}.barcode-draft-review{grid-template-columns:1fr}.scanner-reader{min-height:220px}.manual-form-actions{flex-direction:column;align-items:stretch}.manual-form-actions .primary-button{width:100%}.app-shell{padding-bottom:76px;display:block}.app-main{padding:34px 24px 28px}.mobile-brand{align-items:center;width:fit-content;margin-bottom:26px;display:inline-flex}.mobile-brand img{width:190px;height:auto;display:block}.sidebar{z-index:10;min-height:auto;padding:10px 18px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #5e8a641f;border-right:0;display:block;position:fixed;inset:auto 0 0}.brand,.source-note{display:none}.side-nav{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.nav-item{background:0 0;border:0;justify-items:center;gap:4px;width:auto;min-height:auto;padding:6px 4px;font-size:.72rem;display:grid}.nav-item.active{color:var(--green-dark);background:0 0}.nav-icon{font-size:1.2rem}.hero-section{margin-bottom:36px;padding-top:28px}.action-grid{grid-template-columns:1fr;gap:12px;margin-bottom:38px}.action-card{background:0 0;border:0;min-height:auto;padding:0;display:block}.action-card h3,.action-card p{display:none}.action-card button{color:#fff;background:var(--green);border:0;width:100%;min-height:46px;font-size:1rem}.recent-row{grid-template-columns:1fr auto;gap:8px 14px;padding:16px 18px}.profile-condition-grid,.profile-demographic-grid{grid-template-columns:1fr}.profile-actions{flex-direction:column;align-items:stretch}.profile-actions .primary-button{width:100%}.profile-account-actions{flex-direction:column}.profile-account-actions button{width:100%}.summary-grid,.profile-grid,.formula-grid{grid-template-columns:1fr}.results-header,.quality-banner,.empty-guidance,.data-confidence{flex-direction:column;align-items:stretch}.results-header .secondary-button,.quality-banner .secondary-button,.empty-guidance .secondary-button,.data-confidence .secondary-button{width:100%}.rating-pills{grid-column:1;justify-content:start}.text-button{align-self:end}.history-row-actions{flex-direction:column;grid-area:1/2/span 2;align-items:flex-end}.history-header{flex-direction:column;align-items:stretch}.history-clear-button{width:100%}}@media (width<=420px){h1{font-size:1.85rem}h2{font-size:1.25rem}.summary-card strong.personalisation-value{font-size:1.2rem}.insight-card,.summary-card,.profile-card,.formula-card,.full-analysis{padding:18px}.app-main{padding-inline:20px}.nav-item{padding-block:8px}.nav-item span{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.nav-icon{font-size:1.45rem}.barcode-form{grid-template-columns:1fr}.barcode-form .primary-button{width:100%}.recent-row{grid-template-columns:1fr}.recent-row .rating-pills{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.recent-row .rating-pill{width:100%;min-width:0;padding-inline:10px}.recent-row .rating-pill-placeholder{display:block}.recent-row .rating-pill-label{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.profile-choice-list{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.profile-choice span{width:100%;padding-inline:12px}.text-button{grid-column:1;justify-self:auto}.history-row-actions{flex-direction:row-reverse;grid-area:auto/1;justify-content:space-between;align-items:center;width:100%;margin-top:4px}.history-row-actions .history-delete-button{font-size:.875rem;font-weight:600}}
