:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;--bubble-full-size: 192px;--bubble-radius: 48px;--bubble-gap: 10px;--bubble-padding: 10px;--week-footer-height: 291px;--bg: #f6f6f6;--text: #111;--muted: #666;--panel-bg: #fff;--panel-border: #e7e7e7;--header-bg: rgba(246, 246, 246, .82);--header-border: rgba(0, 0, 0, .06);--input-bg: rgba(255, 255, 255, .9);--input-border: #e7e7e7;--btn-bg: #fff;--btn-border: #e7e7e7;--btn-hover: #f3f3f3;--footer-bg: rgba(246, 246, 246, .82);--footer-border: rgba(0, 0, 0, .06);--footer-day-bg: rgba(255, 255, 255, .55);--footer-day-border: rgba(0, 0, 0, .08);--footer-slot-bg: rgba(255, 255, 255, .45);--footer-slot-border: rgba(0, 0, 0, .18);--slot-bg: #fff;--slot-border: #ededed;--day-bg: #fafafa;--day-border: #dcdcdc;--input-focus-border: #cfcfcf;--control-bg: rgba(255, 255, 255, .95);--control-border: #e0e0e0;--control-hover: #f2f2f2;--control-text: #333;--drop-outline: #b9b9b9;--disabled-bg: #f3f3f3;--bubble-border: rgb(65, 65, 65);--focus-left-bg: #f4f4f4;--focus-close-hover: #f1f1f1;--scrollbar-track: rgba(0, 0, 0, .08);--scrollbar-thumb: rgba(0, 0, 0, .28);--scrollbar-thumb-hover: rgba(0, 0, 0, .4)}:root[data-theme=dark]{--bg: #0f0f10;--text: #f2f2f2;--muted: #b0b0b0;--panel-bg: #151517;--panel-border: rgba(255, 255, 255, .1);--header-bg: rgba(15, 15, 16, .9);--header-border: rgba(255, 255, 255, .1);--input-bg: rgba(255, 255, 255, .08);--input-border: rgba(255, 255, 255, .14);--btn-bg: rgba(255, 255, 255, .08);--btn-border: rgba(255, 255, 255, .14);--btn-hover: rgba(255, 255, 255, .12);--footer-bg: rgba(15, 15, 16, .9);--footer-border: rgba(255, 255, 255, .1);--footer-day-bg: rgba(255, 255, 255, .06);--footer-day-border: rgba(255, 255, 255, .1);--footer-slot-bg: rgba(0, 0, 0, .18);--footer-slot-border: rgba(255, 255, 255, .16);--slot-bg: rgba(255, 255, 255, .06);--slot-border: rgba(255, 255, 255, .12);--day-bg: rgba(255, 255, 255, .04);--day-border: rgba(255, 255, 255, .14);--input-focus-border: rgba(255, 255, 255, .28);--control-bg: rgba(255, 255, 255, .1);--control-border: rgba(255, 255, 255, .18);--control-hover: rgba(255, 255, 255, .16);--control-text: var(--text);--drop-outline: rgba(255, 255, 255, .28);--disabled-bg: rgba(255, 255, 255, .06);--bubble-border: rgb(80, 80, 80);--focus-left-bg: rgba(255, 255, 255, .06);--focus-close-hover: rgba(255, 255, 255, .12);--scrollbar-track: rgba(255, 255, 255, .1);--scrollbar-thumb: rgba(255, 255, 255, .28);--scrollbar-thumb-hover: rgba(255, 255, 255, .4)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}html{scrollbar-gutter:stable}html,body .weekFooterScroller{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:999px;border:3px solid transparent;background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover)}*::-webkit-scrollbar-corner{background:transparent}.app{padding:14px 20px 20px;padding-bottom:calc(var(--week-footer-height) + 24px);max-width:none;margin:0}.content{display:grid;gap:16px}.panel{background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:18px;padding:14px}.panelHeader{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}.panelHeader h2{margin:0;font-size:18px}.hint{color:var(--muted);font-size:13px}.headerBar{position:sticky;top:0;z-index:2000;width:100%;background:var(--header-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--header-border)}.headerInner{max-width:1280px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:14px}.headerLeft{display:flex;align-items:center;gap:10px;min-width:220px}.logoMark{width:10px;height:10px;border-radius:999px;background:var(--text);opacity:.9}.appName{font-weight:650;letter-spacing:-.01em;cursor:default;-webkit-user-select:none;user-select:none}.headerMiddle{flex:1;display:flex;justify-content:center}.searchInput{width:100%;height:38px;padding:0 38px 0 12px;border-radius:999px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text);outline:none;font-size:14px}.searchInput:focus{border-color:var(--input-focus-border)}.searchInput::placeholder{color:var(--muted)}.helpBtn{width:34px;height:34px;border-radius:999px;background:var(--control-bg);border:1px solid var(--control-border);color:var(--control-text);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;font-weight:800;line-height:1;display:inline-flex;align-items:center;justify-content:center;transition:background .12s ease,border-color .12s ease,transform .12s ease}.helpBtn:hover{background:var(--control-hover)}.helpBtn:active{transform:translateY(.5px)}.helpBtn:disabled{opacity:.6;cursor:not-allowed}.searchWrap{position:relative;width:min(620px,100%);display:flex;align-items:center;gap:10px}.searchClear{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:999px;border:1px solid var(--control-border);background:var(--control-bg);cursor:pointer;line-height:18px;font-size:16px;color:var(--text);padding:0}.searchClear:hover{background:var(--control-hover)}.headerRight{display:flex;align-items:center;gap:8px}.headerBtn{height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--btn-border);background:var(--btn-bg);color:var(--text);cursor:pointer;font-size:13px}.headerBtn:hover{background:var(--btn-hover)}.headerBtn:disabled,.searchInput:disabled{opacity:.6;cursor:not-allowed}.headerDisabled{opacity:.55;pointer-events:none}@media(max-width:720px){.headerInner{flex-wrap:wrap;gap:10px}.headerLeft{min-width:auto}.headerMiddle{order:3;width:100%;justify-content:stretch}.headerRight{margin-left:auto}}.weekFooter{position:fixed;left:0;right:0;bottom:0;height:var(--week-footer-height);z-index:3000;background:var(--footer-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--footer-border)}.weekFooterInner{width:100%;height:100%;padding:12px 20px;display:flex;flex-direction:column;gap:10px}.weekFooterScroller{flex:1;display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding-bottom:8px;-webkit-overflow-scrolling:touch}.weekFooterDay{flex:0 0 auto;width:calc(var(--bubble-full-size) + 21px);border-radius:16px;border:1px solid var(--footer-day-border);background:var(--footer-day-bg);padding:10px}.weekFooterDayTitle{font-weight:650;margin-bottom:8px;color:var(--text)}.weekFooterSlotPlaceholder{width:var(--bubble-full-size);height:var(--bubble-full-size);border-radius:var(--bubble-radius);border:1px dashed var(--footer-slot-border);background:var(--footer-slot-bg)}.weekFooterSlot{position:relative;width:var(--bubble-full-size);height:var(--bubble-full-size)}.weekFooterSlotFrame{position:absolute;inset:0;border-radius:var(--bubble-radius);border:1px dashed var(--footer-slot-border);background:var(--footer-slot-bg);pointer-events:none}.weekFooterSlotContent{position:relative;z-index:1;width:100%;height:100%;display:flex;flex-direction:column;gap:0}.weekFooterDayOver{outline:2px solid var(--drop-outline);outline-offset:4px}.weekFooterHalfSpacer{height:calc(var(--bubble-full-size) / 2);flex:0 0 auto}.weekFooterDisabled{opacity:.55;pointer-events:none}.catalogMain{width:100%;padding:18px 20px 0}.catalogList{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px}.catalogCell{width:var(--bubble-full-size);height:var(--bubble-full-size);display:flex;align-items:center;justify-content:center}.bubble{background:#fff;color:#111;-webkit-user-select:none;user-select:none;width:var(--bubble-full-size);height:var(--bubble-full-size);border:2px solid var(--bubble-border);border-radius:var(--bubble-radius);display:flex;align-items:center;justify-content:center;padding:var(--bubble-padding);text-align:center;white-space:normal;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:1.2;background-image:linear-gradient(#fff3,#fff3),var(--bubble-img, none);background-size:cover;background-position:center;background-repeat:no-repeat;touch-action:none}.bubbleContent{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;position:relative;z-index:1}.bubbleArea{font-size:14px;font-weight:700;font-style:italic;color:#414141;line-height:1.1;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 0 4px rgba(255,255,255)}.bubbleTitle{font-size:16px;font-weight:700;line-height:1.15;max-width:100%;text-align:center;text-shadow:0 0 4px rgba(255,255,255);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}.bubble.half{height:calc(var(--bubble-full-size) / 2);width:var(--bubble-full-size);opacity:.9}.bubble.half.morning{border-radius:var(--bubble-radius) var(--bubble-radius) 5px 5px}.bubble.half.afternoon{border-radius:5px 5px var(--bubble-radius) var(--bubble-radius)}.dragOverlayWrap{pointer-events:none;z-index:999999}.dragOverlayWrap .bubble{transform:translateZ(0) scale(1.02);box-shadow:0 18px 60px #00000040}.weekGrid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;overflow-x:auto;padding-bottom:2px}.dayCol{background:var(--day-bg);border:1px dashed var(--day-border);border-radius:16px;padding:10px;min-height:190px}.dayTitle{font-weight:650;margin-bottom:8px}.slotLabel{font-size:12px;color:var(--muted);margin:8px 0 6px}.slot{background:var(--slot-bg);border:1px solid var(--slot-border);border-radius:14px;min-height:44px}.slotDisabled{opacity:.45;background:var(--disabled-bg)}.slotOver{outline:2px solid var(--drop-outline);outline-offset:2px}.dayOver{outline:2px solid var(--drop-outline);outline-offset:4px}.placedWrap{position:relative;display:inline-block}.focusBackdrop{position:fixed;inset:0;background:#00000073;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:28px;z-index:9999}.focusPanel{width:min(1100px,92vw);height:min(520px,82vh);background:var(--panel-bg);border-radius:22px;box-shadow:0 25px 80px #00000040;display:grid;grid-template-columns:360px 1fr;overflow:hidden}.focusLeft{position:relative;background:var(--focus-left-bg);display:flex;align-items:center;justify-content:center;padding:18px}.focusBubbleWrap{transform:translate(-6px)}.focusBubble{font-size:16px;padding:14px 18px}.focusClose{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:999px;border:1px solid var(--control-border);background:var(--control-bg);color:var(--control-text);cursor:pointer;font-size:22px;line-height:0}.focusClose:hover{background:var(--focus-close-hover)}.focusRight{padding:22px 24px;display:flex;flex-direction:column;overflow:hidden}.focusTitle{margin:0 0 8px;font-size:22px}.focusMeta{color:var(--muted);font-size:13px;margin-bottom:14px}.focusDetails{color:var(--text);line-height:1.5;font-size:14px;white-space:pre-wrap;overflow:auto;min-height:0}@media(max-width:720px){.focusBackdrop{padding:14px}.focusPanel{grid-template-columns:1fr;grid-template-rows:min(220px,32vh) 1fr;width:min(620px,96vw);height:min(82vh,720px)}.focusLeft{padding:12px}.focusBubbleWrap{transform:none}.focusRight{padding:16px;overflow:hidden;min-height:0}}.helpPanel{width:min(900px,92vw);height:min(560px,82vh);background:var(--panel-bg, rgba(255, 255, 255, .92));border-radius:22px;box-shadow:0 25px 80px #00000040;overflow:hidden;display:flex;flex-direction:column}.helpHeader{position:relative;padding:18px 20px;border-bottom:1px solid rgba(0,0,0,.08)}.helpTitle{margin:0;font-size:18px;letter-spacing:-.01em}.helpBody{padding:16px 20px 20px;overflow:auto}.helpSection{margin-bottom:16px}.helpSectionTitle{font-weight:700;margin-bottom:8px}.helpList{margin:0;padding-left:18px;line-height:1.6}.pageShell{transition:filter .16s ease,opacity .16s ease,transform .16s ease;padding-bottom:var(--week-footer-height)}.pageShellBlurred{filter:blur(3px) saturate(.95);opacity:.55;transform:scale(.995);transition:filter .16s ease,opacity .16s ease,transform .16s ease}.toast{position:fixed;right:18px;bottom:18px;padding:10px 12px;background:#141414eb;color:#fff;border-radius:12px;font-size:13px;z-index:10000;-webkit-user-select:none;user-select:none}:root{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}body{margin:0}
