.recent-panel__trigger{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;background:transparent;border:none;border-radius:8px;cursor:pointer;color:var(--text-primary);transition:all .2s ease}.recent-panel__trigger:hover{background:var(--hover-background)}.recent-panel__trigger-icon{width:20px;height:20px}.recent-panel__badge{position:absolute;top:2px;right:2px;display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;font-size:10px;font-weight:600;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:9px;border:2px solid var(--background-primary);animation:pulse 2s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.recent-panel__overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;visibility:hidden;transition:all .3s ease;z-index:var(--z-panel-overlay)}.recent-panel__overlay--visible{opacity:1;visibility:visible}.recent-panel{position:fixed;top:0;right:0;bottom:0;width:420px;max-width:calc(100vw - 40px);background:var(--background-primary);box-shadow:-4px 0 24px #00000026;transform:translate(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);z-index:var(--z-panel);display:flex;flex-direction:column}.recent-panel--open{transform:translate(0)}.recent-panel__header-section{flex-shrink:0;padding:20px;border-bottom:1px solid var(--border-color);background:var(--background-secondary)}.recent-panel__header-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.recent-panel__main-title{display:flex;align-items:center;gap:8px;margin:0;font-size:20px;font-weight:700;color:var(--text-primary)}.recent-panel__main-title svg{width:24px;height:24px;color:#667eea}.recent-panel__close{width:32px;height:32px;padding:0;background:transparent;border:none;border-radius:6px;cursor:pointer;color:var(--text-secondary);transition:all .2s ease}.recent-panel__close:hover{background:var(--hover-background);color:var(--text-primary)}.recent-panel__close svg{width:20px;height:20px}.recent-panel__search{position:relative;display:flex;align-items:center;gap:8px;padding:10px 12px;background:var(--background-primary);border:1px solid var(--border-color);border-radius:8px;transition:all .2s ease;margin-bottom:12px}.recent-panel__search:focus-within{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.recent-panel__search-icon{width:18px;height:18px;color:var(--text-tertiary);flex-shrink:0}.recent-panel__search-input{flex:1;min-width:0;padding:0;font-size:14px;color:var(--text-primary);background:transparent;border:none;outline:none}.recent-panel__search-input::placeholder{color:var(--text-tertiary)}.recent-panel__search-clear{width:20px;height:20px;padding:0;background:transparent;border:none;border-radius:4px;cursor:pointer;color:var(--text-tertiary);transition:all .2s ease}.recent-panel__search-clear:hover{background:var(--hover-background);color:var(--text-primary)}.recent-panel__search-clear svg{width:16px;height:16px}.recent-panel__clear-all{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:8px 12px;font-size:13px;font-weight:500;color:var(--text-secondary);background:transparent;border:1px solid var(--border-color);border-radius:6px;cursor:pointer;transition:all .2s ease}.recent-panel__clear-all:hover{color:#ef4444;background:#ef44440d;border-color:#ef4444}.recent-panel__body{flex:1;overflow-y:auto;padding:20px}.recent-panel__body::-webkit-scrollbar{width:6px}.recent-panel__body::-webkit-scrollbar-track{background:transparent}.recent-panel__body::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}.recent-panel__body::-webkit-scrollbar-thumb:hover{background:var(--text-tertiary)}.recent-panel__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.recent-panel__empty-icon{width:64px;height:64px;margin-bottom:16px;color:var(--text-tertiary);opacity:.5}.recent-panel__empty-title{margin:0 0 8px;font-size:16px;font-weight:600;color:var(--text-primary)}.recent-panel__empty-text{margin:0;font-size:14px;color:var(--text-secondary)}.recent-panel__section{margin-bottom:32px}.recent-panel__section:last-child{margin-bottom:0}.recent-panel__section-title{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--text-tertiary)}.recent-panel__section-title:before{content:"";width:3px;height:12px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:2px}.recent-panel__timeline{position:relative;padding-left:20px}.recent-panel__timeline:before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:var(--border-color)}.recent-panel__card{position:relative;display:block;padding:12px;margin-bottom:12px;text-decoration:none;background:var(--background-primary);border:1px solid var(--border-color);border-radius:10px;transition:all .2s ease;cursor:pointer}.recent-panel__card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea1a;transform:translate(4px)}.recent-panel__card:hover .recent-panel__thumbnail-overlay,.recent-panel__card:hover .recent-panel__remove{opacity:1}.recent-panel__timeline-dot{position:absolute;left:-17px;top:20px;width:12px;height:12px;background:linear-gradient(135deg,#667eea,#764ba2);border:3px solid var(--background-primary);border-radius:50%;box-shadow:0 0 0 2px var(--border-color);z-index:1}.recent-panel__thumbnail{position:relative;width:100%;height:180px;margin-bottom:12px;border-radius:8px;overflow:hidden;background:var(--background-secondary)}.recent-panel__thumbnail img{width:100%;height:100%;object-fit:cover}.recent-panel__thumbnail-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#667eeae6;opacity:0;transition:opacity .2s ease}.recent-panel__content{position:relative}.recent-panel__header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:6px}.recent-panel__title{flex:1;min-width:0;margin:0;font-size:15px;font-weight:600;color:var(--text-primary);line-height:1.4}.recent-panel__remove{flex-shrink:0;width:24px;height:24px;padding:0;background:transparent;border:none;border-radius:4px;cursor:pointer;color:var(--text-tertiary);opacity:0;transition:all .2s ease}.recent-panel__remove:hover{background:#ef44441a;color:#ef4444}.recent-panel__remove svg{width:16px;height:16px}.recent-panel__description{margin:0 0 8px;font-size:13px;color:var(--text-secondary);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.recent-panel__meta{display:flex;align-items:center;gap:12px;font-size:12px}.recent-panel__time{display:flex;align-items:center;gap:4px;color:var(--text-tertiary)}.recent-panel__time svg{width:14px;height:14px}.recent-panel__type{padding:2px 8px;font-size:11px;font-weight:600;color:#667eea;background:#667eea1a;border-radius:4px}@media(max-width:768px){.recent-panel{width:100%;max-width:100vw}.recent-panel__thumbnail{height:140px}.recent-panel__timeline{padding-left:16px}.recent-panel__timeline-dot{left:-14px}}[data-theme=dark] .recent-panel{box-shadow:-4px 0 24px #00000080}[data-theme=dark] .recent-panel__badge{border-color:var(--background-primary)}[data-theme=dark] .recent-panel__overlay{background:#000000b3}:root{--header-height: 64px;--sidebar-width: 280px;--sidebar-collapsed-width: 80px;--footer-height: 60px;--z-header: 1000;--z-sidebar: 900;--z-modal: 2000;--z-toast: 3000}.main-layout{display:flex;flex-direction:column;min-height:100vh;background-color:hsl(var(--muted));color:hsl(var(--foreground))}.main-layout__wrapper{display:flex;flex:1;padding-top:var(--header-height)}.main-layout__content{flex:1;padding:24px;margin-left:var(--sidebar-width);transition:margin-left var(--transition-normal);overflow-y:auto}.main-layout__content--collapsed{margin-left:var(--sidebar-collapsed-width)}.main-layout__content--no-sidebar{margin-left:0}.header{position:fixed;top:0;left:0;right:0;height:var(--header-height);background-color:hsl(var(--background));border-bottom:1px solid hsl(var(--border));display:flex;align-items:center;justify-content:space-between;padding:0 24px;z-index:var(--z-header);box-shadow:var(--shadow-sm)}.header__left{display:flex;align-items:center;gap:16px}.header__logo{display:flex;align-items:center;gap:var(--spacing-md);text-decoration:none;color:hsl(var(--foreground));font-size:var(--font-size-xl);font-weight:var(--font-weight-bold)}.header__logo-icon{width:32px;height:32px;color:hsl(var(--primary))}.header__menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:var(--spacing-sm);color:hsl(var(--foreground));border-radius:var(--radius-md);transition:background-color var(--transition-fast)}.header__menu-toggle:hover{background-color:hsl(var(--muted))}.header__menu-toggle-icon{width:24px;height:24px}.header__right{display:flex;align-items:center;gap:16px}.header__theme-toggle{background:none;border:none;cursor:pointer;padding:var(--spacing-sm);color:hsl(var(--foreground));border-radius:var(--radius-md);transition:all var(--transition-fast);display:flex;align-items:center;justify-content:center}.header__theme-toggle:hover{background-color:hsl(var(--muted));transform:rotate(20deg)}.header__theme-icon{width:20px;height:20px}.header__profile{position:relative}.header__profile-button{display:flex;align-items:center;gap:var(--spacing-sm);background:none;border:none;cursor:pointer;padding:var(--spacing-xs) var(--spacing-md);border-radius:var(--radius-lg);color:hsl(var(--foreground));transition:background-color var(--transition-fast)}.header__profile-button:hover{background-color:hsl(var(--muted))}.header__profile-avatar{width:32px;height:32px;border-radius:var(--radius-full);background-color:hsl(var(--primary));color:hsl(var(--primary-foreground));display:flex;align-items:center;justify-content:center;font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm);overflow:hidden}.header__profile-name{font-size:14px;font-weight:500}.header__profile-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:200px;background-color:hsl(var(--popover));border:1px solid hsl(var(--border));border-radius:8px;box-shadow:var(--shadow-lg);padding:8px;z-index:var(--z-dropdown);opacity:0;visibility:hidden;transform:translateY(-10px);transition:all var(--transition-fast)}.header__profile-dropdown--open{opacity:1;visibility:visible;transform:translateY(0)}.header__profile-dropdown-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:6px;color:hsl(var(--popover-foreground));text-decoration:none;transition:background-color var(--transition-fast);cursor:pointer;border:none;background:none;width:100%;text-align:left;font-size:14px}.header__profile-dropdown-item:hover{background-color:hsl(var(--muted))}.header__profile-dropdown-item--danger{color:hsl(var(--destructive))}.header__profile-dropdown-item--danger:hover{background-color:hsl(var(--destructive) / .1)}.header__profile-dropdown-icon{width:18px;height:18px}.header__profile-dropdown-divider{height:1px;background-color:hsl(var(--border));margin:4px 0}.sidebar{position:fixed;top:var(--header-height);left:0;bottom:0;width:var(--sidebar-width);background-color:hsl(var(--card));border-right:1px solid hsl(var(--border));overflow-y:auto;overflow-x:hidden;transition:width var(--transition-normal),transform var(--transition-normal);z-index:var(--z-sidebar)}.sidebar--collapsed{width:var(--sidebar-collapsed-width)}.sidebar__content{padding:16px}.sidebar--collapsed .sidebar__content{padding:8px}.sidebar__toggle{display:flex;align-items:center;justify-content:flex-end;padding:12px 16px;border-bottom:1px solid hsl(var(--border))}.sidebar--collapsed .sidebar__toggle{justify-content:center;padding:12px 8px}.sidebar__toggle-button{background:none;border:none;cursor:pointer;padding:8px;color:hsl(var(--foreground));border-radius:6px;transition:background-color var(--transition-fast);display:flex;align-items:center;justify-content:center}.sidebar__toggle-button:hover{background-color:hsl(var(--muted))}.sidebar__toggle-icon{width:20px;height:20px;transition:transform var(--transition-normal)}.sidebar--collapsed .sidebar__toggle-icon{transform:rotate(180deg)}.sidebar__nav{display:flex;flex-direction:column;gap:4px}.sidebar__nav-section{margin-top:24px}.sidebar__nav-section:first-child{margin-top:0}.sidebar__nav-section-title{font-size:12px;font-weight:600;text-transform:uppercase;color:hsl(var(--muted-foreground));padding:8px 12px;margin-bottom:4px;letter-spacing:.5px}.sidebar--collapsed .sidebar__nav-section-title{opacity:0;height:0;padding:0;margin:0;overflow:hidden}.sidebar__nav-item{display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md);border-radius:var(--radius-lg);color:hsl(var(--muted-foreground));text-decoration:none;transition:all var(--transition-fast);cursor:pointer;border:none;background:none;width:100%;text-align:left;font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);position:relative}.sidebar__nav-item:hover{background-color:hsl(var(--muted));color:hsl(var(--foreground))}.sidebar__nav-item--active{background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.sidebar__nav-item--active:hover{background-color:hsl(var(--primary) / .9)}.sidebar__nav-icon{width:20px;height:20px;flex-shrink:0}.sidebar__nav-text{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity var(--transition-normal)}.sidebar--collapsed .sidebar__nav-text{display:none}.sidebar--collapsed .sidebar__nav-item{justify-content:center;padding:12px;gap:0}.sidebar__nav-badge{background-color:hsl(var(--destructive));color:hsl(var(--destructive-foreground));font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);padding:2px 6px;border-radius:var(--radius-full);min-width:18px;text-align:center}.sidebar--collapsed .sidebar__nav-badge{position:absolute;top:8px;right:8px;min-width:8px;height:8px;padding:0;font-size:0}.footer{background-color:hsl(var(--card));border-top:1px solid hsl(var(--border));padding:20px 24px;margin-left:var(--sidebar-width);transition:margin-left var(--transition-normal)}.footer--collapsed{margin-left:var(--sidebar-collapsed-width)}.footer--no-sidebar{margin-left:0}.footer__content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto}.footer__text{font-size:14px;color:hsl(var(--muted-foreground))}.footer__links{display:flex;gap:20px}.footer__link{font-size:var(--font-size-sm);color:hsl(var(--muted-foreground));text-decoration:none;transition:color var(--transition-fast)}.footer__link:hover{color:hsl(var(--primary))}.auth-layout{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,hsl(var(--gradient-primary-start)),hsl(var(--gradient-primary-end)));padding:var(--spacing-2xl)}.auth-layout__container{width:100%;max-width:450px;background-color:hsl(var(--card));border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden}.auth-layout__header{text-align:center;padding:40px 40px 20px}.auth-layout__logo{display:inline-flex;align-items:center;gap:12px;margin-bottom:24px}.auth-layout__logo-icon{width:48px;height:48px;color:hsl(var(--primary))}.auth-layout__logo-text{font-size:28px;font-weight:700;color:hsl(var(--card-foreground))}.auth-layout__title{font-size:24px;font-weight:700;color:hsl(var(--card-foreground));margin-bottom:8px}.auth-layout__subtitle{font-size:14px;color:hsl(var(--muted-foreground))}.auth-layout__content{padding:20px 40px 40px}.auth-layout__footer{text-align:center;padding:20px;border-top:1px solid hsl(var(--border));background-color:hsl(var(--muted))}.auth-layout__footer-text{font-size:14px;color:hsl(var(--muted-foreground))}.auth-layout__footer-link{color:hsl(var(--primary));text-decoration:none;font-weight:var(--font-weight-medium);transition:color var(--transition-fast)}.auth-layout__footer-link:hover{color:hsl(var(--primary) / .8)}@media(max-width:768px){.header{padding:0 16px}.header__menu-toggle{display:flex}.header__logo-text,.header__profile-name{display:none}.sidebar{transform:translate(-100%)}.sidebar--mobile-open{transform:translate(0)}.main-layout__content,.main-layout__content--collapsed,.footer,.footer--collapsed{margin-left:0}.footer__content{flex-direction:column;gap:12px;text-align:center}.footer__links{flex-wrap:wrap;justify-content:center}.auth-layout{padding:16px}.auth-layout__header{padding:24px 24px 16px}.auth-layout__content{padding:16px 24px 24px}}.sidebar-overlay{display:none;position:fixed;top:var(--header-height);left:0;right:0;bottom:0;background-color:#00000080;z-index:calc(var(--z-sidebar) - 1);opacity:0;transition:opacity var(--transition-normal)}.sidebar-overlay--visible{display:block;opacity:1}@media(max-width:768px){.sidebar-overlay{display:block}}.layout-hidden{display:none!important}.layout-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.admin-layout{display:flex;flex-direction:column;min-height:100vh;background-color:hsl(var(--background))}.admin-layout__body{display:flex;flex:1;padding-top:var(--header-height)}.admin-layout__content{flex:1;padding:var(--spacing-2xl);margin-left:var(--sidebar-width);transition:margin-left var(--transition-normal);overflow-y:auto;background-color:hsl(var(--background))}.admin-layout__content--collapsed{margin-left:var(--sidebar-collapsed-width)}@media(max-width:768px){.admin-layout__content{margin-left:0;padding:var(--spacing-lg)}}.header__nav{display:flex;align-items:center;gap:8px;margin-left:48px}.header__nav-item{padding:8px 16px;border-radius:var(--radius-md);font-size:14px;font-weight:500;color:hsl(var(--foreground));text-decoration:none;transition:all var(--transition-fast)}.header__nav-item:hover{color:hsl(var(--accent));background-color:hsl(var(--accent) / .1)}.header__nav-item--active{color:hsl(var(--accent));background-color:hsl(var(--accent) / .1);font-weight:600}.header__auth-buttons{display:flex;align-items:center;gap:8px}.header__auth-button{padding:8px 16px;border-radius:var(--radius-md);font-size:14px;font-weight:500;color:hsl(var(--foreground));text-decoration:none;background:none;border:none;cursor:pointer;transition:all var(--transition-fast)}.header__auth-button:hover{color:hsl(var(--accent));background-color:hsl(var(--accent) / .1)}@media(max-width:1024px){.header__menu-toggle--desktop,.header__theme-toggle--desktop,.header__recent-panel--desktop,.header__profile--desktop,.header__nav--desktop,.header__auth-buttons--desktop{display:none!important}}@media(min-width:1024px){.header__right>button[aria-label="메뉴 열기"]{display:none!important}}
