:root{font-family:system-ui,-apple-system,"Noto Sans KR","Apple SD Gothic Neo",sans-serif;color:#18212c;background:#edf1f3;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation}a{color:inherit}.shell{max-width:540px;min-height:100dvh;background:#fff;margin:0 auto;box-shadow:0 0 50px #192b3716;padding-bottom:calc(88px + env(safe-area-inset-bottom))}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:#0b1520;color:#fff}.logo{display:flex;align-items:center;gap:10px}.logo-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#4bd9c6;color:#062023;font-weight:900;font-size:20px}.logo strong{display:block;font-size:14px;letter-spacing:-.4px}.logo small{display:block;font-size:10px;letter-spacing:1.6px;color:#afbdc3;margin-top:2px}.topstatus{font-size:10px;color:#c6d6d9;white-space:nowrap}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#45ddae;margin-right:3px}.hero{background:linear-gradient(130deg,#101e29 0%,#162e34 72%,#0e4844 100%);color:#fff;padding:29px 23px 30px}.eyebrow{font-size:10px;letter-spacing:2.3px;color:#80eadd;font-weight:800;margin:0 0 14px}.hero h1{font-size:clamp(25px,7vw,32px);line-height:1.34;letter-spacing:-1.1px;margin:0 0 13px}.hero h1 em{color:#5ce7d5;font-style:normal}.hero p:not(.eyebrow){color:#c5d7db;font-size:12px;line-height:1.9;margin:0}.hero-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:20px}.hero-chips span{font-size:10px;padding:7px 9px;background:#ffffff14;border:1px solid #ffffff18;border-radius:20px}.stepbar{padding:15px 22px 10px;display:flex;align-items:center;justify-content:space-between;background:#f9fbfb;border-bottom:1px solid #edf0f0}.stepbar span:first-child{color:#0f6460;font-weight:800;font-size:13px}.stepbar span:last-child{font-size:10px;color:#82919a}.panel{display:none;padding:24px 21px 28px}.panel.active{display:block}.pane-title{display:flex;gap:12px;align-items:center;margin-bottom:24px}.count{display:grid;place-items:center;flex:0 0 39px;height:39px;background:#e5f9f5;color:#007b70;border-radius:12px;font-size:15px;font-weight:800}.pane-title h2{font-size:20px;letter-spacing:-.7px;margin:0 0 3px}.pane-title p{font-size:12px;color:#7b8691;margin:0}label:not(.upload):not(.toggle){display:block;font-weight:750;font-size:12px;margin:18px 0 9px}.optional,.required{font-weight:500;font-size:10px;margin-left:3px}.optional{color:#89949d}.required{color:#007f72}input:not([type=checkbox]):not([type=range]):not([type=file]),textarea,select{width:100%;border:1px solid #dce5e8;background:#fff;padding:13px 12px;border-radius:12px;color:#152331;outline:none;font-size:14px;min-height:45px}input:focus,textarea:focus,select:focus{border-color:#2bb9ae!important;box-shadow:0 0 0 3px #2bb9ae1c}textarea{resize:vertical;line-height:1.7;min-height:90px}input::placeholder,textarea::placeholder{color:#a2b0b6}input[type=range]{width:100%;accent-color:#0a9a8c}.hint{font-size:11px;line-height:1.7;color:#788690;margin:8px 2px 14px}.tip{background:#f1f8f7;border-radius:14px;padding:16px;margin:22px 0 24px;border:1px solid #e2f0ed}.tip strong{font-size:12px;color:#006e67}.tip p{font-size:12px;line-height:1.75;margin:6px 0 0;color:#3f6968}.tip.small{margin-top:0}.primary,.secondary,.danger{border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:45px;padding:10px 12px;font-size:13px;font-weight:780;text-align:center;border:0;text-decoration:none}.primary{color:#082c2a;background:#52e2d0;width:100%;margin-top:13px}.primary span{margin-left:auto;margin-right:7px;font-size:19px}.secondary{border:1px solid #d5e5e4;background:#f7faf9;color:#285955}.danger{width:100%;color:#a42d31;background:#ffecee;border:1px solid #ffd0d4;margin-top:9px}.actionrow{display:flex;gap:8px;margin:6px 0 12px}.actionrow>*{flex:1}.text-link{color:#087a72;font-size:12px;text-decoration:underline;font-weight:700;margin-bottom:7px}.searchrow{display:flex;gap:7px}.searchrow input{flex:1;min-width:0}.searchlinks{display:flex;gap:7px;margin:12px 0 23px}.searchlinks button{flex:1;border:1px solid #d6e5e3;padding:10px 5px;border-radius:9px;background:#fbfdfd;color:#236661;font-weight:720;font-size:12px}.upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #a3d5cb;border-radius:16px;background:#f5fbf9;min-height:147px;color:#1b6d65;padding:17px;text-align:center;cursor:pointer}.uploadicon{font-size:27px;font-weight:500;width:44px;height:44px;border-radius:50%;background:#daf5ec;display:grid;place-items:center}.upload strong{font-size:14px}.upload small{font-size:10px;color:#819692}.visually-hidden{position:absolute!important;opacity:0;width:1px!important;height:1px!important;overflow:hidden;clip-path:inset(50%)}.filemeta{font-size:11px;font-weight:650;color:#7e898f;margin:18px 0 10px}.clipslist{display:grid;gap:12px}.empty{min-height:145px;text-align:center;display:grid;place-content:center;line-height:1.9;background:#f7f8f8;border-radius:13px;color:#8a979e;font-size:12px}.clipcard{border:1px solid #e1e8e9;border-radius:15px;padding:11px;display:grid;grid-template-columns:91px 1fr;gap:12px;overflow:hidden}.clipcard video{width:91px;height:128px;object-fit:cover;border-radius:9px;background:#101a20}.clipdetail{min-width:0}.clipdetail strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clipdetail small{font-size:10px;color:#89949c}.trimrow{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}.trimrow label{margin:0!important;font-size:10px!important;color:#768894}.trimrow input{min-height:29px!important;height:30px;padding:5px!important;font-size:12px!important;margin-top:3px}.clipbuttons{display:flex;gap:4px;margin-top:7px}.clipbuttons button{background:#edf6f5;border:0;border-radius:7px;font-size:11px;color:#41736d;padding:7px 9px}.clipbuttons .remove{margin-left:auto;background:#faeeee;color:#ae5959}.design-preview{width:min(78%,290px);aspect-ratio:9 / 16;margin:0 auto 15px;box-shadow:0 12px 30px #0a30302b;background:#14252f;border:4px solid #18252b;border-radius:12px;overflow:hidden}.design-preview canvas{display:block;width:100%;height:100%}.preview-actions{display:flex;gap:8px}.preview-actions button{flex:1}.fieldrow{padding:15px 0;border-bottom:1px solid #edf1f2}.toggle{display:flex;align-items:center;gap:11px;margin:0;font-size:13px;font-weight:630;cursor:pointer}.toggle input{width:18px;height:18px;accent-color:#009b8e}.exportsummary{border:1px solid #e5eeee;border-radius:12px;margin:14px 0;padding:14px 16px;background:#fbfdfc;color:#536b70;font-size:12px;line-height:1.8}.exportsummary p{margin:0}.progress-area{margin:20px 0 4px}.meter{background:#e7f2f0;height:10px;border-radius:20px;overflow:hidden}.meter>div{width:0%;height:100%;background:#29b5a4;transition:width .2s}.progress-area p{text-align:center;color:#16756e;font-weight:700;font-size:12px}.result{text-align:center;border:1px solid #d5f2e4;background:#f4fbf8;border-radius:16px;margin-top:20px;padding:22px 17px}.result .successicon{display:grid;place-items:center;margin:0 auto 10px;background:#30a982;color:white;width:42px;height:42px;border-radius:50%;font-size:24px}.result h3{margin:0;font-size:16px}.result p{font-size:11px;color:#748985;line-height:1.7}.result .download{margin:14px 0 7px}.result .secondary{width:100%}.footnote{text-align:center;font-size:10px;color:#99a3a5;padding:20px 12px 7px}.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:540px;display:flex;background:#fff;border-top:1px solid #e8edee;padding:9px 7px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 30px #17272d0d}.bottom-nav button{flex:1;display:flex;flex-direction:column;gap:3px;align-items:center;border:none;background:transparent;color:#8c979d;font-size:21px;padding:3px 1px}.bottom-nav button.selected{color:#008d80}.bottom-nav small{font-size:10px;font-weight:770}.toast{position:fixed;z-index:30;left:50%;transform:translateX(-50%) translateY(130px);bottom:105px;width:max-content;max-width:min(90vw,480px);text-align:center;background:#11292e;color:#fff;border-radius:11px;padding:12px 16px;font-size:12px;line-height:1.5;box-shadow:0 12px 30px #0003;opacity:0;transition:.2s;pointer-events:none}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}[hidden]{display:none!important}@media(min-width:541px){.shell{min-height:100vh}.bottom-nav{border-left:1px solid #eaeaea;border-right:1px solid #eaeaea}}@media(max-width:350px){.topstatus{font-size:9px}.panel{padding:21px 15px}.hero{padding:25px 16px}}

/* v0.5 - 상품 자동분석·검색 연결 */
.import-status{margin:12px 0 14px;background:#f4faf9;border:1px solid #d8eae7;border-radius:12px;padding:12px;color:#426d6b;font-size:12px;line-height:1.65}
.import-status.warn{background:#fffaf0;border-color:#f4e1bf;color:#8d6220}
.import-status.ok{background:#e8faf4;border-color:#b2e8d8;color:#166b52}
.product-card{display:flex;gap:13px;border:1px solid #dcebe8;border-radius:14px;padding:11px;margin:12px 0;background:white}
.product-card img{width:90px;height:90px;object-fit:contain;border-radius:8px;background:#f4f6f6}
.product-card>div{min-width:0;flex:1}
.product-card strong{font-size:13px;line-height:1.4;display:block}
.product-card p{color:#57706d;font-size:11px;line-height:1.6;max-height:72px;overflow:auto;word-break:keep-all;margin:8px 0}
.product-card small{color:#8a9c9a;font-size:10px}
.suggestions{display:grid;gap:9px;margin:8px 0 20px}
.searchsuggest{border:1px solid #dbe9e8;border-radius:12px;padding:11px;background:#fbfefd}
.searchsuggest .query{font-size:14px;font-weight:700;color:#1d5550;word-break:break-word;display:block}
.searchsuggest .why{font-size:10px;color:#738c88;line-height:1.5;margin:4px 0 8px}
.searchsuggest .actions{display:flex;flex-wrap:wrap;gap:5px}
.searchsuggest button{border:1px solid #d0e8e2;background:#fff;border-radius:8px;padding:7px 9px;font-size:11px;color:#236d64;font-weight:750}
@media(max-width:360px){.searchsuggest button{padding:7px 6px;font-size:10px}}

/* v0.6 — product details / desktop page confirmation */
.feature-list{white-space:pre-line;max-height:170px!important;overflow-y:auto!important;color:#284e4b!important;background:#f0faf7;padding:8px;border-radius:8px;}
.desktop-link{padding:9px 12px;border:1px solid #d5eae7;border-radius:10px;display:flex;flex-direction:column;gap:5px;margin-top:8px;font-size:11px;color:#667c79;}
.desktop-link a{font-size:12px;color:#037d70;font-weight:700;text-decoration:underline;overflow-wrap:anywhere;}
.fallback-help{padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#fafafa;margin:12px 0;font-size:12px;color:#606b72;line-height:1.75;}
.fallback-help summary{cursor:pointer;font-weight:750;color:#314f52;}
.fallback-help p{margin-bottom:0;}

/* v0.9 쿠팡 캡처 인식 UI */
.ocr-panel{background:#f5fbfa;border:1px solid #b7e9de;border-radius:17px;padding:15px;margin:16px 0 20px}
.ocr-heading{display:flex;align-items:center;gap:10px}.ocr-icon{display:grid;place-items:center;background:#d9f3e9;border-radius:12px;width:39px;height:39px;font-size:23px}.ocr-heading strong{display:block;color:#145a53;font-size:14px}.ocr-heading small{display:block;font-size:10px;color:#648078;margin-top:4px}.ocr-panel>p:not(.hint){font-size:11px;color:#52736c;line-height:1.8;margin:12px 0}.ocr-upload{display:grid;place-items:center;text-align:center;gap:6px;background:white;border:2px dashed #8acbbc;border-radius:13px;min-height:89px;margin:6px 0 12px;padding:12px;cursor:pointer;color:#096b5c}.ocr-upload strong{font-size:13px}.ocr-upload small{font-size:10px;color:#77948e}.ocr-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin:5px 0}.ocr-thumbs img{width:68px;height:100px;object-fit:cover;border:1px solid #cdd8d7;border-radius:8px;background:white}.ocr-panel .primary{margin-top:8px}.ocr-panel .secondary{width:100%}.ocr-panel .fallback-help{background:white}.ocr-panel textarea{background:white}.ocr-panel .import-status{margin-top:11px;font-size:11px}.ocr-panel .hint{margin:10px 0 0}

/* v1.2: product-name search alternative (no scraping/API) */
.name-search-panel{background:#f2faf9;border:1px solid #a7e6db;border-radius:17px;padding:16px;margin:17px 0 18px}
.name-heading{display:flex;gap:10px;align-items:center}
.name-heading .name-icon{display:grid;place-items:center;background:#d9f8ef;border-radius:11px;font-size:21px;width:40px;height:40px;flex:none}
.name-heading strong{display:block;font-size:14px;color:#126459;line-height:1.35}
.name-heading small{display:block;font-size:11px;color:#7d9790;margin-top:4px}
.name-search-panel label{margin:13px 0 7px!important}
.name-search-panel .primary{margin-top:9px}
.name-search-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.name-search-links .secondary{font-size:11px;padding:9px 4px;min-height:46px}
.name-status{background:#fff;border:1px solid #dcefeb;border-radius:10px;padding:11px;margin:11px 0;font-size:11px;line-height:1.7;color:#57776e}
.name-status.active{border-color:#86d3c3;color:#146d5e}
.name-continue{width:100%}

/* v1.3 Google Search Element + reviewed search summaries */
#googleWidgetHost{min-height:20px;overflow-wrap:anywhere}
#googleSources{margin-top:9px}
.searchresult-card{background:#fff;border:1px solid #dceae7;border-radius:12px;padding:12px;margin:9px 0}
.searchresult-card a{color:#126d61;font-size:13px;font-weight:750;text-decoration:underline;overflow-wrap:anywhere}
.searchresult-card p{color:#5e6e6a;font-size:12px;line-height:1.6;margin:5px 0 0}
#googleSetup p{font-size:12px;line-height:1.65}
#googleSetup a{color:#126d61;text-decoration:underline}
