@font-face{font-family:OreumNoto;src:url("assets/noto-sans-kr-400.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:OreumNoto;src:url("assets/noto-sans-kr-700.woff2") format("woff2");font-style:normal;font-weight:700 900;font-display:swap}
:root{font-family:OreumNoto,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;color:#35342f;background:#f2f0e8;font-synthesis:none;--gold:#f4e6a8;--line:#eae7db;--muted:#76756d}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit}.app{width:100%;min-height:100vh;min-height:100dvh;max-width:1100px;margin:auto;background:#fffdf9;box-shadow:0 0 32px #28241412}.screen{min-height:100vh;min-height:100dvh}.run-screen{height:100vh;height:100dvh;min-height:490px;display:flex;flex-direction:column;overflow:hidden}.header{height:62px;flex:none;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:0 clamp(12px,3vw,28px);background:#fffdf9;position:relative;z-index:40}.logo{height:35px;width:35px;object-fit:contain}.header-brand{display:flex;align-items:center;gap:8px;white-space:nowrap;text-decoration:none;font-weight:800;font-size:16px}.header-links{display:flex;align-items:center;gap:5px;margin-left:auto}.header-links button,.menu-popup button{border:0;background:transparent;padding:10px 12px;border-radius:10px;color:#5e5c54;font-size:14px;font-weight:650}.header-links button.active,.menu-popup button.active{background:#f7eac1;color:#514222}.header-links button:hover,.menu-popup button:hover{background:#f5f1e3}.menu-toggle{display:none;border:1px solid var(--line);background:white;width:42px;height:42px;border-radius:12px;margin-left:auto;font-size:22px}.menu-popup{position:absolute;top:56px;right:12px;width:200px;padding:8px;display:grid;background:white;border:1px solid var(--line);box-shadow:0 12px 32px #0002;border-radius:14px}.menu-popup button{text-align:left}.back-button{border:0;background:transparent;color:var(--muted);padding:8px;font-weight:700}.main-page{padding:24px clamp(16px,4vw,40px) 48px}.eyebrow{font-size:12px;font-weight:800;color:#967a31;letter-spacing:.04em}.page-title{font-size:clamp(22px,3vw,30px);margin:7px 0 8px;letter-spacing:-.04em}.page-sub{color:var(--muted);margin:0 0 22px;font-size:14px;line-height:1.5}.btn{border:1px solid #ddd8c8;background:white;color:#3f3d34;border-radius:12px;min-height:43px;padding:9px 14px;font-weight:700}.btn-primary{background:var(--gold);border-color:var(--gold);color:#473b21}.btn-small{min-height:36px;padding:6px 10px;font-size:13px}.btn-icon{width:44px;height:44px;padding:0;border-radius:50%;display:grid;place-items:center;font-size:23px;flex:none}.login-screen{display:flex;flex-direction:column}.login-center{flex:1;display:flex;align-items:center;justify-content:center;padding:25px}.login-panel{width:min(100%,410px);text-align:center}.login-panel>img{height:88px;width:88px;object-fit:contain}.login-panel h1{font-size:24px;margin:14px 0 7px}.login-panel p{font-size:14px;color:var(--muted);margin:0 0 28px}.login-panel .form{display:grid;gap:13px;text-align:left}.field{display:grid;gap:6px;font-size:13px;font-weight:700;color:#6b685f}.field input,.field select,.item-name{border:1px solid #ddd9cb;border-radius:11px;background:white;padding:0 13px;height:45px;color:#36352f;min-width:0}.field input:focus,.field select:focus,.item-name:focus{outline:2px solid #c5a950;outline-offset:1px}.login-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:7px}.login-note{font-size:12px;color:#8c897e;line-height:1.5;margin-top:20px}.hero{background:#fff7dd;border:1px solid #f1e2af;border-radius:20px;padding:22px;margin-bottom:18px}.hero h2{font-size:21px;margin:0 0 8px}.hero p{margin:0;color:#716747;font-size:14px}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.choice{border:2px solid #f2e6bd;background:#fffbef;border-radius:20px;padding:18px;text-align:left;min-height:160px;display:flex;flex-direction:column;justify-content:space-between}.choice.pink{border-color:#ecdaba;background:#fff8eb}.choice .choice-icon{font-size:34px}.choice strong{font-size:20px}.choice small{color:#777066;font-size:13px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 12px}.section-heading h2{font-size:18px;margin:0}.program-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.program-tile-card{position:relative;border:1px solid var(--line);background:white;border-radius:14px;overflow:hidden}.program-tile{width:100%;border:0;background:white;text-align:left;padding:15px 64px 15px 15px;display:grid;gap:7px}.program-tile strong{font-size:16px}.program-tile span{font-size:12px;color:var(--muted)}.program-delete{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:1px solid #e7c9c9;background:#fff7f7;color:#9b3f3f;border-radius:10px;padding:7px 9px;font-weight:700;font-size:12px}.run-toolbar{height:66px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 clamp(12px,3vw,28px)}.program-picker-wrap{position:relative;min-width:0}.program-picker{border:0;background:transparent;display:flex;align-items:center;gap:7px;text-align:left;padding:8px 4px;color:#35342f;font-size:clamp(17px,2vw,22px);font-weight:800;max-width:100%}.program-picker span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.program-picker .chevron{font-size:15px;color:#8e7a44}.program-menu{position:absolute;top:100%;left:0;width:min(320px,calc(100vw - 32px));max-height:50vh;overflow:auto;border-radius:14px;border:1px solid var(--line);background:white;box-shadow:0 12px 28px #0002;padding:6px;z-index:50}.program-menu button{width:100%;text-align:left;background:white;border:0;border-radius:9px;padding:11px;font-weight:650}.program-menu button:hover,.program-menu button.selected{background:#fbf0cb}.run-tools{display:flex;gap:5px;align-items:center}.count{font-size:12px;color:var(--muted);white-space:nowrap}.run-body{flex:1;min-height:0;display:flex;gap:clamp(7px,2vw,20px);padding:0 clamp(10px,3vw,28px) 14px}.strip{min-width:0;flex:1;display:flex;flex-direction:column;gap:clamp(4px,1vh,9px);padding:clamp(7px,1.5vw,14px);border:2px solid #efd890;background:#fbf5e2;border-radius:20px;position:relative}.schedule-card{flex:1 1 0;min-height:0;display:flex;align-items:center;gap:clamp(7px,1.8vw,20px);border:1px solid #e9e5d8;border-radius:14px;background:#fff;padding:5px clamp(7px,1.5vw,16px);touch-action:none;user-select:none;position:relative;z-index:1;transition:transform .2s,opacity .2s;cursor:grab}.schedule-card.dragging{z-index:30;transition:none;cursor:grabbing;box-shadow:0 12px 30px #0003}.schedule-photo{width:clamp(49px,calc((100dvh - 205px)/6),148px);height:clamp(49px,calc((100dvh - 205px)/6),148px);max-height:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#eee;flex:none}.schedule-label{font-size:clamp(15px,2.3vw,23px);font-weight:750;line-height:1.2;overflow-wrap:anywhere}.basket-side{width:clamp(100px,23vw,190px);flex:none;display:flex;align-items:flex-end;justify-content:center}.basket{width:100%;min-height:145px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;padding:12px 2px;border-radius:20px;color:#9a7834;transition:background .15s,transform .15s}.basket.over{background:#fff0bd;transform:scale(1.04)}.basket svg{width:min(100%,128px);height:auto;overflow:visible}.basket span{font-size:12px;font-weight:800}.run-footer{height:24px;flex:none;display:grid;place-items:center;font-size:11px;color:#aaa69c}.first-body{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;gap:clamp(7px,2vw,30px);padding:16px}.first-item{flex:1;max-width:360px;min-width:0;text-align:center}.first-item h2{font-size:clamp(18px,3vw,28px);margin:0 0 15px}.first-item img{width:100%;max-width:330px;aspect-ratio:1;object-fit:cover;border:3px solid #403e35;border-radius:17px;background:#fff}.first-item p{font-size:clamp(14px,2vw,20px);font-weight:750;margin:12px 0}.first-arrow{font-size:clamp(23px,5vw,48px);font-weight:800;color:#c69c38;padding-top:20px}.builder-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.panel{background:white;border:1px solid var(--line);border-radius:17px;padding:16px;min-width:0}.panel h2{font-size:17px;margin:0 0 14px}.form-row{display:flex;gap:10px;flex-wrap:wrap}.form-row .field{flex:1;min-width:150px}.type-buttons,.category-buttons,.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.type-buttons button,.category-buttons button,.tabs button{border:1px solid #e2dece;background:#fff;padding:8px 12px;border-radius:999px;font-weight:700;font-size:13px}.type-buttons button.selected,.category-buttons button.selected,.tabs button.selected{background:#f5e6b0;border-color:#ddc779}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;max-height:590px;overflow:auto}.photo-choice{min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px;display:grid;gap:5px;text-align:center;touch-action:pan-y}.photo-choice img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.photo-choice span{font-size:12px;font-weight:650}.dropzone{border:2px dashed #dac687;border-radius:13px;background:#fffdf5;padding:12px;min-height:90px}.dropzone.over{background:#fff1c1}.dropzone .hint{font-size:13px;color:#8c8061;margin:0}.selected-item{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;border-radius:11px;padding:6px;margin-bottom:6px}.selected-item img{width:47px;height:47px;object-fit:cover;border-radius:8px;flex:none}.selected-item .item-name{flex:1;width:80px;height:40px;font-size:14px}.selected-item .mini{min-width:32px;height:34px;background:#fff;border:1px solid var(--line);border-radius:8px}.builder-save{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}.admin-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px}.user-row,.admin-program{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-bottom:1px solid var(--line)}.user-row.selected{background:#fffaea;border-radius:10px}.user-row button,.admin-program button{font-size:13px}.admin-program-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.admin-delete{color:#9b3f3f;border-color:#e7c9c9;background:#fff7f7}.admin-photo-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px}.admin-photo{border:1px solid var(--line);border-radius:12px;padding:7px;background:white}.admin-photo img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.admin-photo strong,.admin-photo small{display:block;margin-top:4px}.admin-photo small{color:var(--muted)}.photo-delete{width:100%;margin-top:7px;color:#9b3f3f;border-color:#e7c9c9;background:#fff7f7}.notice{background:#fff9e8;border-radius:10px;padding:10px 12px;font-size:12px;color:#685b38;margin-bottom:16px}.admin-actions{display:grid;gap:8px}.modal-backdrop{position:fixed;inset:0;background:#0007;z-index:100;display:grid;place-items:center;padding:16px}.modal{width:min(100%,420px);background:white;border-radius:18px;padding:20px;display:grid;gap:12px}.modal h2{margin:0;font-size:20px}.modal-actions{display:flex;gap:8px;justify-content:flex-end}.toast{position:fixed;z-index:120;bottom:28px;left:50%;transform:translateX(-50%);background:#3f3d34;color:white;padding:11px 17px;border-radius:12px;box-shadow:0 4px 18px #0003;font-size:14px;white-space:nowrap}.drag-ghost{position:fixed;z-index:300;width:75px;height:75px;pointer-events:none;border-radius:10px;box-shadow:0 10px 30px #0004;object-fit:cover;opacity:.9}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:680px){.header-links{display:none}.menu-toggle{display:block}.builder-grid,.admin-grid{grid-template-columns:1fr}.main-page{padding:18px 14px 40px}.choices{gap:9px}.choice{min-height:135px;padding:13px}.choice strong{font-size:16px}.choice .choice-icon{font-size:27px}.choice small{font-size:12px}.run-toolbar{height:59px}.run-body{padding-bottom:8px}.strip{border-radius:17px}.schedule-card{border-radius:10px}.basket{min-height:130px}.run-footer{height:19px}.first-body{gap:6px;padding:10px}.first-item img{border-radius:11px}.first-item h2{margin-bottom:8px}.first-item p{margin:8px 0}.count{display:none}}@media(max-height:680px){.header{height:53px}.run-toolbar{height:52px}.run-footer{height:16px}.run-body{padding-bottom:7px}.strip{gap:4px;padding:5px}.schedule-photo{width:clamp(42px,calc((100dvh - 165px)/6),110px);height:clamp(42px,calc((100dvh - 165px)/6),110px)}.basket{min-height:105px}.basket svg{width:82px}.basket span{font-size:10px}}@media(min-width:1000px){.app{border-left:1px solid var(--line);border-right:1px solid var(--line)}}

.photo-choice .drag-handle{display:block;touch-action:none;border-radius:7px;background:#f8edcc;padding:5px;color:#75643b;font-size:12px;font-weight:700}

.schedule-photo{pointer-events:auto;-webkit-user-drag:none}
.schedule-card{cursor:default}.schedule-card.dragging{box-shadow:none;cursor:default}.schedule-photo{cursor:grab;touch-action:none}.schedule-card.dragging .schedule-photo{position:relative;z-index:40;box-shadow:0 12px 30px #0003;cursor:grabbing}

.strip .schedule-photo{width:min(52vw,calc((100dvh - 205px)/var(--cards)),260px);max-width:calc(100% - 72px);max-height:100%;object-fit:contain;background:#fff}

.photo-drag-ghost{position:fixed;z-index:9999;pointer-events:none;object-fit:contain;background:#fff;border:3px solid #d6aa40;border-radius:12px;box-shadow:0 14px 28px #0005;user-select:none}.schedule-photo{touch-action:none;-webkit-user-drag:none}
.schedule-photo.selected-for-basket{outline:4px solid #d6aa40;outline-offset:1px}#basket{cursor:pointer}
