:root { color-scheme: light; font: 16px/1.55 "Inter","PingFang SC","Microsoft YaHei",sans-serif; color: #171d37; background: #f4f5fb; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #4c35bf; text-decoration: none; font-weight: 650; }
a:hover { text-decoration: underline; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px max(4vw, 18px); background: white; border-bottom: 1px solid #e3e4ef; }
.brand { color: #171d37; font-size: 1.08rem; white-space: nowrap; }
.brand span { display: inline-grid; place-items: center; width: 37px; height: 37px; border-radius: 11px; background: #573bd5; color: white; margin-right: 3px; }
nav { display: flex; gap: clamp(12px, 3vw, 36px); }
nav a { color: #4f5369; }
nav a[aria-current] { color: #4c35bf; text-decoration: underline; text-underline-offset: 8px; }
.workspace { max-width: 1250px; padding: 42px 24px 64px; margin: auto; }
.page-title { margin-bottom: 30px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.04em; }
h2 { font-size: 1.22rem; }
p { color: #54596e; margin-top: 7px; }
small { color: #60657d; font-size: .85rem; margin-left: 6px; font-weight: 500; }
.columns { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.panel, .login-card { background: #fff; border: 1px solid #e1e3ee; border-radius: 17px; padding: clamp(18px,3vw,28px); }
.login-card { margin: min(12vh,110px) auto 28px; max-width: min(92vw,420px); }
.editor form,.login-card form { display: grid; gap: 17px; margin-top: 23px; }
label { display: grid; gap: 6px; font-weight: 650; font-size: .9rem; }
input, select, textarea { width: 100%; padding: 10px 12px; min-height: 44px; border: 1px solid #cdd0e0; border-radius: 8px; font: inherit; font-weight: 400; color: inherit; background: #fff; }
select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg,transparent 50%,#555b73 50%),linear-gradient(135deg,#555b73 50%,transparent 50%); background-size: 5px 5px; background-position: calc(100% - 16px) 19px,calc(100% - 11px) 19px; background-repeat: no-repeat; }
textarea { resize: vertical; }
button,.primary { font: inherit; font-weight: 650; cursor: pointer; border: 1px solid transparent; padding: 7px 14px; min-height: 40px; border-radius: 8px; }
.primary { color: white; background: #573bd5; display: inline-block; }
.primary:hover { background: #452bb7; }
.secondary { color: #4d5068; background: #f4f4fa; border-color: #e1e3ee; }
.secondary:hover { background: #eae8fa; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.empty { padding: 24px 0; }
.notice,.error { margin: 12px 0; padding: 10px 14px; border-radius: 8px; background: #e3f5ea; color: #17583a; }
.publish-result { margin-bottom: 24px; display: grid; gap: 12px; border-color: #a6d4ba; background: #f2fbf5; scroll-margin-top: 12px; }
.publish-result h2 { color: #164d33; overflow-wrap: anywhere; }
.share-url { max-width: 620px; color: #21204a; }
.copy-status { font-size: .88rem; color: #17583a; }
.copy-status:empty { display: none; }
.copy-fallback { position: fixed; inset: 0 auto auto -9999px; }
.error { background: #fce8ec; color: #922638; }
.site-list { padding: 0; list-style: none; margin: 10px 0 0; }
.site-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 18px 0; border-bottom: 1px solid #e7e8f1; }
.site-list li:last-child { border: 0; }
.site-list div:first-child { min-width: 0; overflow-wrap: anywhere; }
.site-list p,code { font-size: .86rem; }
.gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(205px,1fr)); gap: 18px; }
.cards article { border: 1px solid #e1e3ee; border-radius: 13px; overflow: hidden; }
.sample { position: relative; isolation: isolate; min-height: 120px; display: grid; place-items: center; color: var(--sample); background: color-mix(in srgb,var(--sample) 11%,white); overflow: hidden; }
.sample i { position: absolute; z-index: -1; width: 85px; aspect-ratio: 1; border: 1px solid currentColor; opacity: .35; transform: rotate(30deg); }
.sample i:first-child { right: 0; bottom: -23px; }
.sample i:last-child { right: 24px; bottom: -32px; }
.sample.split { background: linear-gradient(90deg,#fff 54%,var(--sample) 54%); justify-items: start; padding-left: 12px; }
.sample.editorial { background: #f9f8f6; border-top: 8px solid var(--sample); }
.sample.night { background: #171b2a; color: #fff; }
.sample.grid { background: repeating-linear-gradient(90deg,transparent 0 29px,#fff 30px 31px),color-mix(in srgb,var(--sample) 24%,white); }
.card-detail { padding: 14px; }
.card-detail .actions { margin-top: 12px; }
@media (max-width: 720px) { .columns { grid-template-columns: 1fr; } .workspace { padding-top: 28px; } }
@media (max-width: 430px) { header { gap: 10px; flex-wrap: wrap; } nav { order: 1; width: 100%; } .site-list li { align-items: start; flex-direction: column; } .cards { grid-template-columns: 1fr; } }

:root { background: #f4f6fb; color: #18213a; }
body > header { box-shadow: 0 3px 24px #212a5610; }
.workspace .page-title { padding: 30px clamp(20px,4vw,46px); border-radius: 22px; color: #fff; background: radial-gradient(ellipse at 85% 10%,#7254dc 0%,transparent 50%),linear-gradient(116deg,#171739,#302465); }
.page-title p { color: #ece8ff; }
.panel { box-shadow: 0 12px 32px #26315d0b; }
.primary { box-shadow: 0 4px 12px #573bd535; }
.login-layout { display: grid; grid-template-columns: 1.1fr 1fr; max-width: 960px; margin: clamp(26px,9vh,90px) auto; border: 1px solid #dedff0; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 24px 70px #282b6619; width: min(92vw,960px); }
.login-screen .login-card { margin: auto; max-width: none; width: 100%; border: 0; padding: clamp(24px,5vw,58px); }
.login-screen .login-card h1 { font-size: 1.8rem; }
.login-card .password-field { margin-top: -10px; display: flex; align-items: center; gap: 8px; }
.password-field input { min-width: 0; }
.password-field button { flex: none; font-size: .87rem; }
.login-feature { display: grid; align-items: end; min-height: 400px; padding: clamp(25px,5vw,48px); color: #fff; background: radial-gradient(ellipse at 85% 10%,#7651eb 0%,transparent 65%),linear-gradient(140deg,#392475,#16162f); }
.login-feature p { color: #f3efff; }
.login-feature h1 { line-height: 1.25; }
.cards article { background: white; box-shadow: 0 5px 16px #19213a0b; }
.sample { min-height: 150px; padding: 16px; display: grid; place-items: center; text-decoration: none; }
.sample:hover { text-decoration: none; }
.mini { width: 100%; max-width: 225px; height: 108px; border-radius: 8px; padding: 10px; display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: 8px; overflow: hidden; color: #18213a; background: #fff; box-shadow: 0 7px 14px #171b3b24; }
.mini-copy { display: grid; gap: 6px; font-size: .8rem; }
.sample .mini-copy i { position: static; width: 80%; height: 3px; aspect-ratio: auto; transform: none; border: 0; border-radius: 7px; background: currentColor; opacity: .18; }
.sample .mini-copy i:last-child { width: 52%; }
.mini-photo { width: 100%; max-width: 86px; aspect-ratio: 1; justify-self: end; border-radius: 4px; background: var(--sample) url('/industry-art.png') var(--tile, 0% 0%) / 300% 200%; }
.sample.studio .mini { grid-template-columns: 1fr; justify-items: center; align-content: start; text-align: center; gap: 4px; }
.sample.studio .mini-copy i { display: none; }
.sample.studio .mini-photo { width: 70px; justify-self: center; }
.sample.editorial .mini-photo { order: -1; }
.sample.night .mini { background: #19213a; color: white; }
.sample.grid .mini { background: color-mix(in srgb,var(--sample) 13%,white); }
.sample.grid .mini-copy { padding: 6px; background: white; }
.theme-tech { --tile: 0% 0%; }
.theme-industry { --tile: 50% 0%; }
.theme-services { --tile: 100% 0%; }
.theme-retail { --tile: 0% 100%; }
.theme-creative { --tile: 50% 100%; }
.theme-general { --tile: 100% 100%; }
@media (max-width: 640px) { .login-layout { grid-template-columns: 1fr; } .login-feature { min-height: 166px; } }
