:root{--bg:#f5f4ef;--paper:#fff;--ink:#273e38;--text:#333b37;--muted:#90948c;--line:#e4e5dd;--green:#496451;--accent:#e8ecde;--orange:#bc7950;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:var(--text);font-size:13px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.3;cursor:default}button{color:inherit}a{color:inherit;text-decoration:none}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:7px;background:#fff;padding:10px 11px;outline:none;color:var(--text);transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:#8fa18b;box-shadow:0 0 0 3px #4964510b}textarea{resize:vertical;line-height:1.65}input::placeholder,textarea::placeholder{color:#a5a79e}input[type=checkbox]{width:15px;height:15px;accent-color:var(--green);margin:0;cursor:pointer}button:focus-visible{outline:2px solid var(--green);outline-offset:3px}.app-header{height:84px;background:#fbfcf8;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 28px}.brand{display:flex;gap:12px;align-items:center;flex-shrink:0;font-weight:750;font-size:13px;letter-spacing:1.7px;line-height:1.3}.brand-mark{display:flex;align-items:center;justify-content:center;width:39px;height:39px;background:var(--ink);color:#fff;border-radius:9px;font-family:Georgia,serif;font-size:29px;position:relative;letter-spacing:0}.brand-mark span{position:absolute;font:13px sans-serif;right:4px;top:4px;color:#d7e5c4}.brand-sub{display:block;font-size:10px;letter-spacing:4.2px;color:#7f8d7c;font-weight:500}.header-divider{height:29px;width:1px;background:var(--line)}.project-title{background:transparent;border:0;display:flex;gap:20px;align-items:center;max-width:270px;font-weight:600}.project-title>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.save-status{font-size:11px;color:#7d8b79;white-space:nowrap;display:flex;align-items:center;gap:7px}.save-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.header-actions{margin-left:auto;display:flex;gap:9px;align-items:center}.button{border:0;border-radius:7px;padding:10px 14px;display:inline-flex;justify-content:center;align-items:center;gap:12px;white-space:nowrap;font-size:12px;font-weight:500}.button.primary{background:var(--ink);color:#fff}.button.primary:hover{background:#38564b}.button.outline{border:1px solid #d9ddd3;background:#fff}.button.outline:hover{background:#f3f5ec}.button.subtle{background:transparent;color:#7b8478}.button.subtle:hover{background:#e9ede3}.button.small{padding:7px 10px;font-size:11px}.workspace{display:grid;grid-template-columns:236px minmax(420px,1fr) 306px;min-height:calc(100vh - 84px)}.sidebar{border-right:1px solid var(--line);background:#eff1e8;padding:28px 18px 16px;display:flex;flex-direction:column;gap:14px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.8px;color:#8a9680}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.sidebar-heading h1{font-size:17px;font-weight:650;margin:8px 0 0}.count{font-size:10px;background:#dfe5d5;border-radius:5px;padding:3px 6px;vertical-align:middle;font-weight:550;margin-left:4px;color:#617056}.icon-button{border:0;width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:transparent;font-size:18px;color:#808b78;flex-shrink:0}.icon-button:hover{background:#e1e6d8}.icon-button.danger:hover{color:#a64b35;background:#faece6}.shot-list{display:flex;flex-direction:column;gap:12px}.shot-card{border:1px solid #dfe4d6;border-radius:10px;background:#f6f7f1;padding:10px;cursor:pointer;position:relative;transition:border-color .2s,background .2s}.shot-card:hover{border-color:#adbba0}.shot-card.active{border:1.5px solid #647c52;background:#fafcf6;box-shadow:0 3px 8px #50654008;padding:9.5px}.shot-card.drag-over{border-color:var(--orange);background:#f4e9dc}.shot-card-head{display:flex;align-items:center;gap:6px;font-size:10px;color:#808b78;margin-bottom:8px}.shot-card.active .shot-card-head{color:#49633d}.shot-card-head strong{font-size:10px;letter-spacing:.7px}.shot-card-head .status-dot{margin-left:auto}.status-dot{width:5px;height:5px;background:#bdbfac;border-radius:50%}.status-dot.ready{background:#698958}.drag-handle{font-size:13px;cursor:grab}.thumbnail{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#fff;border-radius:5px;border:1px solid #e8e9df}.shot-card-title{font-size:12px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:9px 0 4px}.shot-card-meta{font-size:10px;color:#969b8b;display:flex;justify-content:space-between;gap:6px}.add-cut{border:1px dashed #c8d0bd;background:transparent;border-radius:8px;min-height:40px;width:100%;color:#7c8e6c;font-size:11px;padding:10px;flex-shrink:0}.add-cut:hover{background:#e7eddd}.sidebar-footer{margin-top:auto;padding-top:38px;color:#909a82;font-size:10px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.tiny-dot{width:5px;height:5px;border-radius:50%;background:#8e9b76;display:inline-block;flex-shrink:0}.version{font-size:8px;letter-spacing:1.4px;width:100%;padding:7px 11px}.main-panel{padding:25px 32px 35px;min-width:0}.panel-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px;gap:12px}.breadcrumb{font-size:10px;color:#a1a497;display:flex;gap:12px;min-width:0}.breadcrumb span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6c7768}.view-switch{display:flex;background:#e9ebe2;padding:3px;border-radius:7px;flex-shrink:0}.view-switch button{border:0;border-radius:5px;background:transparent;color:#929985;padding:7px 11px;font-size:10px}.view-switch button.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px #00000008}.shot-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:10px}.heading-title{display:flex;align-items:center;gap:11px;min-width:0}.shot-label{font-size:10px;letter-spacing:1px;background:#e7ebdc;color:#6f7e5e;padding:5px 7px;border-radius:4px;white-space:nowrap}.heading-title input{font-size:20px;font-weight:650;border:1px solid transparent;padding:4px 0;background:transparent;border-radius:3px;min-width:60px;max-width:340px}.heading-title input:focus{background:#fff;padding:4px 7px}.status-badge{font-size:9px;border-radius:4px;padding:4px 6px;background:#eae9df;color:#929480;white-space:nowrap}.status-badge.ready{background:#e0ebd9;color:#5a7945}.shot-actions{display:flex;gap:3px;align-items:center}.canvas-card{border:1px solid #dedfd5;border-radius:11px;background:#fff;overflow:hidden;box-shadow:0 6px 24px #46533504}.drawing-toolbar{display:flex;align-items:center;padding:9px 12px;gap:11px;border-bottom:1px solid var(--line);background:#fbfcf8;flex-wrap:wrap}.tool-group{display:flex;gap:3px;align-items:center}.tool{width:29px;height:29px;border:0;background:transparent;border-radius:5px;font-size:21px;font-weight:400;display:flex;align-items:center;justify-content:center;color:#8b9283}.tool:hover{background:#e8eddf}.tool.active{background:#e0e8d5;color:#48643c}.text-tool{font:18px Georgia,serif}.tool-divider{height:19px;width:1px;background:#e0e4d7;margin:0 4px}.color-picker{height:23px;width:23px;display:block;cursor:pointer}.color-picker input{width:23px;height:23px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}.color-picker input::-webkit-color-swatch-wrapper{padding:2px}.color-picker input::-webkit-color-swatch{border:0;border-radius:50%}.stroke-control{display:flex;align-items:center;font-size:9px;color:#959b88;gap:7px}.stroke-control input{width:56px;padding:0;height:15px;accent-color:#728364;box-shadow:none}.stroke-control span{width:14px}.toolbar-spacer{flex:1}.canvas-stage{background:#edeee6;padding:22px;display:flex;justify-content:center;align-items:center;min-height:220px}.canvas-stage canvas{width:100%;height:auto;max-height:550px;object-fit:contain;display:block;background:#fff;box-shadow:0 2px 10px #00000005;touch-action:none;cursor:crosshair}.canvas-footer{height:42px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;font-size:9px;color:#929a84;gap:10px}.canvas-footer>span{display:flex;align-items:center;gap:6px}.canvas-footer>div{display:flex;gap:17px;align-items:center}.guide-toggle{display:flex;gap:6px;align-items:center}.guide-toggle input{width:12px;height:12px}.below-canvas{display:grid;grid-template-columns:1fr;gap:26px;margin-top:28px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}h2{margin:0;font-size:14px;font-weight:650}.section-top p,.details-heading p{font-size:10px;color:#92998a;margin:7px 0 0;line-height:1.6}.reference-list{display:flex;flex-direction:column;gap:10px}.empty-reference{border:1px dashed #d7dcd0;border-radius:9px;min-height:99px;display:flex;align-items:center;justify-content:center;gap:12px;color:#98a38c;font-size:11px;background:#f9faf5;cursor:pointer}.empty-reference span{font-size:25px;font-weight:300}.reference-card{display:grid;grid-template-columns:86px 1fr 27px;gap:12px;padding:10px;background:#fbfcf8;border:1px solid var(--line);border-radius:9px}.reference-card img{width:86px;height:86px;object-fit:cover;border-radius:5px;background:#edeede}.reference-card .field-row{gap:8px;margin-bottom:6px}.reference-card input,.reference-card select{font-size:11px;padding:7px 8px}.reference-name{font-size:10px;color:#8f9984;margin:0 0 7px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.asset-section{border-top:1px solid var(--line);padding-top:22px}.text-button{border:0;background:transparent;color:#738267;font-size:10px;padding:4px}.asset-selector{display:flex;gap:9px;flex-wrap:wrap}.asset-toggle{padding:9px 10px;display:flex;align-items:center;gap:9px;background:#fafbf6;border:1px solid var(--line);border-radius:8px;cursor:pointer;font-size:11px}.asset-toggle.selected{background:#edf2e3;border-color:#b7c6a6}.asset-toggle img{width:30px;height:30px;object-fit:cover;border-radius:4px}.asset-placeholder{width:30px;height:30px;border:1px solid #dae0cf;background:#e9eddf;display:flex;align-items:center;justify-content:center;border-radius:5px;color:#83936e}.asset-note{width:100%;display:flex;gap:9px;align-items:center;margin-top:4px}.asset-note label{white-space:nowrap;font-size:10px;color:#819071;min-width:75px}.asset-note input{font-size:11px;padding:8px}.empty-assets{color:#99a18d;font-size:11px;padding:8px 0}.details-panel{border-left:1px solid var(--line);background:#fafbf7;padding:30px 22px}.details-heading{border-bottom:1px solid var(--line);padding-bottom:21px;margin-bottom:22px}.details-heading h2{font-size:18px;margin-top:9px}.detail-form{display:flex;flex-direction:column;gap:19px}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#58654f;line-height:1.5}.field-heading{display:flex;justify-content:space-between}.field-row{display:flex;gap:12px}.field-row>*{min-width:0;flex:1}.field-row select{font-size:11px;padding-right:0}.field-icon{color:#8c9a80}.optional{font-size:9px;color:#a3aa96}.required{font-size:8px;color:#a3a98c}.suffix-input{position:relative}.suffix-input input{padding-right:30px}.suffix-input span{position:absolute;right:12px;top:11px;font-size:10px;color:#a0a68f}.details-note{margin-top:25px;padding:13px;background:#eef1e5;border-radius:8px;display:flex;gap:10px;color:#869273;font-size:10px;align-items:center}.details-note>span{font-size:22px}.details-note p{margin:0;line-height:1.7}.hidden{display:none!important}.overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.overview-intro{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.overview-intro h2{font-size:22px}.overview-intro p{color:#92998a;font-size:11px}.overview-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;cursor:pointer}.overview-card:hover{border-color:#98ac85}.overview-card img{width:100%;display:block;aspect-ratio:16/9;object-fit:contain;background:#f7f8f2}.overview-content{padding:15px}.overview-content h3{margin:0 0 8px;font-size:13px}.overview-content p{margin:0;font-size:11px;line-height:1.7;color:#87947b;white-space:pre-wrap;overflow-wrap:anywhere}.overview-meta{display:flex;gap:9px;color:#929a85;font-size:9px;margin-top:12px}.modal{border:1px solid #dfe5d5;border-radius:15px;width:min(560px,calc(100vw - 36px));padding:0;box-shadow:0 24px 100px #263d3840;color:var(--text);max-height:90vh;background:#fbfcf8}.modal::backdrop{background:#23332b65;backdrop-filter:blur(4px)}.modal.wide{width:min(740px,calc(100vw - 36px))}.modal.compact{width:min(420px,calc(100vw - 36px))}.modal-heading{padding:25px 27px 20px;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line)}.modal-heading h2{font-size:22px;margin-top:8px}.modal-heading p{font-size:11px;color:#89977e;margin-bottom:0;line-height:1.6}.modal-body{padding:23px 27px;display:flex;flex-direction:column;gap:18px}.modal-footer{padding:16px 27px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:12px}.modal-footer .inline-note{margin-right:auto}.inline-note{color:#8b967e;font-size:10px;line-height:1.75;margin:0}.asset-library-card{border:1px solid var(--line);border-radius:9px;padding:17px;margin-bottom:13px;background:#fff}.asset-library-card header{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.asset-library-card .field{margin-bottom:10px}.asset-images{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:12px}.asset-image{position:relative}.asset-image img{height:78px;width:78px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}.asset-image button{position:absolute;right:-4px;top:-4px;background:#fff;border:1px solid var(--line);width:19px;height:19px;border-radius:50%;padding:0;color:#7d8973}.export-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.export-card{display:flex;flex-direction:column;gap:12px;text-align:left;padding:22px;background:#fff;border:1px solid var(--line);border-radius:9px}.export-card:hover{border-color:#91a47e;background:#f6f9ef}.export-icon{font-size:24px;color:#7e9268}.export-card strong{font-size:14px}.export-card>span:not(.export-icon){font-size:11px;color:#8f9a84;line-height:1.8}.export-card .export-link{color:#5f7a49!important;font-size:10px!important;margin-top:2px}.export-notice{background:#eef2e6;border-radius:8px;padding:14px;font-size:11px;line-height:1.8;color:#758565}.export-notice p{margin:5px 0 0}.validation-warning{background:#fff2df;color:#a4793e;padding:11px 13px;border-radius:6px;font-size:11px;line-height:1.7}.validation-ok{font-size:11px;color:#78905f;display:flex;gap:7px}.prompt-preview{font-size:11px;color:#7d8f6b}.prompt-preview summary{cursor:pointer;padding:8px 0}.prompt-preview textarea{font:11px/1.7 monospace;margin:9px 0}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);background:#2c443b;color:#f5f7ef;padding:13px 23px;border-radius:9px;font-size:12px;box-shadow:0 4px 20px #0002;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;max-width:90vw;line-height:1.7}.toast.show{opacity:1;transform:translate(-50%,0)}.muted{color:#9ca692}@media(min-width:1650px){.workspace{grid-template-columns:260px minmax(420px,1fr) 340px}.main-panel{padding:25px 48px}.below-canvas{grid-template-columns:1.2fr 1fr}.asset-section{border-top:0;border-left:1px solid var(--line);padding:0 0 0 26px}.canvas-stage canvas{max-height:650px}}@media(max-width:1180px){.workspace{grid-template-columns:200px minmax(360px,1fr) 265px}.app-header{gap:14px;padding:0 20px}.main-panel{padding:23px 20px}.sidebar{padding:25px 12px}.details-panel{padding:27px 16px}.save-status{display:none}.heading-title input{font-size:17px}.status-badge{display:none}.drawing-toolbar{gap:6px}.stroke-control{display:none}.shot-actions .button{font-size:0;gap:0;width:29px;padding:0}.shot-actions .button::before{content:'⧉';font-size:17px}.canvas-stage{padding:16px}}@media(max-width:930px){.workspace{grid-template-columns:180px minmax(0,1fr)}.details-panel{grid-column:2;border-top:1px solid var(--line);border-left:0}.detail-form{display:grid;grid-template-columns:1fr 1fr}.details-heading{padding-bottom:15px}.details-note{display:none}.sidebar{grid-row:1/3}.header-divider,.header-actions .subtle,.project-title .muted{display:none}.project-title{max-width:220px}.brand{font-size:11px}.brand-sub{font-size:8px}.brand-mark{width:33px;height:33px}.app-header{gap:15px;height:74px}.main-panel{padding:23px}.canvas-stage canvas{max-height:420px}.toolbar-spacer{min-width:8px}.drawing-toolbar{padding:7px}.canvas-footer{font-size:8px;padding:0 10px}.heading-title input{max-width:220px}}@media(max-width:650px){.app-header{padding:0 12px;gap:10px;flex-wrap:wrap;height:auto;min-height:100px;padding-top:12px;padding-bottom:12px}.brand{margin-right:auto}.project-title{font-size:11px;max-width:170px}.header-actions{width:100%;justify-content:flex-end}.header-actions .subtle{display:inline-flex;margin-right:auto;font-size:10px;padding:7px}.header-actions .subtle:nth-child(2){margin-right:0}.header-actions .button{padding:8px 10px;font-size:10px}.workspace{display:flex;flex-direction:column}.sidebar{padding:14px 12px;gap:10px;border-right:0;border-bottom:1px solid var(--line)}.sidebar-heading{margin-bottom:0}.sidebar-heading .eyebrow,.sidebar-footer,.add-cut#add-shot-bottom{display:none}.sidebar-heading h1{margin:0;font-size:14px}.shot-list{flex-direction:row;overflow-x:auto;padding-bottom:5px;gap:8px}.shot-card{min-width:128px;max-width:128px;padding:7px}.shot-card.active{padding:6.5px}.shot-card-title{font-size:10px}.shot-card-head{font-size:9px;margin-bottom:4px}.shot-card-head strong{font-size:8px}.shot-card-meta{font-size:8px}.main-panel{padding:20px 12px}.panel-top{margin-bottom:20px}.breadcrumb{max-width:150px;font-size:9px;gap:5px}.view-switch button{padding:6px 8px;font-size:9px}.heading-title{gap:7px}.heading-title input{font-size:16px;max-width:180px}.shot-label{font-size:8px;padding:4px}.shot-actions{gap:0}.shot-actions .icon-button{width:24px;font-size:15px}.canvas-stage{padding:10px;min-height:170px}.drawing-toolbar{gap:4px}.tool{width:25px;font-size:20px}.tool-divider{margin:0 2px}.color-picker,.color-picker input{width:19px;height:19px}.drawing-toolbar>.tool-divider{display:none}.canvas-footer>span{max-width:190px}.guide-toggle{font-size:8px}.canvas-footer>div{gap:8px}.details-panel{padding:22px 15px}.detail-form{gap:15px;grid-template-columns:1fr}.overview{gap:12px;grid-template-columns:1fr}.modal-heading,.modal-body,.modal-footer{padding-left:20px;padding-right:20px}.export-options{gap:8px}.export-card{padding:15px;gap:9px}.export-card strong{font-size:12px}.export-card>span:not(.export-icon){font-size:10px}.reference-card{grid-template-columns:64px 1fr 20px;gap:8px}.reference-card img{width:64px;height:80px}.reference-card .field-row{flex-direction:column;gap:5px}.section-top p{font-size:9px}.section-top h2{font-size:13px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.canvas-size-bar{display:flex;align-items:center;gap:11px;margin:-4px 0 16px;flex-wrap:wrap}.canvas-size-bar>label{font-size:11px;color:#708064;font-weight:550}.canvas-size-bar select{width:auto;min-width:135px;font-size:11px;padding:8px 10px;background:#fafcf6}.resolution-badge{font-size:11px;color:#526c43;background:#e9efdf;border:1px solid #dce5cf;border-radius:5px;padding:6px 9px;font-variant-numeric:tabular-nums}.size-note{font-size:9px;color:#94a085}.canvas-size-bar .button{margin-left:auto}@media(max-width:650px){.canvas-size-bar{gap:7px}.canvas-size-bar>label{font-size:10px}.canvas-size-bar select{min-width:116px;font-size:10px}.resolution-badge{font-size:9px;padding:6px}.size-note{display:none}.canvas-size-bar .button{font-size:10px}}

.file-status{padding:8px 28px;border-bottom:1px solid var(--line);color:#758565;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f7f8f2}.header-actions{flex-wrap:wrap}.app-header{min-height:86px;height:auto;padding-top:14px;padding-bottom:14px}@media(max-width:650px){.header-actions{justify-content:flex-start;gap:5px}.header-actions .button{padding:8px 7px}.file-status{padding:7px 12px;font-size:10px}}
