:root{font:15px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--studio-text);background:var(--studio-tint);--workspace-bg:var(--studio-bg);--accent-soft:var(--studio-tint);--accent-ink:var(--studio-lime);--purple:var(--studio-lime);--ink:var(--studio-text);--line:var(--studio-edge);--muted:var(--studio-muted)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button,select{cursor:pointer}button{border:1px solid var(--studio-edge);background:var(--studio-surface);border-radius:8px;padding:6px 12px;color:inherit}button:hover,a:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible,input:focus,select:focus,textarea:focus{outline:2px solid var(--studio-lime);outline-offset:2px}input,select,textarea{max-width:100%;border:1px solid var(--studio-edge);padding:8px 10px;border-radius:8px;background:var(--studio-surface);color:inherit}textarea{resize:vertical}button:disabled{opacity:.45;cursor:default}a{color:var(--studio-lime)}svg.ico{width:18px;height:18px;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.frame{display:grid;grid-template-columns:174px minmax(0,1fr);gap:11px;padding:11px;min-height:100vh;background:var(--workspace-bg)}aside.sidebar{position:sticky;top:11px;height:calc(100vh - 22px);background:var(--studio-surface);border:1px solid var(--studio-edge);border-radius:15px;padding:20px 11px;display:flex;flex-direction:column}.brandmark{display:flex;gap:9px;align-items:center;font-weight:800;font-size:20px;padding:0 8px;letter-spacing:-.8px}.logo{display:inline-block;background:conic-gradient(from 30deg,var(--studio-tint),var(--studio-tint),var(--studio-tint),var(--studio-tint),var(--studio-tint));width:30px;height:30px;clip-path:polygon(50% 0,86% 15%,100% 50%,85% 86%,50% 100%,14% 84%,0 50%,15% 14%);position:relative}.logo:after{content:'';position:absolute;inset:9px;background:var(--studio-surface);transform:rotate(30deg);border-radius:2px}.shop{font-size:13px;margin:13px 7px 18px;color:var(--muted);overflow-wrap:anywhere}.navgroup{font-size:11px;letter-spacing:1.5px;color:var(--studio-muted);padding:14px 9px 5px}.navbtn{border:0;background:transparent;display:flex;text-align:left;align-items:center;gap:10px;width:100%;border-radius:7px;padding:8px 9px;font-size:14px}.navbtn.on{background:var(--accent-soft);color:var(--accent-ink);font-weight:650}.side-scroll{overflow:auto;min-height:0}.sidebase{margin-top:auto;padding:12px 6px 0;border-top:1px solid var(--line);font-size:13px;color:var(--studio-muted)}.main{min-width:0}.top{display:flex;align-items:center;gap:12px;min-height:56px;padding:0 4px 8px}.top h1{font-size:24px;letter-spacing:-1px;margin:0;white-space:nowrap}.top select{background:transparent;font-size:13px}.top-actions{display:flex;gap:6px;align-items:center;margin-left:auto}.top-actions button{font-size:13px;white-space:nowrap}.primary{background:var(--studio-surface);color:var(--studio-text);border-color:var(--studio-edge)}.panel,.module{background:var(--studio-surface);border:1px solid var(--line);border-radius:13px;padding:17px;min-width:0}.panel h2,.module h2{font-size:18px;letter-spacing:-.5px;margin:0}.phead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px}.phead small,small,.muted{color:var(--muted)}.dash{display:grid;gap:10px}.first{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(255px,1fr);gap:10px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.seg{display:flex;gap:2px;background:var(--studio-raised);padding:3px;border-radius:8px}.seg button,.weekbar button{padding:3px 8px;border:0;background:transparent;font-size:12px}.seg .sel{background:var(--studio-surface);color:var(--studio-text)}.weekbar{display:flex;align-items:center;gap:5px;color:var(--studio-muted);font-size:12px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-top:8px;min-height:164px;border-top:1px solid var(--line)}.day{min-width:0;border-right:1px solid var(--studio-edge);padding:6px 3px}.day:last-child{border:0}.day>small{display:block;text-align:center;font-size:12px}.day>strong{display:block;text-align:center;font-size:15px;margin-bottom:8px}.day.today>strong{color:var(--studio-lime)}.event{display:block;width:100%;font-size:12px;text-align:left;padding:5px;border:0;border-left:2px solid var(--accent);border-radius:5px;margin:4px 0;font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event small{display:block;color:inherit;opacity:.78;font-weight:450}.tone0{--accent:var(--studio-lime);background:var(--studio-tint);color:var(--studio-lime)}.tone1{--accent:var(--studio-lime);background:var(--studio-tint);color:var(--studio-lime)}.tone2{--accent:var(--studio-lime);background:var(--studio-tint);color:var(--studio-lime)}.tone3{--accent:var(--studio-lime);background:var(--studio-tint);color:var(--studio-lime)}.priority{background:var(--studio-surface);color:var(--studio-text);border-color:var(--studio-edge)}.priority .phead small{color:var(--studio-text)}.priorityRow{display:flex;align-items:center;text-align:left;width:100%;gap:9px;border:0;border-radius:8px;padding:8px 10px;margin-bottom:7px}.priorityRow b{font-size:14px}.priorityRow small{display:block;color:inherit;font-size:12px}.priorityRow .count{margin-left:auto;font-size:20px;font-weight:750}.tip{font-size:12px;color:var(--studio-text);padding:5px 2px}.feature{width:100%;display:flex;align-items:center;gap:9px;text-align:left;background:transparent;border:0;border-radius:0;border-top:1px solid var(--studio-edge);padding:7px 0}.feature strong{font-size:14px}.feature .detail{font-size:12px;color:var(--muted)}.pill{margin-left:auto;white-space:nowrap;border:1px solid var(--line);border-radius:20px;padding:0 8px;font-size:12px}.iconTile{display:grid;place-items:center;width:28px;height:27px;border-radius:7px;flex:none}.barrow{display:grid;grid-template-columns:62px minmax(15px,1fr) 30px;align-items:center;gap:6px;margin:8px 0;font-size:13px}.track{background:var(--studio-tint);height:8px;border-radius:5px;overflow:hidden}.track i{display:block;border-radius:inherit;height:100%;background:var(--studio-tint)}.ringarea{display:flex;align-items:center;justify-content:space-around;gap:9px}.ring{width:92px;height:92px;border-radius:100%;display:grid;place-items:center}.ring b{width:75px;height:75px;border-radius:50%;background:var(--studio-surface);display:grid;place-items:center;font-size:23px}.metrics{font-size:13px;line-height:2}.auth{max-width:440px;margin:10vh auto;padding:24px}.auth label,.formGrid label{display:grid;gap:4px}.auth form,.formGrid{display:grid;gap:12px;margin:18px 0}.close{float:right}dialog{border:1px solid var(--line);border-radius:15px;width:min(540px,95vw);padding:22px;color:inherit}dialog::backdrop{background:#19162655;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}#searchInput{width:100%}#results{max-height:50vh;overflow:auto;margin-top:12px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--studio-surface);color:var(--studio-text);border-radius:8px;padding:10px 16px;z-index:1000;pointer-events:none;opacity:0}#toast.show{opacity:1}.pageArea{min-height:60vh}.pageArea table{border-collapse:collapse;width:100%}.pageArea td,.pageArea th{padding:8px;text-align:left;border-bottom:1px solid var(--line)}.mobileMenu{display:none}.subnav{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.subnav .active{background:var(--studio-tint);color:var(--studio-lime)}.publicRoot{max-width:920px;margin:auto;padding:16px}
@media(min-width:1500px){.frame{grid-template-columns:195px minmax(0,1fr);padding:16px;gap:16px}.panel{padding:20px}.calendar{min-height:211px}.feature{padding:10px 0}}
@media(max-width:1150px){.frame{grid-template-columns:146px minmax(0,1fr)}.panel{padding:12px}.feature .detail{display:none}.top-actions button{padding:5px 8px}.first{grid-template-columns:minmax(0,1.7fr) minmax(215px,1fr)}}
@media(max-width:850px){.frame{display:block;padding:8px}.sidebar{display:none!important}.frame.menuOpen .sidebar{display:flex!important;position:fixed;top:54px;left:8px;z-index:10;height:calc(100dvh - 62px);width:180px;box-shadow:0 8px 32px #25173c26;background:var(--studio-surface)}.mobileMenu{display:inline-block}.top h1{font-size:20px}.top{gap:6px;flex-wrap:wrap}.top-actions{flex-wrap:wrap}.trio{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}.pageArea{overflow:auto}}
@media(max-width:650px){.first,.pair,.trio{grid-template-columns:1fr}.calendar{grid-template-columns:repeat(7,minmax(65px,1fr));min-height:140px}.calScroll{overflow-x:auto}.top-actions{margin-left:0}.top-actions button{font-size:12px}.top select{padding:4px}.feature .detail{display:block}.panel{border-radius:10px}.phead h2{font-size:17px}.auth{margin:5vh 10px}}
.brief{width:100%;font-size:12px;text-align:left;background:transparent;color:var(--studio-text);border:0;border-top:1px solid var(--studio-edge);border-radius:0;padding:8px 0 0}.brief svg{width:14px;height:14px}.day .event{white-space:normal;overflow-wrap:anywhere}
.reportbar{display:grid;grid-template-columns:70px minmax(20px,1fr) auto;gap:8px;align-items:center;font-size:14px;margin:12px 0}
.readonlyBanner{margin:0 0 12px;background:var(--studio-tint);color:var(--studio-lime);border-radius:8px;padding:8px 12px;font-size:13px}.sidebase button,.sidebase a{font-size:12px;margin-top:5px}
.yx-handoff [data-images]{display:flex;flex-wrap:wrap;gap:8px}.yx-handoff [data-images] label{display:flex;align-items:center}.yx-handoff [data-images] img{width:60px;height:60px;object-fit:cover;border-radius:6px}.yx-handoff>input{width:100%;margin:8px 0}.yx-handoff>a{margin:8px}.yx-handoff [hidden]{display:none}.yx-mobile{max-width:650px;margin:auto}.yx-mobile figure{margin:16px 0}.yx-mobile img{display:block;max-width:100%;height:auto}.yx-mobile p{overflow-wrap:anywhere}
.camp .cover-field{display:grid;gap:8px;padding:14px;border:1px dashed var(--studio-edge);border-radius:10px}.camp .cover-field button{justify-self:start}.camp .campaign-cover{display:block;max-width:100%;width:auto;height:auto;max-height:340px;border-radius:10px;margin:10px 0;object-fit:contain}.camp .sheet .campaign-cover{width:100%;max-height:none;margin:0 0 16px}
.camp [data-details]{min-width:0;margin:0}.camp [data-details] ol{padding:0;list-style:none;display:grid;gap:6px;margin:0}.camp [data-details] li{display:flex;align-items:center;gap:6px}.camp [data-details] img{width:76px;height:64px;object-fit:contain;background:var(--studio-raised);margin-right:auto}.camp .camp-detail{display:grid;gap:8px;margin:16px 0;max-width:700px}.camp .camp-detail img{display:block;width:100%;height:auto}

html,body{background:var(--studio-bg);color:var(--studio-text)}
.frame{background:var(--studio-bg)}
.logo{background:var(--studio-lime)}.logo::after{background:var(--studio-surface)}
button.primary,.primary,.navbtn.on,.seg .sel{background:var(--studio-lime);border-color:var(--studio-lime);color:var(--studio-bg)}
input,select,textarea,dialog{color:var(--studio-text);background-color:var(--studio-surface)}
input::placeholder,textarea::placeholder{color:var(--studio-muted)}
input[type=checkbox],input[type=radio]{accent-color:var(--studio-lime)}
::selection{background:#c9f23c;color:#0c0e0c}

.plan-controls{flex-wrap:wrap}
.plan-controls .seg .sel{background:var(--studio-lime);color:var(--studio-bg)}
.calendar[data-unit="日"]{grid-template-columns:1fr}
.calendar[data-unit="月"] .day{min-height:64px;border-bottom:1px solid var(--line)}
[data-package-form] .erp-form>h3.wide{grid-column:1/-1;margin-top:12px;padding-top:12px;border-top:1px solid var(--studio-edge)}
.package-images{min-width:0;display:grid;gap:10px;border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:14px}
.package-images label{display:grid;gap:6px}.package-images input{max-width:100%}
.package-images [data-gallery],.package-images [data-covers]{display:flex;gap:10px;flex-wrap:wrap}
.package-images [data-gallery]>div,.package-images [data-covers]>div{display:grid;gap:4px}
.package-images img{width:90px;height:80px;object-fit:contain;background:var(--studio-raised)}
.guest-package img{display:block;width:100%;height:auto;margin:12px 0;border-radius:8px}
.guest-package dd{white-space:pre-wrap;overflow-wrap:anywhere}

.guest-package{box-sizing:border-box;width:min(calc(100% - 24px),720px);margin:clamp(12px,3vw,32px) auto;padding:clamp(18px,4vw,36px);border-radius:20px;background:var(--studio-surface);border:1px solid var(--studio-edge);color:var(--studio-text);overflow-wrap:anywhere}
.guest-package .pkg-cover{margin:0 0 22px}
.pkg-heading{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}
.pkg-heading small{font-size:13px;color:var(--studio-muted)}
.pkg-heading h1{margin:4px 0 0;font-size:clamp(23px,4.5vw,34px);line-height:1.25}
.pkg-heading strong{font-size:clamp(23px,4.5vw,32px);color:var(--studio-lime);line-height:1.2;font-variant-numeric:tabular-nums}
.pkg-heading strong span{font-size:.58em;margin-right:4px}
.pkg-stats{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;margin:20px 0 0;padding:14px 0;background:var(--studio-raised);border-radius:12px}
.pkg-stats div{text-align:center;padding:0 3px}.pkg-stats div+div{border-left:1px solid var(--studio-edge)}
.pkg-stats dt,.pkg-group dt{font-size:13px;color:var(--studio-muted)}.pkg-stats dd{margin:4px 0 0;font-size:21px;line-height:1.3;font-weight:650}.pkg-stats dd small{margin-left:2px;font-size:12px;font-weight:400}
.pkg-group{margin-top:24px}.pkg-group h2{margin:0 0 10px;font-size:17px;line-height:1.4}
.pkg-group dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin:0}
.pkg-group dl div{padding:9px 0;border-top:1px solid var(--studio-edge);display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;justify-content:space-between}
.pkg-group dd{margin:0;font-weight:550;font-size:15px;min-width:0}
body:has(.guest-package){min-height:100dvh}

dialog .dialog-original-close{display:none!important}
dialog>.dialog-close-rail{position:sticky;top:0;z-index:10;display:flex;justify-content:flex-end;pointer-events:none;margin-bottom:4px}
dialog[open]>.dialog-close-rail>button{display:grid;place-items:center;pointer-events:auto;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;cursor:pointer}
dialog>.dialog-close-rail>button>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#c9f23c;color:#13200d;font:600 18px/1 sans-serif}

dialog>.dialog-close-rail.beside-title{height:0;margin:0;align-items:flex-start}
dialog[open] .dialog-pinned-title{box-sizing:border-box;min-height:44px;margin-block:0;padding-inline-end:50px;display:flex;align-items:center;overflow-wrap:anywhere}

.mform .tmpl button[aria-pressed="true"]{background:var(--studio-lime);color:var(--studio-surface);border-color:var(--studio-lime)}
.mform .mperm[data-level],.mform .mperm [data-level]{text-align:right}
.mform div.mperm{display:flex;justify-content:space-between;border-bottom:1px solid var(--studio-edge);padding:8px 0}

.upgrade-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.upgrade-actions>a{display:grid;place-items:center;min-height:44px;background:var(--studio-lime);color:var(--studio-surface);border-radius:8px;text-decoration:none;font-weight:650}

.staff-seat-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--studio-edge);border-left:3px solid var(--studio-lime);border-radius:10px;background:var(--studio-tint);color:var(--studio-text)}
.staff-seat-notice>div{flex:1 1 150px}
.staff-seat-notice p{margin:4px 0 0;color:var(--studio-muted);font-size:13px;line-height:1.5}
.staff-seat-notice a{display:inline-grid;place-items:center;min-height:42px;padding:0 14px;border-radius:8px;background:var(--studio-lime);color:var(--studio-surface);font-weight:650;text-decoration:none}

.crdesk .marketing-image-tools{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}
.crdesk .marketing-image-tools button{min-height:44px}
.crdesk .marketing-image-tools button[data-yx-image]{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--studio-lime);border-color:var(--studio-lime);color:#14200e;font-weight:700}
[data-theme="day"] .crdesk .marketing-image-tools button[data-yx-image]{color:white}
.crdesk .marketing-image-tools button[data-yx-image]:hover{filter:brightness(.94)}

.camp .campaign-launch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;font-weight:650}
.camp .campaign-launch svg{width:17px;height:17px}
.camp .campaign-launch button[data-new]{background:var(--studio-lime);border-color:var(--studio-lime);color:var(--studio-surface)}
.camp .campaign-launch button[data-planner]{background:#193c35;color:#abe9d4;border-color:#40695c}
[data-theme="day"] .camp .campaign-launch button[data-planner]{background:#ddf3ea;color:#175542;border-color:#9ecdbb}
.camp .filters.actions button[aria-pressed=true]{background:var(--studio-tint);color:var(--studio-text);border-color:var(--studio-lime);font-weight:700}
@media(max-width:380px){.camp .campaign-launch button{padding-inline:8px}}

.crdesk.photo-desk button{background:var(--studio-tint);color:var(--studio-text);border-color:color-mix(in srgb,var(--studio-lime) 30%,var(--studio-edge))}
.crdesk.photo-desk button:hover,.crdesk.photo-desk button:focus-visible{border-color:var(--studio-lime);background:color-mix(in srgb,var(--studio-tint) 90%,var(--studio-lime))}
.crdesk.photo-desk button.crprimary,.crdesk.photo-desk button[data-asset]{background:var(--studio-lime);border-color:var(--studio-lime);color:var(--studio-surface);font-weight:650}

.guest-album.album-unlock{max-width:420px;margin:clamp(20px,10vh,100px) auto}.album-unlock form,.album-unlock label{display:grid;gap:10px}.album-unlock input,.album-unlock button{min-height:44px}.album-unlock p{line-height:1.6}
