.tier3panel{margin-top:16px;padding:18px;border:1px solid var(--line,#e6e8ef);border-radius:18px;background:var(--panel,#fff)}.tier3head h3{margin:0;font-size:16px}.tier3head p{margin:5px 0 0;color:var(--muted,#6b7280);font-size:13px;line-height:1.5}.tier3grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.tier3card{padding:14px;border:1px solid var(--line,#e6e8ef);border-radius:14px}.tier3card h4{margin:0 0 8px;font-size:14px}.tier3card label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--muted,#667085)}.tier3card select,.tier3card textarea{width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid var(--line,#dfe3eb);border-radius:10px;background:transparent;color:inherit}.tier3card select{font:600 12px inherit}.tier3card textarea{min-height:150px;resize:vertical;font:11px/1.55 ui-monospace,SFMono-Regular,monospace}.tier3status{margin:10px 0;padding:10px 11px;border-radius:10px;font-size:12px;font-weight:800}.tier3status.neutral{background:var(--soft,#f5f7fb);color:var(--muted,#667085)}.tier3status.good{background:var(--good-soft,#e9f8ef);color:var(--good,#16834d)}.tier3status.warn{background:#fff7df;color:#8a6100}.tier3status.bad{background:#fff0f0;color:#b3261e}.tier3findings{display:grid;gap:7px;max-height:200px;overflow:auto}.tier3finding{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;padding:9px;border:1px solid var(--line,#e6e8ef);border-radius:10px;background:var(--surface,#fff)}.tier3finding b{font:800 9px ui-monospace,monospace;color:var(--accent)}.tier3finding span{font-size:11px;font-weight:700}.tier3finding small{grid-column:2;color:var(--muted,#667085);font-size:10px}.tier3empty{padding:18px;text-align:center;color:var(--muted,#667085);font-size:11px;border:1px dashed var(--line,#dfe3eb);border-radius:10px}.tier3note{margin:10px 0;color:var(--muted,#667085);font-size:10px;line-height:1.5}.tier3actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.tier3desc{margin:0 0 8px;color:var(--muted,#667085);font-size:11px;line-height:1.5}.tier3privacy{display:block;margin-top:7px;color:var(--muted,#667085);font-size:10px}.tier3card button{margin-top:8px}.dark .tier3panel{background:#11151d;border-color:#29303d}.dark .tier3card{border-color:#29303d}.dark .tier3finding{background:#151a23;border-color:#29303d}.dark .tier3empty{border-color:#29303d}.dark .tier3status.warn{background:#2d2818;color:#e8c65b}.dark .tier3status.bad{background:#2d1a1a;color:#ff958d}@media(max-width:760px){.tier3grid{grid-template-columns:1fr}.tier3card textarea{min-height:120px}}

/* Global layout safety */
html,body{width:100%;max-width:100%;overflow-x:hidden}*{min-width:0}.topbar{width:100%;max-width:1220px}.topbar nav{min-width:0}.hero,.workspace,.trust,.content,.checks,.editorial,.resourcehub,.page,footer{width:100%;max-width:100%;margin-left:auto;margin-right:auto}.workspace>*{min-width:0}.reportcard,.inputcard{width:100%;max-width:100%}.reportcard{overflow:hidden}.stats,.reportmeta,.reporttools,.actions,.settingsrow,.diagnostics{min-width:0}.issues{min-width:0;max-width:100%}.issue{min-width:0}.issue>div{min-width:0}.issue span,.issue b{overflow-wrap:anywhere}.timeline,.timelinehead,.timelinetrack,.cuepreview,.rulespanel,.repairlist,.repairpreview{max-width:100%;min-width:0}.repairpreview>div{min-width:0}.repairpreview pre{overflow-wrap:anywhere}.shortcutbar{width:100%;max-width:1120px;box-sizing:border-box}.footlinks{min-width:0}

/* Correct the shared animation typo without changing the design */
.uploadicon{animation:uploadFloat 3.5s ease-in-out infinite}@keyframes uploadFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}

/* Tablet layout */
@media(max-width:850px){
  .topbar{padding:10px 16px}.hero{margin:44px auto 30px;padding:0 16px}.hero h1{font-size:clamp(38px,10vw,52px);line-height:1.02}.hero h1 br{display:none}.lede{font-size:15px;line-height:1.65;max-width:650px}.workspace{grid-template-columns:1fr;gap:14px;padding:0 14px}.inputcard{min-height:380px;padding:28px 20px}.reportcard{padding:20px}.trust{grid-template-columns:1fr;padding:0 14px;margin-bottom:72px}.trust>div{padding:16px 18px}.content,.checks,.editorial{padding-left:14px;padding-right:14px}.content h2,.checks h2,.editorial h2{font-size:32px}.steps{grid-template-columns:1fr}.checkgrid,.mini-list,.seo-columns{grid-template-columns:1fr}.resourcehub,.page{padding-left:16px;padding-right:16px}.resourcecards,.legalgrid,.contactgrid{grid-template-columns:1fr 1fr}.contacthero{grid-template-columns:1fr}.contactstrip{align-items:flex-start;flex-direction:column}.contactstrip .pagebutton{width:100%;text-align:center}.modal{padding:12px}.modalbox{width:min(720px,100%);max-height:calc(100vh - 24px);overflow:auto}.footlinks{justify-content:flex-start}
}

/* Phone layout: prevent cramped controls and horizontal overflow */
@media(max-width:560px){
  .topbar{min-height:60px;padding:9px 14px 8px;gap:10px}.brand{font-size:14px}.brandmark{width:31px;height:31px}.topbar .iconbtn{margin-left:auto;flex:0 0 40px}.topbar nav{order:3;width:100%;display:flex;gap:14px;padding:2px 1px 4px;overflow-x:auto;white-space:nowrap}.topbar nav a{font-size:11px;padding:5px 0;flex:0 0 auto}.hero{margin:34px auto 24px;padding:0 14px}.hero h1{font-size:clamp(34px,10.8vw,42px);letter-spacing:-.055em}.eyebrow{font-size:9px}.lede{font-size:14px}.hero-chips{gap:6px;margin-top:16px}.hero-chips span{font-size:10px;padding:6px 8px}.workspace{padding:0 10px;gap:12px}.inputcard{min-height:340px;padding:24px 16px}.inputcard h2{font-size:21px}.inputcard p{font-size:13px;line-height:1.5}.upload-actions{width:100%;flex-direction:column;gap:7px}.upload-actions button{width:100%;min-height:44px}.reportcard{padding:16px;border-radius:18px}.reporthead{gap:10px;align-items:flex-start}.reporthead>div:first-child{min-width:0}.scoreline strong{font-size:44px}.reporthead .pill{max-width:48vw;white-space:normal;text-align:right;line-height:1.25}.settingsrow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px}.settingsrow label{min-width:0}.settingsrow select{min-height:42px}.settingsrow .filter{min-height:42px;padding:9px 10px}.rulespanel{padding:10px}.rulespanel>div{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.stats div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 7px}.stats div:nth-child(2){border-right:0}.stats div:nth-child(3){border-bottom:0}.stats div:last-child{border-right:0;border-bottom:0}.reportmeta{display:grid;grid-template-columns:1fr;gap:6px}.reportmeta span{display:block;min-width:0;overflow-wrap:anywhere}.reporttools{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px;scrollbar-width:none}.reporttools::-webkit-scrollbar{display:none}.filter{min-height:38px;white-space:nowrap;flex:0 0 auto}.issues{height:280px}.issue{padding:11px 2px}.issue:hover{padding-left:4px}.actions{display:grid;grid-template-columns:1fr;gap:8px}.actions button{width:100%;min-height:44px}.trust{padding:0 10px;margin-top:18px}.content,.checks,.editorial{padding-left:10px;padding-right:10px;margin-bottom:72px}.content h2,.checks h2,.editorial h2{font-size:28px}.steps article{padding:20px}.checkgrid{grid-template-columns:1fr}.editorial-card{padding:22px}.resourcehub{padding-left:10px;padding-right:10px}.resourcecards,.legalgrid,.contactgrid{grid-template-columns:1fr}.resourcehub-head{display:block}.resourcehub-head h2{font-size:27px}.page{padding:40px 10px 24px}.page h1{font-size:clamp(34px,10.5vw,48px);line-height:1.02}.pagelead{font-size:14px;line-height:1.65}.contactstrip{padding:18px}.emailcard{padding:18px}.emailcard strong{font-size:15px;overflow-wrap:anywhere}.shortcutbar{padding:8px 10px;gap:7px 10px;justify-content:flex-start}.shortcutbar span{font-size:9px}.footlinks{gap:10px 14px;font-size:10px}.modalactions{display:grid;grid-template-columns:1fr;gap:8px}.modalactions button{width:100%;min-height:44px}.cuefields,.repairpreview{grid-template-columns:1fr}.repairpreview pre{max-height:110px}.repairoptions{grid-template-columns:1fr}.tier3grid{grid-template-columns:1fr}.tier3actions{display:grid;grid-template-columns:1fr}.tier3actions button{width:100%;min-height:42px}
}

/* Very small phones */
@media(max-width:360px){.brand>span:last-child{font-size:13px}.topbar nav{gap:11px}.topbar nav a{font-size:10px}.hero h1{font-size:33px}.stats b{font-size:15px}.reportcard{padding:14px}.inputcard{min-height:325px}.content h2,.checks h2,.editorial h2{font-size:25px}}

@media(prefers-reduced-motion:reduce){.uploadicon{animation:none!important}}
