/* The home search box and the header box of every other page (ADR-015 Am.3)'s autocomplete list (site ADR-015) on the S320 home (ADR-037): the .sg rules of lanes/home.css, scoped
   to the live box, with the site.css tokens they read (the S320 home does not load site.css). */
.d320 .h3-hero,.d320 .f3,.d320 .s3-find{--ink2:#3D434C;--ink3:#69707A;--ground:#F5F6F8;--navy-lt:#E8EDF3;--line:#DADDE2;--gyeong:#1565C0;--gong:#2E7D32;--bun:#C2185B;--mae:#9C27B0;--sil:#D84315}
.d320 .f3.live{display:block;position:relative;height:auto;overflow:visible;background:none;border-radius:0}
.d320 .f3.live .find-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.d320 .f3.live .box{display:flex;height:52px;border-radius:12px;overflow:hidden;background:#fff}
@media(min-width:1024px){.d320 .f3.live{height:auto}.d320 .f3.live .box{height:56px}}
.d320 .f3.live .clear{flex:none;border:0;background:none;padding:0 14px;color:var(--ink3);font:inherit;font-size:14px;cursor:pointer}
.d320 .f3 .sg,.d320 .s3-find .sg{color:var(--ink)}
.d320 :where(.s3-find,.f3) .sg{position:absolute;left:0;right:0;top:100%;margin-top:8px;z-index:30;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:rgba(20,23,28,.18) 0 12px 32px;overflow:hidden}
.d320 .sg-body{overflow-y:auto;overscroll-behavior:contain;max-height:520px}
.d320 .sg ul{list-style:none;margin:0;padding:0}
.d320 .sg-note{margin:0;padding:12px 16px;border-bottom:1px solid var(--line);color:var(--ink2);font-size:14px}
.d320 .sg .gh{display:flex;justify-content:space-between;align-items:baseline;padding:12px 16px 4px;font-size:14px;font-weight:700;color:var(--ink2);margin:0}
.d320 .sg .gh.h-gyeong{color:var(--gyeong)}.sg .gh.h-gong{color:var(--gong)}.sg .gh.h-bun{color:var(--bun)}.sg .gh.h-mae{color:var(--mae)}.sg .gh.h-sil{color:var(--sil)}
.d320 .sg .gn{font-weight:400;color:var(--ink3)}
.d320 .sg .gs{margin:0;padding:0 16px 4px;font-size:14px;color:var(--ink3)}
.d320 .sg .g-fuzzy{border-top:1px solid var(--line);margin-top:4px}
.d320 .sg .row{display:grid;grid-template-columns:14px minmax(0,1fr) auto auto;align-items:center;gap:0 10px;min-height:48px;padding:3px 16px;cursor:pointer}
.d320 .sg .row.on{background:var(--navy-lt)}
.d320 .sg .dot{width:8px;height:8px;border-radius:2px;border:1px solid #9AA0A8;box-sizing:border-box}
.d320 .sg .dot.h-gyeong{background:var(--gyeong);border-color:var(--gyeong)}.sg .dot.h-gong{background:var(--gong);border-color:var(--gong)}
.d320 .sg .dot.h-bun{background:var(--bun);border-color:var(--bun)}.sg .dot.h-mae{background:var(--mae);border-color:var(--mae)}.sg .dot.h-sil{background:var(--sil);border-color:var(--sil)}
.d320 .sg .guess .dot{background:none;border:1px dashed #9AA0A8;border-radius:50%}
.d320 .sg .txt{display:flex;flex-direction:column;min-width:0}
.d320 .sg .t{font-size:16px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}
.d320 .sg .guess .t{font-weight:400}
.d320 .sg mark{background:#E6E8EB;color:inherit;font-weight:800;border-radius:2px}
.d320 .sg .l{font-size:14px;color:var(--ink3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.45}
.d320 .sg .l .w{color:var(--ink2);font-weight:600}
.d320 .sg .w.h-gyeong{color:var(--gyeong)}.sg .w.h-gong{color:var(--gong)}.sg .w.h-bun{color:var(--bun)}.sg .w.h-mae{color:var(--mae)}.sg .w.h-sil{color:var(--sil)}
.d320 .sg .sep{margin:0 6px;color:#9AA0A8}
.d320 .sg .tail{display:inline-block;margin-left:6px;padding:0 6px;border:1px solid var(--ink3);border-radius:3px;color:var(--ink2);line-height:1.4}
.d320 .sg .guess .tail{border-style:dashed}
.d320 .sg .go{font-size:14px;color:var(--ink3);white-space:nowrap}
.d320 .sg .go kbd{display:none;margin-right:8px;padding:0 6px;border:1px solid var(--navy);border-radius:3px;font:inherit;font-weight:600;color:var(--navy);background:#fff}
.d320 .sg .row.on .go kbd{display:inline-block}
.d320 .sg .none .go{color:#9AA0A8}
.d320 .sg .del{height:32px;padding:0 10px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink2);font:inherit;font-size:14px;cursor:pointer}
.d320 .sg .link{border:0;background:none;padding:0;color:var(--ink);font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.d320 .sg .examples{padding:4px 0 8px}
.d320 .sg .chips{display:flex;flex-wrap:wrap;gap:8px;padding:6px 16px 0}
.d320 .sg .chip{height:40px;padding:0 16px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink3);font:inherit;font-size:14px;cursor:pointer}
.d320 .sg .chip b{color:var(--ink);font-weight:600;margin-right:4px}
.d320 .sg .hint{margin:12px 16px 4px;font-size:14px;color:var(--ink2)}
.d320 .sg .bones li{display:grid;grid-template-columns:14px 1fr 64px;grid-template-rows:auto auto;gap:6px 10px;align-items:center;padding:12px 16px}
.d320 .sg .bones span{display:block;height:10px;border-radius:2px;background:var(--ground)}
.d320 .sg .bones span:first-child{width:8px;height:8px;grid-row:1/3}
.d320 .sg .bones span:nth-child(2){width:60%}
.d320 .sg .bones span:nth-child(3){grid-column:3;grid-row:1/3}
.d320 .sg-msg{padding:16px}
.d320 .sg-msg p{margin:0 0 4px;font-size:14px;color:var(--ink2)}
.d320 .sg-msg .h{font-size:16px;font-weight:700;color:var(--ink);margin-bottom:6px}
.d320 .sg-msg .acts{display:flex;gap:16px;align-items:center;margin-top:12px}
.d320 .sg-msg .acts a{color:var(--ink);font-size:14px;text-decoration:underline;text-underline-offset:3px}
.d320 .sg-msg .retry{height:40px;padding:0 16px;border:0;border-radius:4px;background:var(--ink);color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.d320 .sg-foot{display:flex;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid var(--line);background:var(--ground);font-size:14px;color:var(--ink3)}
.d320 .sg-status{margin:0}
@media (max-width:600px){
  .lf-typing .d320 .h3-when,.lf-typing .d320 .h3-hero h1,.lf-typing .d320 .h3-quick,.lf-typing .d320 .h3-dtiles{display:none}
  .d320 .sg .row{min-height:56px;grid-template-columns:14px minmax(0,1fr) auto}
  .d320 .sg .row .del{grid-column:3}
  .d320 .sg .row.recent .go{display:none}
  .d320 .sg-keys{display:none}
}
.d320 .s3-find.live{position:relative;overflow:visible}
.d320 .s3-find.live input{border-radius:8px 0 0 8px}
.d320 .s3-find.live button[type=submit]{border-radius:0 8px 8px 0}
.d320 .s3-find.live .clear{flex:none;border:0;background:#fff;color:var(--ink3);padding:0 12px;font-size:14px;font-weight:400}
.d320 .s3-find .sg{min-width:480px}
.d320 .f3.live.ink{border:0}.d320 .f3.live.ink .box{border:2px solid var(--navy)}
