
:root{--ink:#171a20;--dark:#12151a;--muted:#667080;--line:#dce0e5;--bg:#f1f3f5;--yellow:#ffcd38;--gold:#896000;--green:#137659;--white:#fff;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);background:var(--bg);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ad7800;outline-offset:3px}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}.wrap{width:min(1280px,calc(100% - 64px));margin:auto}.top{background:#12151a;color:#fff;border-bottom:1px solid #343840}.top .wrap{height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:11px;white-space:nowrap}.brandmark{width:53px;height:48px;flex:none}.wordmark{font-size:33px;font-weight:900;letter-spacing:-2px;line-height:1;transform:skew(-7deg)}.wordmark b{color:var(--yellow)}.wordmark small{font-size:14px;letter-spacing:-.5px;margin-left:2px;font-weight:700}.top nav{display:flex;align-items:center;gap:27px;font-size:13px;font-weight:650;color:#c4c8d0}.top nav a:hover{color:var(--yellow)}.top nav a:first-child{color:white}.pill{display:inline-flex;align-items:center;gap:8px;background:#272b31;border:1px solid #41454c;color:#e0e2e6;padding:8px 13px;border-radius:100px;font-size:11px;white-space:nowrap;font-weight:700}.dot{width:7px;height:7px;background:#39bf92;border-radius:50%;display:inline-block}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 95% 10%,#34352b 0%,#1d2128 36%,#12151a 76%);color:white}.hero .wrap{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:33px 0 39px}.hero:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(125deg,transparent 0 35px,#ffffff08 36px 37px);mask-image:linear-gradient(90deg,transparent 45%,black)}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.9px;text-transform:uppercase;color:var(--gold);display:flex;align-items:center;gap:8px}.hero .eyebrow{color:var(--yellow)}.hero h1{font-size:clamp(40px,5vw,67px);letter-spacing:-3.6px;line-height:1.03;margin:13px 0 12px;font-weight:850}.hero h1 em{font-style:normal;color:var(--yellow)}.hero p{margin:0;color:#c6cbd4;font-size:16px;max-width:690px}.hero-meta{display:flex;flex-wrap:wrap;gap:19px;margin-top:19px;color:#c8ced5;font-size:12px}.hero-meta b{color:var(--yellow);margin-right:4px}.hero-graphic{display:flex;align-items:center;gap:20px;min-width:280px;justify-content:flex-end}.hero-graphic svg{width:125px;height:125px}.rate-label{color:#aab1bc;font-size:11px;letter-spacing:1.7px;font-weight:750}.rate{font-size:40px;line-height:1;font-weight:850;color:white;letter-spacing:-2px}.hero-graphic p{font-size:12px;margin-top:8px}.main{padding:23px 0 48px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 14px #16203206;padding:25px;min-width:0}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:19px}.section-head h2{font-size:29px;line-height:1.13;letter-spacing:-1.2px;margin:5px 0 0;font-weight:820}.live{font-size:10px;letter-spacing:1px;font-weight:800;color:var(--green);display:flex;align-items:center;gap:6px;white-space:nowrap;margin-top:5px}.calcgrid{display:grid;grid-template-columns:minmax(0, .8fr) minmax(0,1.2fr);gap:18px}.label,label{display:block;font-size:12px;font-weight:750;margin-bottom:7px}.moneyinput{display:flex;align-items:center;gap:8px;background:#f7f8fa;border:1.5px solid #cbd2db;border-radius:12px;padding:13px 14px;min-width:0}.moneyinput:focus-within{border-color:#997000;box-shadow:0 0 0 3px #ffcd3840}.moneyinput>span{font-size:25px;color:#778190;font-weight:700}.moneyinput input{font-size:35px;font-weight:800;letter-spacing:-1.4px;line-height:1.15;width:100%;min-width:0;padding:0;border:0;background:transparent;outline:0!important;color:var(--ink);font-variant-numeric:tabular-nums}.moneyinput small{font-size:11px;color:#677283;font-weight:750}.helper{color:var(--muted);font-size:12px;margin:9px 0}.error{font-size:12px;color:#a12626;min-height:18px}.quick{display:flex;flex-wrap:wrap;gap:6px;margin:5px 0 16px}.chip{border:1px solid #dfe3e9;background:#f4f6f8;border-radius:7px;padding:7px 9px;font-size:12px;font-weight:750;color:#445063}.chip:hover{background:#ffe9a4;border-color:#e7b72d}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d6dce3;background:white;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:750;color:#252a32;white-space:nowrap}.btn:hover{background:#eef1f5}.btn.primary{background:var(--yellow);border-color:var(--yellow);color:#1b1e23}.btn.primary:hover{background:#efba18}.btn.dark{background:#252b34;color:#fff;border-color:#404650}.btn.dark:hover{background:#404650}.input-actions{display:flex;gap:8px;flex-wrap:wrap}.resultdeck{background:linear-gradient(135deg,#2c333f,#171c23 60%);border:1px solid #373e48;border-radius:14px;padding:15px;color:white;position:relative;overflow:hidden}.resultdeck:before{content:"";position:absolute;width:200px;height:200px;right:-80px;top:-100px;border:1px solid #ffffff0c;border-radius:50%;box-shadow:0 0 0 20px #ffffff04,0 0 0 40px #ffffff04;pointer-events:none}.result-row{position:relative;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:11px 13px}.result-row+.result-row{border-top:1px solid #424852;padding-top:17px;margin-top:5px}.result-title{font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#c0c8d4;display:flex;gap:8px;align-items:center}.sign{color:var(--yellow);display:grid;place-items:center;border-radius:6px;background:#ffcd381c;width:24px;height:24px;font-size:20px;line-height:1}.result-value{font-size:clamp(27px,3.1vw,45px);font-weight:850;letter-spacing:-1.8px;line-height:1.15;color:var(--yellow);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:5px 0}.result-sub{display:flex;align-items:center;gap:7px;font-size:12px;color:#bfc6d0}.result-sub b{color:white}.copymini{color:#d3dae4;border:0;background:transparent;padding:4px 6px;border-radius:5px;font-size:11px;cursor:pointer}.copymini:hover{background:#ffffff15}.result-actions{display:flex;flex-direction:column;gap:6px}.result-actions .btn{padding:7px 9px}.status{font-size:12px;color:var(--green);min-height:18px;margin-top:8px}.splitbar{display:flex;height:9px;overflow:hidden;border-radius:9px;background:#e5e8ec;margin:13px 0 7px}.splitbar i:first-child{background:#28313e;width:90.909%}.splitbar i:last-child{background:var(--yellow);flex:1}.splitlabels{display:flex;justify-content:space-between;font-size:11px;font-weight:650;color:#616a76;gap:8px}.sidebar{display:grid;gap:14px}.sidepanel{padding:20px}.sidepanel h3{font-size:22px;margin:6px 0 4px;letter-spacing:-.7px}.sidepanel p{color:var(--muted);font-size:12px;margin:0 0 12px}.side-line{display:flex;justify-content:space-between;gap:7px;padding:10px 0;border-top:1px solid #e5e8ed;font-size:12px}.side-line b{font-variant-numeric:tabular-nums}.ad{border:1px dashed #c4ccd5;background:#e7ebef;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#738091;text-align:center;font-size:11px;letter-spacing:.3px}.ad strong{font-size:10px;letter-spacing:1.7px;font-weight:800}.sidead{height:250px}.leader{width:min(970px,100%);height:90px;margin:20px auto}.section-block{margin-top:23px}.section-intro{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.section-intro h2{font-size:30px;letter-spacing:-1.2px;margin:3px 0 0;line-height:1.2}.section-intro p{color:var(--muted);font-size:13px;margin:0;max-width:380px}.toolgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.toolcard{background:white;border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;gap:13px;padding:16px;transition:border .15s,transform .15s}.toolcard:hover{border-color:#a37c16;transform:translateY(-2px)}.toolicon{width:43px;height:43px;border-radius:11px;background:#fff3c9;color:#6b4c00;display:grid;place-items:center;flex:none}.toolicon svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.toolcard strong{display:block;font-size:14px}.toolcard small{display:block;font-size:11px;color:var(--muted);margin-top:2px}.arrow{margin-left:auto;color:#657183;font-size:19px}.business{background:#1c222c;border:1px solid #333d49;color:white}.business .eyebrow{color:var(--yellow)}.business .section-head p{color:#b9c1cc;margin:6px 0 0;font-size:13px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:15px}.stat{background:#11161d;border:1px solid #39434f;border-radius:11px;padding:13px;min-width:0}.stat span{color:#aab5c5;font-size:11px}.stat b{display:block;font-size:clamp(18px,2.5vw,30px);letter-spacing:-.7px;color:var(--yellow);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.tablewrap{overflow:auto;border:1px solid #39434f;border-radius:10px}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th,td{padding:10px 13px;border-bottom:1px solid #39434f}th{color:#b7c0cc;font-size:11px;letter-spacing:.5px;background:#252d38}tbody tr:last-child td{border-bottom:0}td button{font-size:15px;color:#fff;background:transparent;border:1px solid #485362;border-radius:5px}.empty{text-align:center;color:#b8c1ce;padding:20px}.actionrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{border:1px solid #cbd2db;background:#f7f8fa;border-radius:9px;padding:11px 12px;width:100%;color:var(--ink);margin:0 0 12px}.field:focus{border-color:#a37b00}.panel h3{font-size:22px;letter-spacing:-.6px;margin:0 0 7px}.panel .desc{font-size:13px;color:var(--muted);margin:0 0 14px}.output{background:#f4f6f8;border-radius:9px;padding:11px 12px;margin:12px 0 0;color:#243248;font-weight:700;font-size:13px;min-height:42px;overflow-wrap:anywhere}.mini-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.guide{display:grid;grid-template-columns:1fr 1fr;gap:18px}.guide p{font-size:13px;color:#556171}.guide details{border-top:1px solid var(--line);padding:12px 0}.guide summary{cursor:pointer;font-weight:700;font-size:13px}.guide a{color:#795700;text-decoration:underline}.foot{background:#14181f;color:#b7bfcc;padding:32px 0}.footgrid{display:flex;justify-content:space-between;gap:20px;align-items:start}.foot .wordmark{color:white}.foot p{font-size:12px;max-width:550px;margin:12px 0}.foot nav{display:flex;gap:15px;flex-wrap:wrap;font-size:12px}.fine{border-top:1px solid #353c46;margin-top:24px;padding-top:14px;font-size:11px;color:#9da7b5}.mobile-only{display:none}@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 250px}.calcgrid{grid-template-columns:1fr}.resultdeck{display:grid;grid-template-columns:1fr 1fr;gap:5px}.result-row{display:block;padding:9px}.result-row+.result-row{border-top:0;border-left:1px solid #424852;padding:9px 9px 9px 16px;margin:0}.result-actions{flex-direction:row;flex-wrap:wrap;margin-top:10px}.top nav{gap:14px}.top .pill{display:none}}@media(max-width:760px){.wrap{width:calc(100% - 28px)}.top .wrap{height:auto;min-height:68px;flex-wrap:wrap;gap:10px;padding:10px 0}.brandmark{width:42px;height:38px}.wordmark{font-size:29px}.top nav{width:100%;overflow:auto;white-space:nowrap;gap:19px;padding-bottom:4px;font-size:12px}.hero .wrap{padding:24px 0 28px}.hero h1{letter-spacing:-2px;font-size:40px}.hero p{font-size:14px}.hero-meta{gap:10px;font-size:11px;margin-top:12px}.hero-graphic{display:none}.main{padding:14px 0 30px}.workspace,.two,.guide{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr}.sidead{height:100px}.panel{padding:17px;border-radius:14px}.section-head h2{font-size:24px}.section-intro{display:block}.section-intro h2{font-size:25px}.section-intro p{margin-top:6px}.toolgrid{grid-template-columns:1fr 1fr;gap:8px}.toolcard{padding:12px 10px;gap:8px}.toolicon{width:32px;height:32px}.toolicon svg{width:19px;height:19px}.toolcard strong{font-size:12px}.toolcard small{font-size:10px}.arrow{display:none}.leader{margin:15px auto;height:90px}.footgrid{display:block}.foot nav{margin-top:18px}.result-value{font-size:32px}.result-actions .btn{font-size:11px}.stats{gap:6px}.stat{padding:8px}.stat b{font-size:19px}.mini-fields{grid-template-columns:1fr}}@media(max-width:390px){.resultdeck{grid-template-columns:1fr}.result-row+.result-row{border-left:0;border-top:1px solid #424852;padding:12px 9px 5px}.result-value{font-size:36px}.toolgrid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.live{font-size:9px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
button:disabled{opacity:.5;cursor:not-allowed;transform:none}.splitlabels span:last-child{text-align:right}@media(max-width:760px){.hero .wrap{padding:18px 0 22px}.hero h1{font-size:36px;margin:9px 0 8px}.hero-meta{margin-top:9px}.calcgrid{display:flex;flex-direction:column;gap:7px}.calcgrid>div:first-child{display:contents}.calcgrid>label{order:0;margin:0}.moneyinput{order:1;padding:10px 12px}.calcgrid .helper{order:2;margin:0}.calcgrid .error{order:3;min-height:0}.calcgrid .error:empty{display:none}.resultdeck{order:4;margin:5px 0}.calcgrid .label{order:5;margin:4px 0 0}.quick{order:6;margin:0 0 4px}.input-actions{order:7}.status{order:8;margin:0;min-height:0}.status:empty{display:none}.section-head{margin-bottom:13px}.business .section-head .pill{display:none}.sidebar .sidead{display:none}.top nav{gap:13px;font-size:11px}.hero-meta{gap:9px}.result-row{padding:6px 9px}.result-row+.result-row{padding-top:12px}.result-value{font-size:32px}.result-actions{margin-top:6px}}

.wordmark{transform:none;font-weight:900;letter-spacing:-1.7px}.toolgrid{grid-template-columns:repeat(5,minmax(0,1fr))}.toolcard{padding:14px 12px;gap:10px}.toolcard small{line-height:1.3}.entrytools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.entry{background:#272e39;border:1px solid #424d5b;border-radius:12px;padding:14px;text-align:left;color:white;min-width:0}.entry:hover{border-color:var(--yellow)}.entry span{color:var(--yellow);font-size:24px;display:block;line-height:1;margin-bottom:9px}.entry b,.entry small{display:block}.entry small{font-size:11px;color:#bcc6d2;margin-top:3px}.entryfields{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:10px}#entrybox{background:#121820;border:1px solid #414c59;border-radius:12px;padding:16px;margin-bottom:16px}.entryhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}#entrybox .helper,.entrymsg{color:#c6cfdb;font-size:12px}.entrymsg:empty{display:none}.importpreview{padding:12px;background:#222b36;border-radius:8px;margin:10px 0;white-space:pre-wrap}.business td:last-child{white-space:nowrap}.business td button{margin-right:5px;padding:4px 8px;font-size:12px}.mixedtable{overflow-x:auto;border:1px solid var(--line);border-radius:10px}.mixedtable table{min-width:850px}.mixedtable th,.reference th{background:#f4f6f8;color:#475365;border-bottom:1px solid var(--line)}.mixedtable td,.reference td{border-color:var(--line)}.mixedtable td{padding:7px}.mixedtable .field{margin:0;min-width:100px;padding:8px}.mixedtable td:first-child .field{min-width:145px}.mixedtable td button{color:var(--ink);border-color:var(--line)}.mixedtable td:nth-child(n+4){white-space:nowrap;font-variant-numeric:tabular-nums}.mixedstats{margin:15px 0 0}.mixedstats .stat{background:#1c222c}.reference{margin-top:20px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.reference .eyebrow{padding:12px}.reference th,.reference td{padding:8px 12px}.formula{display:flex;flex-wrap:wrap;gap:12px;padding:12px;background:#fff8e0;font-size:11px;color:#634a09}.formula b{display:block;font-size:13px}.footgrid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:30px}.foot nav{display:flex;flex-direction:column;gap:8px;margin:0}.foot nav b{font-size:11px;letter-spacing:1.2px;color:var(--yellow);margin-bottom:6px}.foot nav a:hover{color:var(--yellow)}.footcountry{font-size:11px;color:var(--yellow)}.footbottom{display:flex;justify-content:space-between;gap:10px;margin-top:12px}.policy{max-width:850px;margin:28px auto}.policy h2{font-size:20px;margin-top:26px}.policy p{color:#475365}.policy a{color:#795700;text-decoration:underline}[hidden]{display:none!important}@media(max-width:1100px){.toolgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.entryfields{grid-template-columns:1fr 1fr}}@media(max-width:760px){.toolgrid,.entrytools,.footgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.entryfields{grid-template-columns:1fr}.footgrid{gap:24px 16px}.footgrid>div:first-child{grid-column:1/-1}.entry{padding:10px}.entry b{font-size:13px}.footbottom{flex-wrap:wrap}}@media(max-width:390px){.toolgrid{grid-template-columns:1fr}.entrytools{grid-template-columns:1fr 1fr}.footgrid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.mixedtable{overflow:visible;border:0}.mixedtable table{min-width:0;display:block}.mixedtable thead{display:none}.mixedtable tbody{display:grid;gap:10px}.mixedtable tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;padding:10px;gap:8px}.mixedtable td{display:block;border:0;padding:0;min-width:0}.mixedtable td:nth-child(-n+3){grid-column:1/-1}.mixedtable td:last-child{grid-column:1/-1;text-align:right}.mixedtable td:first-child .field,.mixedtable .field{min-width:0;width:100%}.mixedtable td:nth-child(4):before,.mixedtable td:nth-child(5):before,.mixedtable td:nth-child(6):before{display:block;color:var(--muted);font-size:10px}.mixedtable td:nth-child(4):before{content:'Ex. GST'}.mixedtable td:nth-child(5):before{content:'GST'}.mixedtable td:nth-child(6):before{content:'Inc. GST'}.mixedtable td:nth-child(n+4){white-space:normal;overflow-wrap:anywhere;font-size:12px}.mixedtable td button{padding:3px 10px}.guide details p{margin-bottom:0}} 
/* V2.2: calculator / advertising / toolkit alignment only. */
.workspace + .leader{margin:20px auto}
.workspace + .leader + #tools{margin-top:0}
@media(min-width:761px){
  .workspace{align-items:stretch}
  .workspace > #gst{display:flex;flex-direction:column}
  .workspace > #gst .calcgrid{flex:1;align-items:stretch}
  .workspace > .sidebar{display:flex;flex-direction:column;gap:14px}
  .workspace > .sidebar .sidead{margin-top:auto;flex:none}
  #tools .toolcard{display:grid;grid-template-columns:1fr auto;grid-template-rows:43px auto;align-items:start;gap:12px 8px;padding:16px;min-width:0}
  #tools .toolcard > span:nth-child(2){grid-column:1/-1;grid-row:2;min-width:0}
  #tools .toolcard .toolicon{grid-column:1;grid-row:1}
  #tools .toolcard .arrow{grid-column:2;grid-row:1;align-self:center;margin:0}
  #tools .toolcard strong{line-height:1.3;font-size:14px}
  #tools .toolcard small{margin-top:5px;line-height:1.4;min-height:2.8em}
}
@media(min-width:1051px){
  .workspace #gst .resultdeck{display:flex;flex-direction:column;justify-content:center}
  .workspace #gst .result-row{flex:1;align-content:center}
  .workspace #gst .calcgrid>div:first-child{align-self:center}
}
@media(min-width:761px) and (max-width:1100px){
  #tools .toolgrid{grid-template-columns:repeat(6,minmax(0,1fr))}
  #tools .toolcard{grid-column:span 2}
  #tools .toolcard:nth-last-child(-n+2){grid-column:span 3}
}
@media(min-width:391px) and (max-width:760px){
  #tools .toolcard{align-items:flex-start}
  #tools .toolcard:last-child{grid-column:1/-1}
  #tools .toolcard strong{line-height:1.3}
  #tools .toolcard small{line-height:1.4;min-height:2.8em}
}
@media(max-width:760px){.workspace + .leader{margin:16px auto}}

/* V2.3: aligned native form controls and three-tool layout. */
input.field:not([type=file]),select.field{height:46px;min-height:46px;line-height:22px;padding:11px 12px;box-sizing:border-box;min-width:0;display:block}
select.field{-webkit-appearance:none;appearance:none;background-color:#f7f8fa;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23556070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px;padding-right:38px;color:var(--ink);border:1px solid #cbd2db;border-radius:9px;cursor:pointer}
.entryfields>div{min-width:0;display:flex;flex-direction:column}.entryfields>div>.field{margin-top:auto}
.mixedtable input.field,.mixedtable select.field{height:40px;min-height:40px;line-height:22px;padding:8px;margin:0}.mixedtable select.field{padding-right:32px;background-position:right 8px center;background-size:16px}
#tools .toolgrid{grid-template-columns:repeat(3,minmax(0,1fr))}#tools .toolcard,#tools .toolcard:nth-last-child(-n+2){grid-column:auto;display:flex;align-items:center;gap:13px;transform:none}#tools .toolcard .arrow{margin-left:auto;flex:none}#tools .toolcard small{min-height:0;margin-top:3px}#tools .toolcard>span:nth-child(2){min-width:0}
@media(max-width:760px){#tools .toolgrid{grid-template-columns:1fr}#tools .toolcard{grid-column:auto;min-height:76px}}

.seo-hero .wrap{padding:28px 0}.seo-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.12;letter-spacing:-1.2px}.seo-hero p{max-width:850px}.seo-main{padding-top:24px}.seo-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:stretch}.seo-layout.wide{grid-template-columns:1fr}.seo-layout .panel{min-width:0}.seo-aside{display:flex;flex-direction:column;gap:16px}.seo-aside .ad{margin-top:auto;min-height:250px}.seo-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.seo-results>div{background:#f1f3f5;border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0}.seo-results strong{display:block;font-size:clamp(18px,2.5vw,29px);overflow-wrap:anywhere;color:var(--ink);font-variant-numeric:tabular-nums}.seo-results small{color:var(--muted)}.seo-linkgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.seo-linkgrid a{display:flex;flex-direction:column;justify-content:center;min-height:90px;border:1px solid var(--line);border-radius:12px;background:white;padding:14px;gap:4px}.seo-linkgrid a:hover{border-color:#896000}.seo-linkgrid small{color:var(--muted);line-height:1.4}.seo-main .panel h2{margin:0 0 8px}.seo-main .panel p{max-width:85ch}.seo-main .output{white-space:pre-wrap}.seo-crumb{font-size:13px;color:var(--muted);margin-bottom:14px}.seo-main .field{width:100%}.seo-main .tablewrap{margin-top:12px}.seo-main .btn{min-height:48px}.seo-main .ad.leader{margin:24px 0}.seo-main label{margin-top:10px}.seo-main .btn:disabled{opacity:.45;cursor:not-allowed}.seo-main code{white-space:pre-wrap;overflow-wrap:anywhere}.seo-guide a{color:#896000;text-decoration:underline}.seo-guide h3{margin-top:18px}.seo-main .seo-aside .panel{flex:1}.seo-main .seo-aside h3{margin:0 0 8px}.seo-main .seo-aside p{margin:8px 0}.seo-hero .wrap>div{width:100%}.seo-main .field[type=checkbox]{width:auto;height:auto}.seo-main .seo-checkbox{display:flex;align-items:center;gap:8px}.seo-main .seo-checkbox input{width:18px;height:18px}.seo-main .seo-result-note{margin:10px 0;font-size:13px;color:var(--muted)}
@media(max-width:900px){.seo-layout{grid-template-columns:1fr}.seo-aside{display:none}.seo-linkgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.seo-linkgrid,.seo-results{grid-template-columns:1fr}.seo-main .panel{padding:18px}.seo-hero .wrap{padding:24px 0}.seo-main .seo-results>div{padding:12px}.seo-main .seo-results strong{font-size:23px}}


/* Standalone final cascade: explicit dimensions for native form controls. */
:root { --field-height: 48px; --field-border: #cbd2db; --field-bg: #f7f8fa; }
input.field:not([type="file"]), select.field {
  -webkit-appearance: none !important; appearance: none !important;
  display: block !important; box-sizing: border-box !important;
  width: 100% !important; min-width: 0 !important;
  height: var(--field-height) !important; min-height: var(--field-height) !important; max-height: var(--field-height) !important;
  margin: 0 0 12px !important; padding: 0 12px !important;
  font: inherit !important; font-size: 15px !important; line-height: 22px !important;
  border: 1px solid var(--field-border) !important; border-radius: 9px !important;
  background-color: var(--field-bg) !important; color: var(--ink) !important;
  box-shadow: none !important; vertical-align: middle !important;
}
select.field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 18px 18px !important;
  padding-right: 38px !important; cursor: pointer;
}
input.field[type="date"] { text-align: left !important; }
input.field[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 22px; height: 22px; line-height: 22px; margin: 0; padding: 0; }
input.field[type="date"]::-webkit-datetime-edit { padding: 0; line-height: 22px; }
input.field[type="date"]::-webkit-calendar-picker-indicator { margin: 0; cursor: pointer; }
input.field::-webkit-inner-spin-button, input.field::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.entryfields { align-items: start !important; }
.entryfields > div { display: grid !important; grid-template-rows: auto var(--field-height); align-content: start; gap: 7px; min-width: 0; margin-bottom: 12px; }
.entryfields > div > label { margin: 0 !important; line-height: 18px; }
.entryfields > div > .field, .mixedtable .field:not(textarea) { margin: 0 !important; }
.mixedtable td { vertical-align: middle; }
input.field[type="file"] { box-sizing: border-box; width: 100%; min-width: 0; min-height: var(--field-height); font: inherit; }
textarea.field { box-sizing: border-box; width: 100%; min-width: 0; min-height: var(--field-height); font: inherit; }
input.field:focus, select.field:focus, textarea.field:focus { border-color: #a37b00 !important; }
@media(max-width: 760px) { input.field:not([type="file"]), select.field { font-size: 16px !important; } }
