:root{--paper:#e8e4df;--soft:#edeae6;--deep:#d5d0ca;--ink:#1a1a1a;--muted:#6b6560;--line:rgba(26,26,26,.14);--accent:#c0392b;--mark:#f5e642}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;font:13px 'Courier New','PingFang SC','Microsoft YaHei',monospace;color:var(--ink);background:var(--paper)}a{color:inherit;text-decoration:none}button,input{font:inherit;color:inherit;border-radius:0}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.4;cursor:wait}.eyebrow{font-size:9px;letter-spacing:1.7px;color:var(--muted)}.module-header{height:76px;padding:0 36px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.module-header>a:not(.module-brand){font-size:11px}.module-brand{font-size:23px;font-weight:bold;letter-spacing:-1px}.module-brand small{font-size:10px;letter-spacing:1px;font-weight:normal;border-left:1px solid var(--line);margin-left:18px;padding-left:18px}.module-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100dvh - 76px)}.module-sidebar{padding:44px 22px 26px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:8px}.module-sidebar>.eyebrow{padding:0 14px 22px}.module-sidebar>a{padding:15px 14px;font-size:12px}.module-sidebar>a span{float:right;font-size:10px}.module-sidebar>a[aria-current=page]{background:var(--ink);color:var(--paper)}.module-sidebar>a:hover{box-shadow:inset 3px 0 var(--accent)}.module-sidebar p{margin-top:auto;padding:70px 14px 15px;font-size:14px;line-height:1.8}.module-sidebar>small{font-size:9px;line-height:1.8;color:var(--muted);padding:0 14px}.module-main{padding:48px clamp(24px,4vw,70px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:35px}h1{font-size:34px;letter-spacing:-1px;font-weight:500;margin:14px 0}.red-dot{color:var(--accent)}.page-heading p{font-size:12px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border:1px solid var(--ink);background:transparent;font-size:12px;white-space:nowrap;cursor:pointer}.button.primary{background:var(--ink);color:var(--paper)}.button:hover{box-shadow:3px 3px 0 var(--accent)}#draft-card{border:1px solid var(--line);border-left:3px solid var(--accent);background:var(--soft);padding:25px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}#draft-card h2{font-size:20px;font-weight:normal;margin:10px 0}#draft-card p{font-size:11px;color:var(--muted);margin-bottom:0}.library-toolbar{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:24px 0;font-size:10px;color:var(--muted)}.library-toolbar label{display:flex;gap:15px;align-items:center}.library-toolbar input{border:0;border-bottom:1px solid #b2a99e;background:none;padding:10px;width:230px;font-size:12px}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}.composition-card{display:block;min-width:0;text-align:left;padding:0;border:1px solid var(--line);background:var(--soft);cursor:pointer}.composition-card:hover{border-color:var(--ink)}.composition-card>img{width:100%;height:210px;object-fit:cover;display:block;filter:saturate(.85);border-bottom:1px solid var(--line)}.card-copy{padding:23px}.card-copy h2{font-size:18px;font-weight:normal;margin:12px 0}.card-copy p{font-size:10px;color:var(--muted);line-height:1.8}.card-copy small{display:block;border-top:1px solid var(--line);padding-top:16px;margin-top:18px;font-size:10px;color:var(--muted)}.card-copy small span{float:right;color:var(--ink)}.empty-card{border:1px dashed #afa69b;min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#edeae680;grid-column:1/-1}.empty-card>span{font-size:38px;font-weight:normal;color:var(--accent)}.empty-card h2{font-size:17px;font-weight:normal}.empty-card p{font-size:11px;color:var(--muted)}.local-note{font-size:10px;color:var(--muted);line-height:1.8;margin-top:28px}
.create-page{height:100dvh;overflow:hidden}.create-page .module-header{height:64px}.create-steps{height:68px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:32px;font-size:12px}.create-steps button{border:0;background:none;padding:12px;color:var(--muted)}.create-steps button>span{margin-right:7px}.create-steps [aria-current=step]{border-bottom:2px solid var(--accent);color:var(--ink)}.create-steps>span,.create-steps i{color:#9a9185;font-style:normal;font-size:10px}.create-main{display:grid;grid-template-columns:minmax(0,1fr) 420px;height:calc(100dvh - 132px)}.setup-preview{position:relative;display:flex;align-items:center;justify-content:center;background:var(--soft);padding:45px 50px 190px;min-width:0;overflow:hidden}.setup-preview>.eyebrow{position:absolute;top:32px;left:36px}.setup-caption{position:absolute;bottom:45px;left:50px;right:50px}.setup-caption h1{font-size:30px;font-weight:normal}.setup-caption p{font-size:11px;line-height:1.8;color:var(--muted)}#layout-preview{width:min(100%,850px)}#layout-preview svg{width:100%;max-height:46vh;display:block;filter:drop-shadow(5px 12px 0 #1a1a1a0a)}#set-preview{width:100%;height:100%;max-height:60vh;object-fit:contain}.setup-choices{border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;background:var(--paper)}.choice-scroll{flex:1;overflow:auto;padding:35px 28px;scrollbar-width:thin}.choice-scroll h2{font-size:22px;font-weight:normal;margin:13px 0 25px}.choice-scroll h3{font-size:11px;margin:25px 0 12px;font-weight:normal;color:var(--muted)}.setup-search{display:flex;flex-direction:column;gap:10px;font-size:10px;color:var(--muted);margin:20px 0}.setup-search input{padding:12px;border:1px solid #bcb3a7;background:var(--soft);width:100%}.setup-layouts{display:grid;grid-template-columns:1fr 1fr;gap:7px}.setup-layouts button{padding:13px 5px;border:1px solid var(--line);background:none;font-size:11px}.setup-layouts button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.setup-product{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:9px;border:1px solid var(--line);background:none;margin-top:9px}.setup-product[aria-pressed=true]{background:var(--soft);border-color:var(--ink);box-shadow:inset 3px 0 var(--accent)}.setup-product img{width:66px;height:66px;object-fit:cover}.setup-product>span{flex:1}.setup-product strong{font-size:12px;font-weight:normal}.setup-product small{display:block;font-size:9px;color:var(--muted);margin-top:9px}.setup-product i{font-style:normal;color:var(--accent);font-size:16px;padding:5px}.fine-print{font-size:10px;line-height:1.9;color:var(--muted)}.create-actions{padding:20px 22px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px}.create-actions .button{font-size:11px;padding:12px}#create-error{font-size:10px;color:var(--accent);margin:0;padding:0 22px 10px}#create-error:empty{display:none}
@media(min-width:1700px){.create-main{grid-template-columns:minmax(0,1fr) 480px}.choice-scroll{padding:45px 38px}.setup-preview{padding:70px 90px 210px}.setup-caption{left:70px;bottom:60px}.setup-caption h1{font-size:36px}}
@media(max-width:800px){.module-header{height:64px;padding:0 18px}.module-brand{font-size:19px}.module-brand small{display:none}.module-shell{grid-template-columns:1fr;min-height:calc(100dvh - 64px)}.module-sidebar{padding:10px 14px;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;gap:5px}.module-sidebar>.eyebrow,.module-sidebar p,.module-sidebar>small{display:none}.module-sidebar>a{padding:12px 10px;font-size:11px;flex:1;text-align:center}.module-sidebar>a>span{display:none}.module-main{padding:28px 20px}.page-heading{gap:10px}h1{font-size:27px}.page-heading p{font-size:10px;line-height:1.8}.page-heading .button{font-size:10px;padding:12px}.library-toolbar input{width:170px}.library-toolbar label{gap:7px}.library-toolbar>span{font-size:9px}.card-grid{grid-template-columns:1fr 1fr;gap:12px}.composition-card>img{height:150px}.card-copy{padding:15px}.card-copy h2{font-size:15px}.card-copy small{font-size:9px}.card-copy small span{float:none;display:block;margin-top:8px}#draft-card{padding:20px;align-items:flex-start;flex-direction:column}#draft-card h2{font-size:17px}.create-steps{height:54px;gap:8px;font-size:10px}.create-steps button{font-size:11px;padding:10px 5px}.create-steps>span{font-size:9px}.create-main{height:calc(100dvh - 118px);grid-template-columns:1fr;grid-template-rows:32% minmax(0,1fr)}.setup-preview{padding:30px 25px 65px}.setup-preview>.eyebrow{top:12px;left:20px;font-size:7px}#layout-preview{max-width:450px}#layout-preview svg{max-height:16vh}.setup-caption{left:20px;bottom:10px;right:20px}.setup-caption>.eyebrow,.setup-caption p{display:none}.setup-caption h1{font-size:18px;margin:5px 0}#set-preview{max-height:19vh}.setup-choices{border-left:0;border-top:1px solid var(--line)}.choice-scroll{padding:20px}.choice-scroll h2{font-size:19px;margin:10px 0 20px}.setup-product img{width:50px;height:50px}.setup-search input{font-size:16px}.create-actions{padding:12px 20px}.create-actions .button{padding:11px 13px}.setup-layouts{grid-template-columns:repeat(3,1fr)}.setup-layouts button{font-size:10px}.composition-card{min-width:0}}
@media(max-width:450px){.card-grid{grid-template-columns:1fr}.composition-card>img{height:210px}}

.composition-card>img{height:auto;aspect-ratio:1;object-fit:contain;filter:none}
