:root{color:#172033;background:#f5f7f4;font-family:Pretendard,Noto Sans KR,Apple SD Gothic Neo,Malgun Gothic,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html{min-width:320px;background:#f5f7f4}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,input,select{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(46,126,202,.32);outline-offset:2px}.app-shell{min-height:100vh;display:grid;grid-template-columns:352px minmax(0,1fr);background:#f5f7f4}.sidebar{min-width:0;min-height:100vh;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;border-right:1px solid #dfe6de;background:#fbfcfa;box-shadow:14px 0 34px #1e2d230a;z-index:20}.sidebar-brand{min-height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid #e6ebe5}.brand-lockup{display:inline-flex;align-items:center;gap:11px}.brand-lockup h1{margin:0;font-size:27px;line-height:1;letter-spacing:0}.brand-mark{width:28px;height:28px;display:inline-grid;grid-template-columns:repeat(4,1fr);align-items:end;gap:3px}.brand-mark span{width:5px;border-radius:10px}.brand-mark span:nth-child(1){height:13px;background:#8e24aa}.brand-mark span:nth-child(2){height:22px;background:#e53935}.brand-mark span:nth-child(3){height:17px;background:#43a047}.brand-mark span:nth-child(4){height:25px;background:#1e88e5}.sidebar-close,.mobile-settings-toggle,.mobile-upload-action{display:none}.sidebar-content{flex:1;overflow-y:auto;overscroll-behavior:contain}.panel{border-bottom:1px solid #e6ebe5;padding:22px 24px}.panel-kicker{display:flex;align-items:center;gap:9px;margin-bottom:14px;color:#202b3a;font-size:15px;font-weight:800}.panel-kicker>span{width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e8f2ec;color:#327151;font-size:12px;font-weight:900}.panel-kicker.compact{margin:0}.drop-zone{min-height:142px;display:grid;place-items:center;align-content:center;gap:7px;border:1.5px dashed #bdcabe;border-radius:12px;background:#fff;color:#344054;cursor:pointer;text-align:center;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}.drop-zone:hover,.drop-zone.is-dragging{border-color:#3981c4;background:#f4f9ff;box-shadow:0 10px 28px #3981c41f;transform:translateY(-1px)}.drop-zone input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.upload-icon,.empty-state-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;color:#2c7fc8;background:#eaf4ff}.drop-zone-title{max-width:260px;font-size:15px;font-weight:800}.drop-zone small{color:#748093;font-size:12px;font-weight:650}.file-chip{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:7px;min-height:42px;margin-top:10px;padding:0 8px 0 4px;color:#285b43;font-size:13px;font-weight:750}.file-chip svg:first-child{color:#43a047}.file-chip svg:nth-child(2){color:#667085}.file-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-chip button{display:inline-flex;border:0;padding:6px;color:#667085;background:transparent;cursor:pointer;border-radius:6px}.file-chip button:hover{color:#b42318;background:#fff1f0}.upload-hint{margin:10px 2px 0;color:#7a8796;font-size:12px;line-height:1.55}.settings-block{margin-top:21px;padding-top:20px;border-top:1px solid #ebefea}.field-row{display:grid;grid-template-columns:minmax(0,1fr) 140px;align-items:center;gap:14px;margin-top:13px;color:#4b596a;font-size:13px;font-weight:750}.field-row>span{min-width:0}.field-row>span small,.switch-row small{display:block;margin-top:3px;color:#8a96a4;font-size:11px;font-weight:550;line-height:1.35}.field-row select,.field-row input,.editor-grid select,.metadata-editor input,.add-event-grid select,.add-event-grid input{width:100%;min-height:40px;border:1px solid #d9e2d9;border-radius:8px;background:#fff;color:#172033;padding:0 10px;box-shadow:0 1px 2px #17203308}.field-row select:focus,.field-row input:focus,.editor-grid select:focus,.metadata-editor input:focus,.add-event-grid select:focus,.add-event-grid input:focus{border-color:#5b9ddd;outline:none;box-shadow:0 0 0 3px #5b9ddd29}.unit-width-field{align-items:start}.unit-width-field>div{display:grid;gap:7px}.unit-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.unit-presets button{min-height:27px;border:1px solid #dfe6df;border-radius:6px;background:#f7f9f7;color:#667085;cursor:pointer;font-size:11px;font-weight:800}.unit-presets button.active{border-color:#377c59;background:#e7f3eb;color:#246241}.switch-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:18px;color:#4b596a;font-size:13px;font-weight:750}.switch-row input{width:42px;height:24px;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;border:0;border-radius:999px;background:#c8d2cc;cursor:pointer;transition:background .16s ease}.switch-row input:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0000002e;transition:transform .16s ease}.switch-row input:checked{background:#172033}.switch-row input:checked:after{transform:translate(18px)}.primary-button,.empty-state-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:9px;font-weight:850;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.primary-button{width:100%;min-height:46px;margin-top:20px;color:#fff;background:#172033;box-shadow:0 9px 18px #17203329}.primary-button:not(:disabled):hover{background:#0d1625;transform:translateY(-1px);box-shadow:0 14px 25px #17203336}.primary-button:disabled{color:#f5f6f7;background:#a7afbb;cursor:not-allowed;box-shadow:none}.editor-panel{padding:0}.editor-disclosure summary{list-style:none;min-height:71px;display:flex;align-items:center;gap:11px;padding:0 24px;cursor:pointer}.editor-disclosure summary::-webkit-details-marker{display:none}.editor-disclosure summary:after{content:"+";margin-left:auto;color:#657183;font-size:20px;font-weight:400}.editor-disclosure[open] summary{border-bottom:1px solid #e7ece7}.editor-disclosure[open] summary:after{content:"−"}.summary-icon{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#376f97;background:#ebf4fb}.editor-disclosure summary>span:last-child{display:grid;gap:3px}.editor-disclosure strong{color:#263244;font-size:14px}.editor-disclosure small{color:#8590a0;font-size:11px;font-weight:600}.editor-content{display:grid;gap:17px;padding:18px 24px 24px}.editor-section{display:grid;gap:10px}.editor-section-title{display:inline-flex;align-items:center;gap:7px;color:#344054;font-size:13px;font-weight:850}.metadata-editor label,.part-name-list label{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:8px;color:#667085;font-size:12px;font-weight:750}.part-name-list{display:grid;gap:8px}.metadata-save-button{justify-self:start}.editor-section-divider{display:flex;align-items:center;gap:10px;color:#667085;font-size:12px;font-weight:850}.editor-section-divider:after{content:"";flex:1;height:1px;background:#e7ece7}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.editor-grid label,.add-event-grid label{display:grid;gap:6px;color:#667085;font-size:12px;font-weight:750}.editor-event-select{grid-column:1 / -1}.event-detail{display:flex;flex-wrap:wrap;gap:6px}.event-detail span{border-radius:999px;padding:5px 8px;color:#536174;background:#f1f5f2;font-size:11px;font-weight:750}.editor-label{color:#667085;font-size:12px;font-weight:850}.button-row{display:flex;flex-wrap:wrap;gap:6px}.tool-button{min-height:31px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dce4dc;border-radius:7px;background:#fff;color:#435166;cursor:pointer;padding:0 9px;font-size:12px;font-weight:800}.tool-button:hover:not(:disabled){border-color:#aebcae;background:#f6f9f5}.tool-button:disabled{opacity:.45;cursor:not-allowed}.tool-button.strong{color:#246241;border-color:#bcd8c3;background:#f0f8f2}.tool-button.danger{color:#b42318;border-color:#f1c5c0;background:#fff6f5}.add-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.legend-panel{padding-top:19px}.legend-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.legend-heading small{color:#83909e;font-size:11px;font-weight:700}.legend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.legend-item{min-height:31px;display:flex;align-items:center;justify-content:space-between;border-radius:7px;color:#fff;background:var(--note-color);padding:0 9px;font-size:12px;font-weight:750;box-shadow:inset 0 0 0 1px #00000012}.legend-item strong{font-size:13px}.legend-item.rest{color:#485464;background:#e5e7e6}.sidebar-footer{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 24px;border-top:1px solid #e6ebe5;color:#97a0ac;font-size:11px;font-weight:650}.main-column{min-width:0;display:flex;flex-direction:column;background:#f5f7f4}.topbar{min-height:76px;position:sticky;top:0;z-index:100;display:grid;grid-template-columns:minmax(180px,360px) 1fr auto;align-items:center;gap:18px;padding:14px 28px;border-bottom:1px solid #dfe6de;background:#fbfcfaf2;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.title-control{min-width:0;min-height:44px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #d8e1d8;border-radius:9px;color:#172033;background:#fff;padding:0 12px;font-size:14px;font-weight:800;text-align:left;cursor:pointer}.title-control:disabled{cursor:default;color:#667085;background:#f7f8f7}.title-control span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title-control svg{color:#778395}.title-editor{grid-template-columns:minmax(0,1fr) auto auto;padding:4px}.title-editor input{min-width:0;height:34px;border:0;outline:none;padding:0 8px;font-weight:800}.title-editor button{min-height:34px;border:0;border-radius:6px;color:#536174;background:transparent;cursor:pointer;padding:0 9px;font-size:12px;font-weight:850}.title-editor button[type=submit]{color:#fff;background:#246241}.topbar-center,.topbar-actions{display:flex;align-items:center;justify-content:center;gap:9px}.topbar-actions{justify-content:flex-end}.save-state{display:inline-flex;align-items:center;gap:6px;color:#397253;font-size:13px;font-weight:800;white-space:nowrap}.topbar-divider{width:1px;height:28px;background:#e1e7e1}.icon-button{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce4dc;border-radius:8px;color:#667085;background:#fff;cursor:pointer}.icon-button:not(:disabled):hover{color:#172033;border-color:#bfcabf;background:#f7faf7}.icon-button:disabled{opacity:.45;cursor:not-allowed}.download-dropdown{position:relative;z-index:101}.download-menu{min-height:44px;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:9px;color:#fff;background:#172033;cursor:pointer;padding:0 16px;font-size:14px;font-weight:850;box-shadow:0 9px 20px #17203329}.download-menu:disabled{color:#eff1f3;background:#a9b1bd;cursor:not-allowed;box-shadow:none}.download-popover{width:210px;position:absolute;top:calc(100% + 10px);right:0;z-index:10000;display:grid;gap:2px;padding:7px;border:1px solid #dce4dc;border-radius:10px;background:#fff;box-shadow:0 20px 46px #1720332e}.download-popover a{min-height:46px;display:flex;align-items:center;justify-content:space-between;border-radius:7px;color:#263244;text-decoration:none;padding:0 10px}.download-popover a:hover{background:#f1f7f2}.download-popover a span{color:#286a96;font-size:13px;font-weight:900}.download-popover a small{color:#7d8897;font-size:11px;font-weight:650}.main-notices{display:grid;gap:10px;padding:16px 28px 0}.error-panel,.warnings-panel{border-radius:10px;padding:13px 15px;font-size:13px;line-height:1.5}.error-panel{border:1px solid #f6c9c4;color:#8d261d;background:#fff4f3}.error-panel strong{display:block;margin-bottom:2px}.error-panel p,.warnings-panel p{margin:0}.warnings-panel{border:1px solid #f1dc9f;color:#805d16;background:#fffbe9}.toast-region{position:fixed;top:92px;right:28px;z-index:9000;display:grid;gap:8px;pointer-events:none}.floating-toast{min-width:280px;max-width:min(420px,calc(100vw - 36px));display:inline-flex;align-items:center;gap:9px;border:1px solid #b9d7c1;border-radius:10px;color:#2b6645;background:#fffffff7;box-shadow:0 18px 42px #1720332b;padding:12px 14px;font-size:13px;font-weight:800;animation:toast-slide-fade 3.2s ease forwards}.floating-toast svg{color:#3b9a58}@keyframes toast-slide-fade{0%{opacity:0;transform:translateY(-8px)}12%,76%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-8px)}}.viewer-panel{min-width:0;display:grid;gap:0;padding:22px 28px 26px}.viewer-toolbar{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:16px}.mode-segment{display:inline-flex;align-items:center;gap:5px;border:1px solid #dce4dc;border-radius:9px;background:#fff;padding:4px}.mode-chip{min-height:36px;display:inline-flex;align-items:center;gap:7px;border:0;border-radius:6px;color:#607084;background:transparent;cursor:pointer;padding:0 11px;font-size:13px;font-weight:850}.mode-chip.active{color:#fff;background:#172033;box-shadow:0 6px 14px #17203326}.viewer-toolbar-hint{margin:0;color:#738093;font-size:12px;font-weight:650;text-align:right}.svg-scroll{min-width:0;min-height:min(68vh,720px);max-height:min(68vh,720px);margin-top:12px;overflow:auto;border:1px solid #dfe6de;border-radius:14px;background:#fff;box-shadow:0 16px 42px #26382c12;scrollbar-gutter:stable both-edges;overscroll-behavior:contain}.svg-scroll>svg{display:block;max-width:none;min-width:max-content}.svg-scale-layer{transform-origin:0 0}.svg-scale-layer>svg{display:block;max-width:none;min-width:0;transform:scale(var(--score-zoom, 1));transform-origin:0 0}.direct-edit-scroll{cursor:crosshair}.direct-edit-svg{-webkit-user-select:none;user-select:none;touch-action:none}.measure-hit-area{fill:transparent;pointer-events:all}.editable-event{cursor:grab}.editable-event:active{cursor:grabbing}.editable-event text{pointer-events:none}.selection-ring{fill:none;stroke:#172033;stroke-width:2;pointer-events:none}.resize-handle{fill:#172033d9;cursor:ew-resize}.direct-edit-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:9px;padding:12px;border:1px solid #dfe6de;border-bottom:0;border-radius:12px 12px 0 0;background:#fff}.direct-edit-field{display:grid;gap:4px;color:#758194;font-size:11px;font-weight:800}.direct-edit-field select{min-height:34px;border:1px solid #dce4dc;border-radius:7px;color:#263244;background:#fff;padding:0 8px;font-size:12px;font-weight:750}.direct-edit-button{min-height:34px;display:inline-flex;align-items:center;gap:5px;border:1px solid #dce4dc;border-radius:7px;color:#405066;background:#fff;cursor:pointer;padding:0 9px;font-size:12px;font-weight:800}.direct-edit-button:hover:not(:disabled){background:#f3f8f4}.direct-edit-button.danger{color:#b42318;border-color:#f1cac5;background:#fff8f7}.direct-edit-button:disabled{opacity:.5;cursor:not-allowed}.direct-edit-hint{flex:1 1 190px;align-self:center;color:#83909e;font-size:11px;font-weight:650;line-height:1.4}.viewer-statusbar{min-height:48px;display:flex;align-items:center;justify-content:flex-end;gap:13px;padding:10px 4px 0;color:#788597;font-size:12px;font-weight:750}.zoom-stepper{height:34px;display:inline-grid;grid-template-columns:34px 64px 34px;align-items:center;overflow:hidden;border:1px solid #dce4dc;border-radius:8px;background:#fff;color:#263244}.zoom-stepper button{height:100%;border:0;color:#445267;background:#fff;cursor:pointer;font-size:17px;font-weight:850}.zoom-stepper button:disabled{color:#c0c8d2;cursor:not-allowed}.zoom-stepper button+strong,.zoom-stepper strong+button{border-left:1px solid #dce4dc}.zoom-stepper strong{height:100%;display:inline-flex;align-items:center;justify-content:center;font-size:12px}.viewer-empty{min-height:min(68vh,640px);position:relative;display:grid;place-items:center;overflow:hidden;margin:22px 28px;border:1px solid #dfe6de;border-radius:14px;background:#fff;box-shadow:0 16px 42px #26382c12;text-align:center}.staff-lines{position:absolute;top:27%;right:8%;bottom:27%;left:8%;opacity:.9;background:repeating-linear-gradient(to bottom,transparent 0,transparent 24px,rgba(99,116,105,.13) 25px,rgba(99,116,105,.13) 26px)}.empty-state-copy{position:relative;z-index:1;max-width:420px;display:grid;justify-items:center;gap:11px;padding:28px}.empty-state-copy h2{margin:5px 0 0;color:#253144;font-size:21px}.empty-state-copy p{margin:0;color:#718093;font-size:14px;font-weight:600;line-height:1.65}.empty-state-action{min-height:40px;margin-top:6px;color:#fff;background:#246241;padding:0 13px;font-size:13px}.empty-state-action:hover{background:#195139}.sidebar-scrim{display:none}@media (max-width: 1040px){.app-shell{grid-template-columns:310px minmax(0,1fr)}.panel{padding-left:20px;padding-right:20px}.sidebar-brand{padding:0 20px}.topbar{grid-template-columns:minmax(160px,300px) 1fr auto;padding-left:20px;padding-right:20px}.viewer-panel{padding-left:20px;padding-right:20px}.viewer-empty{margin-left:20px;margin-right:20px}.viewer-toolbar-hint{display:none}}@media (max-width: 820px){.app-shell{display:block}.sidebar{width:min(360px,calc(100vw - 42px));position:fixed;inset:0 auto 0 0;height:100dvh;transform:translate(-105%);transition:transform .21s ease;box-shadow:16px 0 50px #1720332b;z-index:1001}.sidebar.mobile-open{transform:translate(0)}.sidebar-close{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;color:#667085;background:#f3f6f3;cursor:pointer}.sidebar-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;border:0;opacity:0;pointer-events:none;background:#11182757;transition:opacity .21s ease}.sidebar-scrim.visible{opacity:1;pointer-events:auto}.main-column{min-height:100dvh}.topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;min-height:66px;padding:10px 14px}.mobile-settings-toggle{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce4dc;border-radius:8px;color:#445267;background:#fff;cursor:pointer}.title-control{min-height:40px;font-size:13px}.topbar-center{display:none}.mobile-upload-action{min-height:38px;display:inline-flex;align-items:center;gap:5px;border:1px solid #dce4dc;border-radius:8px;color:#405066;background:#fff;cursor:pointer;padding:0 9px;font-size:12px;font-weight:800}.download-menu{min-height:40px;width:40px;justify-content:center;padding:0}.download-menu span,.download-menu svg:last-child{display:none}.download-popover{top:calc(100% + 8px);right:0}.main-notices{padding:12px 14px 0}.toast-region{top:78px;right:12px}.viewer-panel{padding:12px 14px 20px}.viewer-toolbar{min-height:44px}.mode-chip{min-height:34px;padding:0 10px}.svg-scroll{min-height:56vh;max-height:64vh;margin-top:9px;border-radius:11px}.viewer-statusbar{justify-content:flex-start;flex-wrap:wrap;gap:8px 11px;padding-top:9px}.viewer-empty{min-height:62vh;margin:12px 14px}.staff-lines{top:28%;right:7%;bottom:28%;left:7%}.direct-edit-toolbar{gap:7px}.direct-edit-hint{flex-basis:100%;order:3}}@media (max-width: 480px){.sidebar{width:min(100vw - 24px,360px)}.topbar{grid-template-columns:auto minmax(0,1fr) auto;padding:9px 10px}.title-control{padding:0 9px}.title-editor{grid-template-columns:minmax(0,1fr) auto auto}.title-editor button[type=submit]{display:inline-flex;align-items:center}.mobile-upload-action{display:none}.viewer-panel{padding:10px 10px 18px}.viewer-empty{margin:10px}.main-notices{padding:10px 10px 0}.floating-toast{min-width:0}.field-row{grid-template-columns:1fr;gap:7px}.unit-width-field{gap:7px}.metadata-editor label,.part-name-list label{grid-template-columns:1fr;gap:5px}.add-event-grid{grid-template-columns:1fr 1fr}.direct-edit-toolbar{padding:9px}.viewer-statusbar>span{font-size:11px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
