
/* TOOLKIT Premium UI 2026 — homepage only; original tool processing untouched */
body{background:linear-gradient(180deg,#f4f9ff 0%,#f7faff 650px,#f9fbff 100%);color:#132542}
.top{border-bottom:1px solid #e2edfa;background:rgba(255,255,255,.9);backdrop-filter:blur(14px)}
.premium-brand{gap:10px;letter-spacing:-1.6px;font-weight:950!important}
.premium-logo-cube{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#64b9ff,#1762ef);color:white;font-size:21px;transform:rotate(-10deg);box-shadow:0 6px 16px #2c78f444}
.container{max-width:1200px}
.premium-hero{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr)!important;grid-template-areas:'copy bear'!important;align-items:center!important;min-height:385px!important;padding:42px 42px 40px!important;margin-top:28px!important;overflow:visible!important;border:1px solid #d9eaff!important;border-radius:32px!important;background:radial-gradient(ellipse at 78% 34%,#d5eaff 0%,transparent 46%),linear-gradient(135deg,#f8fcff,#eaf4ff 75%,#e3f0ff)!important;box-shadow:0 18px 48px rgba(31,83,151,.08)!important;text-align:left!important}
.premium-copy{grid-area:copy;min-width:0;position:relative;z-index:3}
.premium-hero .hero-kicker{display:inline-flex!important;margin:0 0 18px!important;border-radius:999px!important;padding:9px 14px!important;background:#e6f2ff!important;color:#1564d8!important;font-weight:850!important;font-size:14px!important}
.premium-hero h1{font-size:clamp(32px,3.5vw,50px)!important;line-height:1.19!important;letter-spacing:-2px!important;color:#112445!important;margin:0 0 16px!important}
.premium-accent{color:#146cf2}
.premium-hero p{font-size:16px!important;line-height:1.75!important;color:#586e8b!important;margin:0 0 24px!important}
.premium-hero .premium-mascot{grid-area:bear;position:relative!important;width:min(100%,340px)!important;height:345px!important;margin:0 auto!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;background:none!important;overflow:visible!important;z-index:1}
.premium-hero .premium-mascot img{width:290px!important;max-width:90%!important;height:335px!important;object-fit:contain!important;object-position:center bottom!important;border-radius:0!important;mix-blend-mode:normal!important;filter:drop-shadow(0 16px 18px rgba(75,122,172,.15));position:relative;z-index:2}
.premium-mascot:after{content:'';position:absolute;bottom:6px;width:88%;height:40px;background:#88b5e744;filter:blur(19px);border-radius:50%;z-index:0}
.premium-float{position:absolute;z-index:3;display:grid;place-items:center;border:2px solid #ffffffcc;box-shadow:0 10px 20px #4a79b02e,inset 0 2px 4px #ffffff88;border-radius:14px;font-weight:950;transform:rotate(-10deg)}
.premium-float-pdf{left:0;top:40px;background:linear-gradient(135deg,#ff7878,#ec333a);color:#fff;width:57px;height:65px;font-size:19px}
.premium-float-excel{right:-6px;top:38px;background:linear-gradient(135deg,#50d796,#078c54);color:#fff;width:54px;height:61px;font-size:28px;transform:rotate(10deg)}
.premium-float-photo{left:0;top:155px;background:linear-gradient(135deg,#62b9ff,#1669eb);color:#fff;width:60px;height:57px;font-size:31px;transform:rotate(10deg)}
.premium-float-word{right:-12px;top:136px;background:linear-gradient(135deg,#60b5ff,#1c55c4);color:#fff;width:49px;height:55px;font-size:26px}
.premium-float-video{left:50px;bottom:24px;background:linear-gradient(135deg,#ffc861,#fa9d1e);color:#fff;width:55px;height:51px;font-size:24px}
.premium-float-hwp{right:5px;bottom:68px;background:linear-gradient(135deg,#ba8bff,#8350d8);color:#fff;width:54px;height:58px;font-size:14px;transform:rotate(12deg)}
.premium-search{position:relative!important;width:min(750px,100%)!important;max-width:none!important;margin:0!important;border:2px solid #74b0ff!important;background:white!important;box-shadow:0 9px 25px #4d9eff24!important;border-radius:18px!important;z-index:8}
.premium-search input{min-height:58px!important;font-size:16px!important}
.premium-search:focus-within{border-color:#176df2!important;box-shadow:0 0 0 4px #3e9fff25!important}
.premium-keywords{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;color:#416080;font-size:13px;font-weight:750}
.premium-keyword{appearance:none;border:1px solid #d6e7fc;border-radius:999px;padding:8px 13px;background:#fff;color:#345983;cursor:pointer;font-size:12px;font-weight:800;min-height:37px}
.premium-keyword:hover,.premium-keyword:focus-visible{background:#e5f1ff;border-color:#70adff;outline-offset:2px}
.premium-hero .toolkit-brand-promises{display:none!important}
.premium-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:16px 0 34px;padding:14px;background:#fff;border:1px solid #e8eff9;border-radius:22px;box-shadow:0 12px 30px #396da00c}
.premium-shortcut{display:flex;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;color:#162b4b;min-width:0;border-radius:14px}
.premium-shortcut:hover{background:#f3f8ff}
.premium-shortcut-icon,.premium-popular-icon{flex:none;display:grid;place-items:center;width:49px;height:49px;border-radius:15px;background:linear-gradient(145deg,#b8e2ff,#3b8ef5);color:#fff;font-weight:950;font-size:24px;box-shadow:inset 0 2px 4px #ffffff88,0 7px 14px #2e81dd2b}
.premium-shortcut[data-kind=pdf] .premium-shortcut-icon,.premium-popular-card[data-kind=pdf] .premium-popular-icon{background:linear-gradient(145deg,#ffb5ae,#ee3c49);font-size:13px}
.premium-shortcut[data-kind=excel] .premium-shortcut-icon{background:linear-gradient(145deg,#89e7a8,#0a965b)}
.premium-shortcut[data-kind=qr] .premium-shortcut-icon{background:linear-gradient(145deg,#c5a6ff,#8053d8)}
.premium-shortcut-text{display:flex;flex-direction:column;min-width:0;gap:3px}
.premium-shortcut-text strong{font-size:14px;white-space:nowrap}
.premium-shortcut-text small{font-size:11px;color:#7a8ba2;white-space:nowrap}
.premium-shortcut-arrow{margin-left:auto;color:#1676f5;font-size:18px}
.category-overview{margin-top:22px!important}
.category-overview .section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.premium-all-link{font-size:14px;color:#1675ef;text-decoration:none;font-weight:800}
.category-overview .category-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important}
.category-overview .premium-category{position:relative;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-height:208px!important;height:auto!important;padding:22px 16px!important;border:1px solid #e1ebf8!important;border-radius:22px!important;background:linear-gradient(160deg,#e7f4ff 0%,#f9fcff 65%,#fff 100%)!important;box-shadow:0 8px 22px #2c65a70c!important;gap:9px!important;overflow:hidden}
.category-overview .premium-category:nth-child(2){background:linear-gradient(160deg,#ffe9ea,#fff 75%)!important}
.category-overview .premium-category:nth-child(3){background:linear-gradient(160deg,#e7fbf0,#fff 75%)!important}
.category-overview .premium-category:nth-child(4){background:linear-gradient(160deg,#e9edff,#fff 75%)!important}
.category-overview .premium-category:nth-child(5){background:linear-gradient(160deg,#f1e9ff,#fff 75%)!important}
.category-overview .premium-category:nth-child(6){background:linear-gradient(160deg,#fff2de,#fff 75%)!important}
.category-overview .premium-category>.premium-category-icon{width:78px!important;height:78px!important;flex:0 0 78px!important;border-radius:24px!important;box-shadow:0 10px 19px #2c65a71b,inset 0 2px 5px #fff!important;transform:rotate(-5deg);background:linear-gradient(140deg,#d5eeff,#69b0ff)!important;color:#156ae6!important}
.category-overview .premium-category:nth-child(2)>.premium-category-icon{background:linear-gradient(140deg,#ffe2e0,#ff9a9e)!important;color:#dc354a!important}
.category-overview .premium-category:nth-child(3)>.premium-category-icon{background:linear-gradient(140deg,#c9f9df,#6dd8a0)!important;color:#16815c!important}
.category-overview .premium-category:nth-child(4)>.premium-category-icon{background:linear-gradient(140deg,#dce1ff,#a6b4ff)!important;color:#5754c9!important}
.category-overview .premium-category:nth-child(5)>.premium-category-icon{background:linear-gradient(140deg,#e7d7ff,#bba0ff)!important;color:#7650bd!important}
.category-overview .premium-category:nth-child(6)>.premium-category-icon{background:linear-gradient(140deg,#fff0ca,#ffd78b)!important;color:#a36b1b!important}
.category-overview .premium-category .tk-icon{width:44px;height:44px;stroke-width:1.9;filter:drop-shadow(0 2px 2px #ffffff88)}
.category-overview .premium-category b{font-size:19px!important;color:#162944!important}
.category-overview .premium-category-desc{display:block!important;color:#78899e;font-size:13px;line-height:1.5}
.category-overview .premium-category-go{display:grid;place-items:center;border-radius:50%;background:#e6f2ff;color:#1473f6;width:32px;height:32px;font-size:19px;font-weight:800}
.category-overview .premium-category:hover{transform:translateY(-4px)!important;box-shadow:0 16px 30px #236ac21b!important}
.premium-popular{margin-top:42px!important}
.premium-popular .section-title{display:flex;justify-content:flex-start;align-items:baseline;gap:16px;flex-wrap:wrap}
.premium-popular-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.premium-popular-card{position:relative;display:flex;flex-direction:column;gap:10px;min-height:193px;padding:20px;border:1px solid #e4edf8;border-radius:21px;background:#fff;box-shadow:0 7px 22px #23579e0a;text-decoration:none;color:#182944}
.premium-popular-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #23579e18}
.premium-popular-card strong{font-size:17px}
.premium-popular-card small{font-size:13px;color:#8290a5;line-height:1.5}
.premium-popular-arrow{position:absolute;right:18px;bottom:17px;background:#eaf4ff;color:#1874f1;width:29px;height:29px;border-radius:50%;display:grid;place-items:center}
.premium-popular-card[data-kind=document] .premium-popular-icon{background:linear-gradient(145deg,#b7c6e6,#637ba5);font-size:12px}
.premium-popular-card[data-kind=video] .premium-popular-icon{background:linear-gradient(145deg,#95b5ff,#3569ee)}
@media(min-width:960px){.premium-hero .premium-search{width:min(810px,calc(100% + 240px))!important}.premium-hero .premium-keywords{width:min(810px,calc(100% + 240px))}}
@media(max-width:760px){.premium-hero{display:flex!important;flex-direction:column!important;text-align:center!important;padding:26px 18px 27px!important;gap:0!important;min-height:0!important;margin-top:18px!important;border-radius:26px!important;overflow:hidden!important}.premium-copy{display:contents!important}.premium-hero .hero-kicker{order:1!important;align-self:center!important;margin:0 0 14px!important}.premium-hero h1{order:2!important;font-size:clamp(30px,6vw,42px)!important;letter-spacing:-1.4px!important;margin:0 0 12px!important}.premium-hero p{order:3!important;font-size:14px!important;line-height:1.75!important;margin:0 0 16px!important}.premium-hero .premium-mascot{order:0!important;height:240px!important;width:270px!important;max-width:100%!important;margin:0 auto 8px!important}.premium-hero .premium-mascot img{height:240px!important;width:210px!important}.premium-float{transform:scale(.76)!important}.premium-float-pdf{left:4px;top:17px}.premium-float-excel{right:4px;top:20px}.premium-float-photo{left:0;top:105px}.premium-float-word{right:0;top:100px}.premium-float-video{left:27px;bottom:0}.premium-float-hwp{right:20px;bottom:15px}.premium-hero .premium-search{order:4!important;width:100%!important;margin:0!important}.premium-hero .premium-keywords{order:5!important;justify-content:center;margin-top:12px}.premium-hero .toolkit-brand-promises{display:none!important}.premium-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}.premium-shortcut{padding:8px}.category-overview .category-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.premium-popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.premium-hero{padding:22px 13px!important}.premium-hero h1{font-size:30px!important}.premium-hero p{font-size:13px!important}.premium-hero .premium-mascot{height:215px!important}.premium-hero .premium-mascot img{height:215px!important;width:190px!important}.premium-keyword{font-size:11px;padding:7px 10px}.premium-shortcut-icon{width:41px;height:41px;font-size:21px}.premium-shortcut-text strong{font-size:12px}.premium-shortcut-text small{font-size:10px}.premium-shortcut-arrow{display:none}.category-overview .premium-category{min-height:185px!important;padding:17px 10px!important}.category-overview .premium-category>.premium-category-icon{width:65px!important;height:65px!important;flex-basis:65px!important}.category-overview .premium-category .tk-icon{width:36px;height:36px}.category-overview .premium-category b{font-size:16px!important}.category-overview .premium-category-desc{font-size:11px}.premium-popular-card{padding:15px;min-height:184px}.premium-popular-card strong{font-size:15px}.premium-popular-card small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.premium-popular-card,.premium-category,.premium-shortcut{transition:none!important}}

/* v4: single-line swipeable search terms, no orphan last item */
.premium-hero .premium-keywords{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden;justify-content:flex-start!important;align-items:center;gap:8px;max-width:100%;padding:4px 2px 12px;scrollbar-width:thin;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.premium-hero .premium-keywords>span,.premium-hero .premium-keywords>button{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}
.premium-hero .premium-keywords>span{position:sticky;left:0;z-index:1;background:#eaf4ff;padding:9px 10px;border-radius:12px}
.tk-premium-art{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 4px 4px #1e508422)}
.premium-shortcut-icon,.premium-popular-icon{background:transparent!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
.premium-shortcut-icon .tk-premium-art,.premium-popular-icon .tk-premium-art{width:100%;height:100%}
.category-overview .premium-category>.premium-category-icon{background:transparent!important;box-shadow:none!important;transform:none!important;border-radius:0!important}
.category-overview .premium-category .tk-premium-art{width:100%;height:100%;filter:drop-shadow(0 6px 5px #24508025)}
.tool-card .emoji{display:grid;place-items:center;overflow:visible!important}
.tool-card .emoji .tk-premium-art{width:100%;height:100%;min-width:32px;min-height:32px}
@media(max-width:760px){.premium-hero .premium-keywords{justify-content:flex-start!important;width:100%!important}.premium-hero .premium-keywords>span{font-size:12px}}

/* v5: transparent icon presentation; preserve actual clickable cards */
.category-overview .premium-category>.premium-category-icon,
.category-overview .category-card>.category-icon,
.premium-shortcut-icon,.premium-popular-icon,
.tool-card .emoji,.category-heading-icon,
.premium-category .tk-premium-art,.tool-card .tk-premium-art {
 background:transparent!important;background-image:none!important;
 border:0!important;box-shadow:none!important;outline:0!important;
 border-radius:0!important;filter:none!important;
}
.category-overview .premium-category>.premium-category-icon{transform:none!important}
.tk-premium-art{background:transparent!important;border:0!important;box-shadow:none!important}

/* v6: transparent icon containers on every screen; icons have object silhouettes only */
.category-icon,.premium-category-icon,.premium-shortcut-icon,.premium-popular-icon,
.category-heading-icon,.tool-card .emoji,.tk-premium-art,
.category-card .category-icon,.premium-category .tk-premium-art,
.premium-shortcut-icon:before,.premium-popular-icon:before,
.category-icon:before,.category-icon:after {
 background:transparent!important;background-image:none!important;
 border:0!important;outline:0!important;box-shadow:none!important;
 filter:none!important;backdrop-filter:none!important;
}
.category-icon:before,.category-icon:after {content:none!important}
.tk-premium-art{object-fit:contain!important;filter:none!important}

/* v7 verified: remove only icon BACKPLATES, not clickable card backgrounds */
.premium-category-icon,.premium-shortcut-icon,.premium-popular-icon,
.category-icon,.category-heading-icon,.tool-card .emoji,
.tk-premium-art,.tk-premium-art::before,.tk-premium-art::after {
  background:transparent!important;background-color:transparent!important;
  background-image:none!important;box-shadow:none!important;border:0!important;
  outline:0!important;filter:none!important;backdrop-filter:none!important;
}
.premium-category-icon::before,.premium-category-icon::after,
.category-icon::before,.category-icon::after{content:none!important}
.premium-category-icon img,.premium-shortcut-icon img,.premium-popular-icon img,
.tool-card .emoji img{background:transparent!important;box-shadow:none!important;filter:none!important}

/* Precision v8: icons have NO tile behind them; keep only their actual glyph. */
.category-overview .premium-category .premium-category-icon,
.category-overview .premium-category .premium-category-icon::before,
.category-overview .premium-category .premium-category-icon::after,
.premium-shortcut-icon,.premium-popular-icon,.tool-card .emoji,
.category-overview .premium-category .tk-premium-art {
  background:transparent!important;background-image:none!important;
  box-shadow:none!important;border:0!important;outline:0!important;
}
.premium-category-icon::before,.premium-category-icon::after,
.premium-shortcut-icon::before,.premium-shortcut-icon::after,
.premium-popular-icon::before,.premium-popular-icon::after{content:none!important;display:none!important}
html,body{max-width:100%;overflow-x:clip}
.premium-hero{max-width:100%;min-width:0;box-sizing:border-box}
.premium-copy,.premium-hero h1,.premium-hero p{min-width:0;max-width:100%}
@media(max-width:760px){
.premium-hero{width:100%;max-width:100%;box-sizing:border-box}
.premium-hero h1{font-size:clamp(27px,7vw,40px)!important;overflow-wrap:normal;word-break:keep-all}
.premium-hero p{overflow-wrap:break-word}
.premium-hero .premium-mascot{max-width:100%!important}
}

/* v9: uploaded polar bear, transparent silhouette, no baked-in backdrop */
.premium-mascot>img{object-fit:contain!important;background:transparent!important;mix-blend-mode:normal!important;clip-path:none!important;mask:none!important}

/* v10: no square backing behind artwork anywhere */
.category-icon,.premium-category-icon,.premium-shortcut-icon,.premium-popular-icon,.tool-card .emoji,.tool-card-top .emoji,.category-heading-icon{background:transparent!important;background-image:none!important;box-shadow:none!important;border:none!important;outline:none!important;filter:none!important;transform:none!important}
.category-icon::before,.category-icon::after,.premium-category-icon::before,.premium-category-icon::after,.premium-shortcut-icon::before,.premium-shortcut-icon::after,.premium-popular-icon::before,.premium-popular-icon::after{content:none!important;display:none!important}
.tk-premium-art,.tk-icon-only{background:transparent!important;box-shadow:none!important;filter:none!important;object-fit:contain!important}
.tool-card .emoji .tk-icon-only{width:58px;height:58px;display:block}
.tk-menu-trigger{font:inherit;cursor:pointer;border:0;background:transparent;color:inherit}
.tk-category-menu{position:fixed;top:80px;right:max(16px,calc((100vw - 1200px)/2));z-index:9999;width:min(330px,calc(100vw - 32px));padding:12px;border:1px solid #d8e6f7;border-radius:20px;background:#fff;box-shadow:0 20px 50px #163c742b;display:grid;grid-template-columns:1fr 1fr;gap:7px}
.tk-category-menu[hidden]{display:none!important}
.tk-category-menu a{display:flex;align-items:center;min-height:52px;padding:12px;border-radius:12px;background:#f3f8ff;color:#183963;font-size:14px;font-weight:750;text-decoration:none}
.tk-category-menu a:focus-visible,.tk-category-menu a:hover{background:#dfedff;outline:2px solid #438af3}
@media(max-width:760px){.tk-category-menu{top:78px;right:12px}}

/* Header/menu alignment: prevent narrow mobile grid columns from wrapping labels. */
.top{grid-template-columns:minmax(78px,1fr) auto minmax(78px,1fr);column-gap:8px}
.top .top-side{min-width:0;white-space:nowrap;line-height:1.3}
.top .top-side.right{justify-self:end;text-align:right}
.top .tk-menu-trigger{display:inline-flex;align-items:center;justify-content:flex-end;width:max-content;max-width:100%;padding:8px 0;font-size:clamp(12px,3.2vw,16px);font-weight:800;white-space:nowrap;word-break:keep-all;overflow-wrap:normal}
.tk-category-menu{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.tk-category-menu a{justify-content:center;text-align:center;min-width:0;min-height:56px;padding:10px 6px;line-height:1.35;word-break:keep-all;overflow-wrap:normal;white-space:nowrap;font-size:clamp(12px,3.25vw,15px)}
@media(max-width:420px){.top{grid-template-columns:minmax(65px,1fr) auto minmax(65px,1fr);padding-inline:12px;column-gap:5px}.tk-category-menu{width:min(330px,calc(100vw - 24px));right:12px;padding:10px;gap:8px}}
