:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f1eee7;background:#14151d;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}h1,h2,p{margin:0}.app-shell{min-height:100vh}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 32px;border-bottom:1px solid #343744;background:#1b1d27}.brand{display:grid;gap:7px}.back-link{width:max-content;color:#a0a5b5;text-decoration:none;font-size:.75rem}.back-link:hover{text-decoration:underline}.brand-name{display:flex;align-items:center;gap:11px;white-space:nowrap;font-size:.9rem;color:#b6b5bd}.brand-name strong{font-family:Georgia,serif;font-size:1.55rem;font-weight:500;color:#f6f2e8;letter-spacing:-.045em}.brand-mark{display:grid;place-items:center;width:27px;height:27px;border:1px solid #bf9962;color:#e5ba7c;transform:rotate(-12deg);font-size:1rem}.brand-divider{height:19px;border-left:1px solid #52515b}.top-actions{display:flex;align-items:center;gap:10px}.save-state{margin-right:9px;color:#a4a4b0;font-size:.78rem;white-space:nowrap}button{border:1px solid #55505a;border-radius:5px;color:#eee9df;background:#292b35;padding:10px 14px;font-weight:600;font-size:.84rem;transition:background .15s,border-color .15s,transform .15s}button:hover:not(:disabled){background:#383a47;border-color:#aa8e68}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #e5b777;outline-offset:2px}.primary-button{background:#d4a968;border-color:#d4a968;color:#211b17}.primary-button:hover:not(:disabled){background:#ecc18b;border-color:#ecc18b}.quiet-button{background:transparent;border-color:#51505c}.outline-button{background:#242732;border-color:#615d68}.outline-button.full{width:100%;text-align:center}.workspace{display:grid;grid-template-columns:minmax(350px,415px) minmax(0,1fr);min-height:calc(100vh - 83px)}.sidebar{background:#1d1f29;border-right:1px solid #343744;min-width:0}.tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:0 13px;border-bottom:1px solid #343744;position:sticky;top:0;background:#1d1f29;z-index:2}.tabs button{border:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;color:#a8a9b4;font-weight:500;padding:17px 4px 15px;font-size:.82rem}.tabs button:hover{color:#fff;background:#262833}.tabs button.active{color:#f0c588;border-bottom-color:#d6a96e}.sidebar-content{padding:25px 27px 42px;max-height:calc(100vh - 135px);overflow:auto;scrollbar-color:#55505c transparent}.intro{margin-bottom:26px}.eyebrow{display:block;color:#d1aa73;text-transform:uppercase;letter-spacing:.19em;font-weight:700;font-size:.67rem}.intro h1{font:400 1.75rem Georgia,serif;letter-spacing:-.035em;margin:7px 0 8px}.intro p{color:#aeb0bb;line-height:1.5;font-size:.88rem}.section-title{display:flex;align-items:center;gap:10px;margin:26px 0 15px;padding-top:20px;border-top:1px solid #3b3c47}.section-title span{font-size:.71rem;color:#caa270;letter-spacing:.1em}.section-title h2{font:400 1.18rem Georgia,serif}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.template-option{padding:7px;text-align:left;background:#242630;border-color:#444654;display:grid;gap:4px;min-width:0}.template-option.selected{border-color:#d5aa70;box-shadow:inset 0 0 0 1px #d5aa70}.template-option strong{font-size:.83rem;padding:2px 4px 0}.template-option small{font-size:.7rem;color:#a9aab5;padding:0 4px 3px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.template-mini{display:flex;flex-direction:column;align-items:center;justify-content:center;height:74px;border-radius:3px;background:radial-gradient(circle at 50% 37%,#34415d,#111728 78%);color:#ddb77b;overflow:hidden}.template-mini i{font-size:1.45rem;font-style:normal;line-height:1}.template-mini b{font:700 .57rem Georgia,serif;letter-spacing:.22em;color:#f6efdc;margin-top:7px}.mini-orbit{flex-direction:row;gap:10px;background:linear-gradient(110deg,#182c3d,#101827)}.mini-orbit i{border:1px solid #d8b783;border-radius:50%;padding:10px}.mini-summit{background:linear-gradient(#30375b,#111728)}.mini-cinema{border:6px double #ad8b65;background:#1b1520}.mini-monogram{background:radial-gradient(circle,#38324f,#161824)}.mini-monogram i{font:700 2rem Georgia,serif}.fields{display:grid;gap:14px}.field{display:grid;gap:7px;min-width:0;color:#c7c7ce;font-size:.81rem}.field>span:first-child{font-weight:550}.field input,.field select,.field textarea{width:100%;border:1px solid #4a4b58;background:#151720;border-radius:4px;color:#f3efe8;padding:10px 11px;min-height:40px;font-size:.91rem}.field textarea{resize:vertical;line-height:1.45}.field input::placeholder{color:#777d8a}.range-field>span:first-child{display:flex;justify-content:space-between}.range-field output{color:#e3bb82;font-variant-numeric:tabular-nums}.field input[type=range]{accent-color:#d6ad74;border:0;background:transparent;padding:0;height:30px;min-height:30px}.color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.color-field{font-size:.73rem}.color-wrap{display:flex;align-items:center;gap:6px;padding:4px;border:1px solid #4a4b58;border-radius:4px;background:#151720}.color-wrap input[type=color]{border:0;background:none;padding:0;width:32px;height:28px;min-height:28px;flex:none}.color-wrap code{font:500 .67rem ui-monospace,monospace;color:#aeb0ba;overflow:hidden}.upload-button{border-style:dashed;background:#242733;text-align:center;width:100%;color:#e7c28d}.uploaded-row{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#2a2d37;border-radius:4px;padding:6px 8px;font-size:.77rem;color:#c4c7d0}.uploaded-row span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uploaded-row button{padding:4px 6px;background:transparent;border:0;color:#e4bd88}.field-help,.empty-note{font-size:.79rem;line-height:1.5;color:#a9aab4}.detail-group{border:1px solid #484955;border-radius:5px;margin-bottom:10px;background:#242630}.detail-group summary{padding:15px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;font-weight:600;font-size:.87rem}.detail-group summary span{color:#999da9;font-weight:400;font-size:.72rem}.detail-group .fields{padding:0 15px 17px}.history-card{border:1px solid #474956;border-radius:5px;background:#242630;padding:15px;display:grid;gap:14px;margin-top:13px}.history-heading{display:flex;justify-content:space-between;align-items:center}.history-heading strong{font:400 1.08rem Georgia,serif}.history-heading button{padding:4px 7px;color:#edb7ae;background:transparent;border:0}.library-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.library-actions button:first-child{grid-column:span 2}.library-actions button{font-size:.75rem;padding:9px 5px}.project-list,.snapshot-list{display:grid;gap:9px}.project-card,.snapshot-row{border:1px solid #494a56;border-radius:5px;padding:12px;background:#252731;display:flex;align-items:center;justify-content:space-between;gap:12px}.project-card.current{border-color:#be996b}.project-card>div:first-child,.snapshot-row>div:first-child{display:grid;gap:4px;min-width:0}.project-card strong,.snapshot-row strong{font-size:.86rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card span,.snapshot-row span{font-size:.71rem;color:#a6a7b3}.project-actions{display:flex;gap:5px}.project-card button,.snapshot-row button{padding:7px 8px;font-size:.72rem}.stage-column{min-width:0;display:grid;grid-template-rows:auto minmax(410px,1fr) auto auto;background:#171922}.stage-header{display:flex;align-items:end;justify-content:space-between;padding:25px 36px 16px;gap:15px}.stage-header h2{font:400 1.38rem Georgia,serif;margin-top:6px;overflow:hidden;text-overflow:ellipsis}.stage-spec{display:flex;gap:15px;color:#a4a5b0;font-size:.72rem;white-space:nowrap}.stage{display:grid;place-items:center;padding:32px;background-color:#1b1d27;background-image:radial-gradient(circle at center,#343541 0,#1b1d27 65%),linear-gradient(#ffffff09 1px,transparent 1px),linear-gradient(90deg,#ffffff09 1px,transparent 1px);background-size:auto,28px 28px,28px 28px;min-width:0}.canvas-frame{width:min(100%,940px);aspect-ratio:16/9;box-shadow:0 30px 90px #0009,0 0 0 1px #aab1c533;overflow:hidden;background:repeating-conic-gradient(#e1e1df 0 25%,#b6b6b6 0 50%) 50%/22px 22px}.canvas-frame.square{width:min(70%,min(72vh,690px));aspect-ratio:1}.canvas-frame svg{display:block;width:100%;height:100%}.stage-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 36px;background:#1b1d27;border-top:1px solid #343744}.stage-footer>div:first-child{display:grid;gap:4px}.stage-footer strong{font-size:.85rem}.stage-footer span{font-size:.77rem;color:#aeb0bc}.export-actions{display:flex;gap:9px;white-space:nowrap}.message{padding:10px 36px;color:#d5bb8d;background:#292a2f;font-size:.8rem}.message.error{color:#ffd0c7;background:#3b2428}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1050px){.workspace{grid-template-columns:minmax(310px,365px) minmax(0,1fr)}.topbar{padding:0 18px}.save-state{display:none}.stage-header,.stage-footer{padding-left:20px;padding-right:20px}.stage-spec span:last-child{display:none}.export-actions{flex-wrap:wrap;justify-content:flex-end}.stage{padding:20px}}@media(max-width:750px){.topbar{height:auto;min-height:78px;padding:12px 16px;align-items:flex-start}.brand-name>span:last-child,.brand-divider{display:none}.brand-name strong{font-size:1.35rem}.top-actions{gap:6px;align-self:center}.top-actions button{padding:8px 9px;font-size:.75rem}.workspace{display:flex;flex-direction:column}.stage-column{order:0;grid-template-rows:auto auto auto auto}.sidebar{order:1;border-right:0}.sidebar-content{max-height:none;padding:20px 16px 36px}.tabs{top:0}.stage-header{padding:17px 17px 10px}.stage{padding:18px 13px;min-height:245px}.canvas-frame{width:min(100%,680px)}.canvas-frame.square{width:min(76%,400px)}.stage-footer{padding:13px 16px;align-items:flex-start;flex-direction:column}.export-actions{width:100%;justify-content:stretch}.export-actions button{flex:1}.message{padding:10px 16px}.intro{margin-bottom:20px}}@media(max-width:420px){.brand-mark{display:none}.top-actions button{font-size:.68rem;padding:7px}.stage-footer span{line-height:1.35}.export-actions button{font-size:.73rem;padding:9px 7px}}
