@font-face{font-family:Pretendard;src:url('./PretendardVariable.woff2') format('woff2');font-display:swap;font-weight:100 900}
:root{--bg:#f6f6f6;--surface:#ffffff;--ink:#242424;--muted:#686868;--line:#e3e3e3;--control:#2a2a2a;--control-hover:#161616;--control-soft:#eeeeee;--soft:#eeeeee;--danger:#ab4135;--sage:#efefef;--lavender:#ececec;--peach:#eeeeee;--butter:#f1f1f1;--pink:#ebebeb;--blue:#efefef;--radius:18px;--shadow:0 10px 35px #3131310b;--speed:160ms;--font:'Pretendard','Noto Sans KR','Malgun Gothic',system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.5;letter-spacing:-.025em}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{border:0;background:none}a{color:inherit;text-decoration:none}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent)}button:disabled{opacity:.5;cursor:not-allowed}button,a{transition:background var(--speed),color var(--speed),border-color var(--speed)}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,p{margin:0}svg.icon{width:20px;height:20px;flex:none;vertical-align:middle;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-60px;left:16px;z-index:200;background:var(--control);color:white;padding:12px 20px;border-radius:8px}.skip-link:focus{top:12px}.sidebar{position:fixed;top:0;bottom:0;left:0;width:222px;background:#fdfdfd;border-right:1px solid var(--line);padding:30px 22px 18px;display:flex;flex-direction:column;overflow:auto;z-index:30}.brand{display:inline-flex;align-items:center;gap:10px;font-size:28px;font-weight:850;letter-spacing:-1.7px;line-height:1.2}.brand-dot{color:#888888}.brand-mark{position:relative;width:36px;height:36px;border-radius:11px;background:var(--control);flex:none}.brand-mark i{position:absolute;top:11px;width:19px;height:12px;border:2.4px solid var(--control-soft);border-radius:8px;transform:rotate(-36deg)}.brand-mark i:first-child{left:5px;top:14px}.brand-mark i:last-child{left:13px;top:9px}.brand-caption{font-size:9px;letter-spacing:1.6px;font-weight:600;margin:13px 0 29px;color:var(--muted)}.primary-nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:11px;min-height:46px;border-radius:10px;padding:0 13px;color:var(--muted);font-weight:550}.nav-item:hover:not(.active){background:var(--soft);color:var(--control)}.nav-item .count{margin-left:auto;font-size:12px;opacity:.85}.sidebar-label{display:flex;justify-content:space-between;margin:29px 11px 9px;color:var(--muted);font-size:11px;letter-spacing:.01em}.sidebar-label span{font-size:10px;border:1px solid var(--line);border-radius:5px;padding:0 5px}.side-categories{display:grid;gap:0}.category-nav{display:flex;align-items:center;gap:11px;padding:0 12px;min-height:37px;color:#676767;font-size:13px;border-radius:8px}.category-nav .icon{width:17px;height:17px}.category-nav .count{font-size:11px;margin-left:auto;color:var(--muted)}.category-nav:hover{background:var(--soft);color:var(--control)}.sidebar-bottom{padding-top:28px;margin-top:auto}.small-note{border:1px solid var(--line);border-radius:12px;padding:14px 12px;background:#f6f6f6}.small-note strong{font-size:12px}.small-note p{font-size:10px;margin:6px 0 0 22px;color:var(--muted)}.tiny-spark{display:inline-block;color:#636363;font-size:18px;margin-right:7px;vertical-align:middle}.admin-entry{margin-top:15px;display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;color:var(--muted);padding:0 8px}.admin-entry .icon{width:17px}.small-label{font-size:8px;letter-spacing:.8px;border:1px solid var(--line);padding:2px 5px;border-radius:4px;margin-left:auto}.workspace{margin-left:222px}.topbar{height:76px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--bg)}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.breadcrumb .icon{width:17px}.breadcrumb strong{font-weight:500;color:var(--ink)}.breadcrumb-divider{color:#b7b7b7;margin:0 5px}.topbar-actions{display:flex;gap:20px;align-items:center}.preview-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.preview-label>span{width:5px;height:5px;border-radius:50%;background:#7e7e7e}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;border-radius:10px;padding:0 17px;font-size:13px;font-weight:600;white-space:nowrap}.btn.primary{background:var(--control);color:white}.btn.primary:hover{background:var(--control-hover)}.btn.secondary{border:1px solid #d3d3d3;background:white}.btn.secondary:hover{background:var(--soft)}.btn.quiet{padding:0 11px;font-size:12px}.btn.quiet:hover{background:var(--soft)}.btn.danger{color:var(--danger);background:#f9ece8}.btn .icon{width:17px;height:17px}.mobile-brand,.bottom-nav{display:none}main{padding:32px 40px 36px;max-width:1660px;margin:auto;outline:none}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.9px;color:#6a6a6a;margin-bottom:9px}.intro h1{font-size:35px;font-weight:750;letter-spacing:-1.65px;line-height:1.25}.intro p{margin-top:10px;font-size:13px;color:var(--muted)}.intro-counts{display:flex;align-items:center;gap:24px;padding:0 12px}.intro-counts>div{text-align:center}.intro-counts strong{display:block;font-weight:600;font-size:27px;letter-spacing:-1px;line-height:1.25}.intro-counts small{display:block;color:var(--muted);font-size:10px;letter-spacing:.02em;margin-top:5px}.intro-counts>span{height:26px;width:1px;background:var(--line)}.search-row{display:flex;align-items:center;gap:17px;margin-bottom:25px}.search-box{height:54px;display:flex;align-items:center;gap:13px;border:1px solid #d4d4d4;border-radius:13px;padding:0 17px;background:white;flex:1;box-shadow:0 3px 0 #e3e3e32e}.search-box>.icon{color:#535353;width:21px}.search-box input{min-width:0;width:100%;border:0;background:none;outline:none!important;font-size:14px;height:100%;letter-spacing:-.02em}.search-box input::placeholder{color:#858585}.search-box kbd{font-size:10px;border:1px solid var(--line);padding:2px 7px;border-radius:5px;color:var(--muted);white-space:nowrap}.clear-search{min-width:32px;min-height:38px;color:var(--muted)}.clear-search[hidden]{display:none}.search-note{font-size:11px;color:var(--muted);padding-right:7px;white-space:nowrap}.search-note strong{font-weight:500;color:var(--control)}.quick-section{margin-bottom:27px}.section-kicker{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.section-kicker h2{font-size:12px;font-weight:600;display:flex;align-items:center;gap:7px}.section-kicker h2 .icon{width:15px;height:15px;color:#7e7e7e}.text-button{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:11px;min-height:28px}.text-button:hover{color:var(--control)}.text-button .icon{width:14px;height:14px}.quick-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.quick-link{background:#ffffff;border:1px solid var(--line);border-radius:12px;min-height:66px;display:flex;align-items:center;gap:10px;padding:10px 13px}.quick-link:hover{border-color:#b2b2b2;box-shadow:var(--shadow)}.quick-link .monogram{width:32px;height:32px;font-size:16px;border-radius:9px}.quick-link strong{font-size:13px;font-weight:600}.quick-link small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:1px;letter-spacing:0}.quick-link>.icon{width:13px;height:13px;color:#8e8e8e;margin-left:auto}.directory-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.directory-heading{display:flex;align-items:center;gap:9px}.directory-heading h2{font-size:20px;font-weight:700;letter-spacing:-.7px}.directory-heading>span{font-size:11px;color:var(--muted);background:#ebebeb;border-radius:6px;padding:2px 7px}.toolbar-controls{display:flex;align-items:center;gap:12px}.sort-select{font-size:11px;border:0;background:none;padding:7px 24px 7px 7px;min-height:36px}.view-switch{display:flex;padding:3px;background:#ececec;border-radius:8px;gap:3px}.view-switch button{width:32px;height:29px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--muted)}.view-switch .icon{width:16px;height:16px}.category-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.category-chip{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:7px;min-height:32px;padding:4px 10px;background:#fdfdfd;font-size:11px;white-space:nowrap}.category-chip:hover:not([aria-pressed=true]){border-color:#c1c1c1;background:#f2f2f2}.category-chip .icon{display:none}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:start}.category-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:17px 17px 10px;overflow:hidden}.card-header{display:flex;align-items:center;gap:10px;margin-bottom:11px}.category-icon{width:37px;height:37px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:var(--sage);color:#5f5f5f;flex:none}.tone-sage{background:var(--sage);color:#5f5f5f}.tone-lavender{background:var(--lavender);color:#6d6d6d}.tone-peach{background:var(--peach);color:#6b6b6b}.tone-butter{background:var(--butter);color:#717171}.tone-pink{background:var(--pink);color:#707070}.tone-blue{background:var(--blue);color:#747474}.card-header h3{font-size:15px;line-height:1.4;font-weight:700;letter-spacing:-.5px}.card-header p{font-size:10px;color:var(--muted);margin-top:2px}.card-count{font-size:11px;color:var(--muted);margin-left:auto;align-self:flex-start;padding-top:3px}.card-links{display:grid;list-style:none;margin:0;padding:0}.link-row{display:flex;align-items:center;gap:1px;border-bottom:1px solid #f1f1f1;min-width:0}.link-row:last-child{border-bottom:none}.site-anchor{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:53px;border-radius:7px;padding:6px 3px}.site-anchor:hover{background:#f7f7f7}.monogram{width:28px;height:28px;border:1px solid color-mix(in srgb,var(--site-color) 15%,white);background:color-mix(in srgb,var(--site-color) 7%,white);color:var(--site-color);font-size:13px;font-weight:750;display:flex;align-items:center;justify-content:center;border-radius:8px;flex:none;letter-spacing:-.8px}.site-copy{min-width:0;flex:1}.site-name{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:570;line-height:1.35;min-width:0}.site-name>.name-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-domain{display:block;font-size:10px;letter-spacing:0;line-height:1.5;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.new-badge{font-size:8px;letter-spacing:.1px;line-height:1.4;background:#f1f1f1;color:#676767;padding:2px 4px;border-radius:3px;font-weight:600;flex:none}.favorite-button{width:32px;min-width:32px;height:42px;color:#a7a7a7;display:flex;align-items:center;justify-content:center;border-radius:8px}.favorite-button .icon{width:15px;height:15px}.favorite-button:hover{background:#f3f3f3;color:#707070}.category-grid.list-mode{grid-template-columns:1fr}.list-mode .category-card{padding:17px 22px 10px}.list-mode .card-links{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px}.list-mode .card-header p{display:none}.empty-state{grid-column:1/-1;background:white;border:1px dashed #cfcfcf;text-align:center;padding:55px 20px;border-radius:18px}.empty-state>.icon{width:32px;height:32px;color:#818181}.empty-state h3{font-size:18px;margin-top:14px}.empty-state p{color:var(--muted);margin:8px 0 20px}.results-note{font-size:12px;color:var(--muted);margin:0 0 15px}.site-footer{display:flex;justify-content:space-between;gap:18px;padding:22px 40px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.footer-divider{margin:0 9px;color:#c3c3c3}.toast{position:fixed;bottom:28px;left:calc(50% + 110px);transform:translate(-50%,20px);background:var(--control);color:white;border-radius:12px;padding:13px 20px;z-index:150;box-shadow:0 8px 30px #34343426;font-size:13px;opacity:0;pointer-events:none;max-width:calc(100vw - 30px);transition:opacity .2s,transform .2s;white-space:normal}.toast.show{opacity:1;transform:translate(-50%,0)}.toast button{color:var(--control-soft);text-decoration:underline;margin-left:15px;min-height:25px}.toast.show button{pointer-events:auto}dialog{border:1px solid var(--line);border-radius:22px;padding:0;width:520px;max-width:calc(100% - 32px);max-height:calc(100dvh - 48px);color:var(--ink);box-shadow:0 20px 100px #34343425}dialog::backdrop{background:#23232366;backdrop-filter:blur(3px)}.modal-content{padding:28px}.modal-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.modal-top h2{font-size:22px;letter-spacing:-.8px}.modal-top p{font-size:12px;color:var(--muted);margin-top:7px}.icon-button{width:36px;height:36px;flex:none;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;justify-content:center}.icon-button:hover{background:var(--soft)}.field{display:block;margin:17px 0;font-size:12px;font-weight:600}.field>input,.field>select,.field>textarea{display:block;margin-top:7px;width:100%;border:1px solid #d1d1d1;border-radius:9px;padding:11px 12px;background:#ffffff;font-weight:400;font-size:14px;min-height:44px}.field>textarea{resize:vertical;min-height:85px}.field small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:7px}.form-error{color:var(--danger);font-size:12px;min-height:18px}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:20px}.checkbox-label{display:flex;align-items:flex-start;gap:9px;font-size:12px;padding:12px;background:#f5f5f5;border-radius:9px}.checkbox-label input{width:16px;height:16px;accent-color:var(--accent)}.checkbox-label small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.admin-intro .eyebrow{margin-bottom:7px}.admin-intro h1{font-size:31px}.admin-tabs{display:flex;gap:24px;margin:22px 0;border-bottom:1px solid var(--line)}.admin-tabs button{min-height:43px;font-size:13px;color:var(--muted);padding:0 0 12px;border-bottom:2px solid transparent}.demo-banner{display:flex;align-items:center;gap:9px;font-size:12px;background:#efefef;color:#5e5e5e;border:1px solid #e1e1e1;padding:12px 15px;border-radius:11px;margin-bottom:22px}.demo-banner .icon{width:17px;height:17px}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 24px}.stat-card{border:1px solid var(--line);border-radius:14px;padding:18px 20px;background:white}.stat-card p{font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.stat-card p .icon{width:16px;height:16px}.stat-card strong{display:inline-block;font-size:28px;line-height:1.4;font-weight:650;margin-top:8px;letter-spacing:-1px}.stat-card small{font-size:10px;color:var(--muted);margin-left:8px}.management-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:14px}.management-toolbar .search-box{height:44px;max-width:360px}.management-toolbar select{min-height:44px;border:1px solid var(--line);border-radius:9px;background:white;font-size:12px;padding:0 12px}.management-toolbar .btn{margin-left:auto}.table-wrap{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden}.management-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.management-table th{background:#f2f2f2;font-size:11px;color:#6d6d6d;font-weight:500;padding:13px 17px;border-bottom:1px solid var(--line)}.management-table td{padding:12px 17px;border-bottom:1px solid #efefef}.management-table tr:last-child td{border-bottom:0}.table-site{display:flex;gap:10px;align-items:center;min-width:0}.table-site .site-copy{max-width:260px}.table-site strong{font-size:12px;font-weight:600;display:block}.table-actions{display:flex;gap:4px}.table-actions .icon-button{width:32px;height:32px;border:0}.table-actions .icon{width:15px;height:15px}.table-actions button[data-delete]{color:#9b665c}.pill{font-size:10px;display:inline-flex;align-items:center;gap:4px;background:#f1f1f1;color:#696969;border-radius:5px;padding:3px 7px;white-space:nowrap}.pill.locked{color:#6a6a6a;background:#f0f0f0}.pill.gray{color:#6d6d6d;background:#f1f1f1}.pill .icon{width:11px;height:11px}.table-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 17px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.table-bottom .btn{min-height:32px;font-size:11px;padding:0 10px}.import-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:25px}.panel h2{font-size:18px;margin-bottom:8px}.panel>p{font-size:12px;color:var(--muted)}.source-form .field{margin-top:22px}.source-input{display:flex;gap:9px}.source-input input{flex:1;min-width:0;border:1px solid #d1d1d1;border-radius:9px;padding:11px 12px;font-size:13px}.source-help{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.7}.source-form label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.source-card{border:1px solid var(--line);padding:15px;border-radius:12px;display:flex;align-items:center;gap:12px;margin-top:20px}.source-card>.category-icon{background:var(--soft)}.source-card strong{font-size:12px;display:block}.source-card small{font-size:10px;color:var(--muted)}.source-card>.pill{margin-left:auto}.flow-list{list-style:none;padding:0;margin:22px 0 0}.flow-list li{display:flex;gap:12px;align-items:flex-start;position:relative;padding:0 0 25px}.flow-list li:last-child{padding-bottom:0}.step-number{width:26px;height:26px;border-radius:50%;background:#f2f2f2;color:#676767;display:flex;align-items:center;justify-content:center;font-size:11px;flex:none}.flow-list strong{font-size:12px;display:block}.flow-list p{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.7}.import-result{margin-top:22px}.import-result h3{font-size:16px}.diff-summary{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.diff-row{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.diff-row input{width:16px;height:16px;accent-color:var(--accent)}.diff-row strong{font-size:12px}.diff-row p{font-size:10px;color:var(--muted);overflow-wrap:anywhere;margin-top:3px;letter-spacing:0}.diff-row .badge-add{color:#5f5f5f;background:#f2f2f2}.diff-row .badge-update{color:#646464;background:#f2f2f2}.diff-row .badge-lock{color:#6a6a6a;background:#f0f0f0}.import-result .form-actions{justify-content:space-between;align-items:center}.import-result .form-actions small{font-size:10px;color:var(--muted)}.loading-indicator{padding:26px 10px;display:flex;gap:12px;align-items:center;color:var(--muted);font-size:13px}.loading-indicator .icon{animation:spin 1s linear infinite}.history-list{display:grid;gap:12px}.history-row{display:flex;justify-content:space-between;gap:16px;padding:17px 18px;border:1px solid var(--line);background:white;border-radius:12px}.history-row strong{font-size:13px}.history-row p,.history-row time{font-size:11px;color:var(--muted);margin-top:4px}.category-manager{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.category-manager .panel{display:flex;align-items:center;gap:12px;padding:17px}.category-manager h3{font-size:14px}.category-manager p{font-size:11px;color:var(--muted);margin-top:3px}.category-manager .icon-button{margin-left:auto}.updated-tag{font-size:11px;color:#777777;margin-bottom:10px}.empty-small{color:var(--muted);font-size:12px;padding:30px;text-align:center}.mobile-category-title{display:none}.category-dialog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.category-dialog-grid .category-chip{min-height:65px;flex-direction:column;font-size:12px}.category-dialog-grid .category-chip .icon{display:block;width:22px;height:22px}.history-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.history-header h2{font-size:20px}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.sidebar{width:238px;padding-left:28px;padding-right:28px}.workspace{margin-left:238px}main{padding-left:48px;padding-right:48px}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-card{padding-left:18px;padding-right:18px}.site-anchor{min-height:55px}.category-chips{gap:8px}.category-chip{padding-left:13px;padding-right:13px}}
@media(max-width:1199px){.sidebar{width:198px;padding:27px 16px 18px}.workspace{margin-left:198px}.topbar{padding:0 25px}main{padding:27px 25px}.category-grid{gap:12px}.category-card{padding:14px 11px 8px}.card-header{gap:8px}.card-header h3{font-size:14px}.card-header p{font-size:9px}.site-name{font-size:12px}.site-anchor{gap:7px}.favorite-button{min-width:27px;width:27px}.monogram{width:25px;height:25px}.quick-links{gap:8px}.quick-link{padding:10px 9px;gap:8px}.quick-link>.icon{display:none}.search-note{display:none}.table-site .site-copy{max-width:180px}.management-table th,.management-table td{padding:12px}.site-footer{padding:20px 25px}.source-input{flex-wrap:wrap}.source-input input{flex-basis:100%}.import-layout{grid-template-columns:1.4fr 1fr}.category-manager{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1023px){.sidebar{width:185px;padding-left:14px;padding-right:14px}.workspace{margin-left:185px}.brand{font-size:26px}.brand-caption{font-size:8px;letter-spacing:1.1px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card{padding:16px 15px 9px}.card-header h3{font-size:15px}.card-header p{font-size:10px}.site-name{font-size:13px}.site-anchor{gap:10px}.favorite-button{width:32px;min-width:32px}.monogram{width:28px;height:28px}.intro h1{font-size:30px}.intro-counts{gap:16px}.intro-counts strong{font-size:24px}.quick-links{grid-template-columns:repeat(4,1fr)}.quick-link:nth-child(5){display:none}.quick-link small{font-size:9px}.preview-label{display:none}.topbar{height:65px}.admin-stats{gap:10px}.stat-card{padding:14px}.stat-card small{display:block;margin:0}.management-table .table-source{display:none}.list-mode .card-links{grid-template-columns:repeat(2,minmax(0,1fr))}.import-layout{grid-template-columns:1fr}.import-layout>.panel:last-child{display:none}.source-input{flex-wrap:nowrap}.source-input input{flex-basis:auto}.site-footer{flex-direction:column;gap:4px}}
@media(max-width:767px){body{font-size:14px}.sidebar{display:none}.workspace{margin-left:0}.topbar{height:66px;padding:0 19px;border-bottom:0;background:var(--bg)}.mobile-brand{display:inline-flex;font-size:25px;gap:8px}.mobile-brand .brand-mark{width:31px;height:31px;border-radius:9px}.mobile-brand .brand-mark i:first-child{left:3px;top:12px}.mobile-brand .brand-mark i:last-child{left:10px;top:7px}.breadcrumb{display:none}.topbar-actions{gap:5px}.topbar-actions .btn{font-size:11px;gap:4px;min-height:44px;padding:0 5px}.topbar-actions .btn .icon{width:15px}.topbar-actions .preview-label{display:flex;font-size:9px;gap:4px}main{padding:18px 18px 28px}.intro{margin-bottom:22px;align-items:flex-end}.eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:7px}.intro h1{font-size:29px;letter-spacing:-1.4px}.intro p{font-size:11px;margin-top:8px;line-height:1.65}.intro-counts{display:none}.search-row{margin-bottom:24px}.search-box{height:50px;border-radius:12px;padding:0 13px;gap:10px}.search-box input{font-size:16px}.search-box input::placeholder{font-size:13px}.search-box kbd{display:none}.search-box>.icon{width:20px}.quick-section{margin-bottom:25px}.quick-links{grid-template-columns:repeat(5,1fr);gap:7px}.quick-link{min-height:auto;border:0;background:transparent;flex-direction:column;padding:0;gap:6px}.quick-link:nth-child(5){display:flex}.quick-link .monogram{width:43px;height:43px;font-size:20px;border-radius:14px;background:white}.quick-link strong{font-size:10px;font-weight:550;white-space:nowrap}.quick-link small{display:none}.quick-link:hover{background:none;box-shadow:none}.section-kicker{margin-bottom:12px}.section-kicker h2{font-size:11px}.section-kicker .text-button{font-size:10px}.category-grid{grid-template-columns:1fr;gap:15px}.directory-toolbar{margin-bottom:14px;gap:6px}.directory-heading h2{font-size:19px}.directory-heading>span{font-size:10px;padding:2px 6px}.toolbar-controls{gap:5px}.sort-select{font-size:10px;padding-right:1px;max-width:80px}.view-switch{gap:1px;padding:2px}.view-switch button{width:32px;height:32px}.category-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:20px}.category-chip{font-size:10px;min-height:35px;padding:5px 4px;border-radius:8px}.category-chip[data-category=all]{grid-column:span 4;display:none}.category-card{padding:16px 14px 9px;border-radius:16px}.card-header{margin-bottom:9px;gap:9px}.category-icon{width:33px;height:33px;border-radius:10px}.category-icon .icon{width:19px;height:19px}.card-header h3{font-size:15px}.card-header p{font-size:9px}.card-count{font-size:10px}.card-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px}.link-row{min-height:65px}.link-row:nth-last-child(2){border-bottom:0}.site-anchor{min-height:63px;padding:5px 0;gap:8px}.site-name{font-size:12px}.monogram{width:25px;height:25px;border-radius:7px;font-size:12px}.site-domain{font-size:9px;max-width:116px}.favorite-button{min-width:28px;width:28px;height:44px}.favorite-button .icon{width:14px;height:14px}.new-badge{display:none}.site-name>.name-text{white-space:normal;overflow:visible;overflow-wrap:anywhere;line-height:1.4}.site-copy{min-width:0}.category-grid.list-mode .card-links{grid-template-columns:1fr}.category-grid.list-mode .link-row{min-height:58px}.category-grid.list-mode .site-anchor{min-height:57px}.category-grid.list-mode .site-domain{max-width:220px;font-size:11px}.category-grid.list-mode .site-name{font-size:14px}.category-grid.list-mode .monogram{width:29px;height:29px}.category-grid.list-mode .favorite-button{width:44px;min-width:44px}.list-mode .category-card{padding:16px 18px 8px}.list-mode .card-header p{display:block}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);padding:9px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fdfdfdf7;backdrop-filter:blur(10px);z-index:40}.bottom-nav a,.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:44px;font-size:9px;color:var(--muted);border-radius:10px}.bottom-nav .icon{width:21px;height:21px}.site-footer{padding:18px 18px calc(90px + env(safe-area-inset-bottom));font-size:9px;gap:8px;line-height:1.8}.toast{left:50%;bottom:88px;min-width:200px;text-align:center;font-size:12px}.admin-intro h1{font-size:26px}.admin-intro p{font-size:11px}.admin-intro .btn{padding:0 11px;min-height:38px;font-size:11px}.admin-stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:18px}.stat-card{padding:14px 16px}.stat-card strong{font-size:25px;margin-top:5px}.stat-card small{display:inline;margin-left:7px}.demo-banner{font-size:10px;align-items:flex-start;padding:11px;line-height:1.7;gap:7px}.admin-tabs{gap:22px;overflow:auto;margin:15px 0 18px}.admin-tabs button{white-space:nowrap;font-size:12px}.management-toolbar{flex-wrap:wrap;gap:8px}.management-toolbar .search-box{width:100%;max-width:none;flex-basis:100%;height:44px}.management-toolbar select{font-size:11px;min-height:38px}.management-toolbar .btn{min-height:38px;font-size:11px;padding:0 10px}.management-table th,.management-table td{padding:11px 10px}.management-table .table-category,.management-table .table-source{display:none}.table-site{gap:8px}.table-site .site-copy{max-width:150px}.table-site .site-domain{font-size:10px;max-width:150px}.table-site strong{font-size:12px}.table-actions{gap:2px}.table-actions .icon-button{width:34px;height:38px}.management-table td:last-child{width:86px}.table-bottom{font-size:10px;padding:12px;flex-wrap:wrap}.panel{padding:19px 17px;border-radius:15px}.panel h2{font-size:17px}.panel>p{font-size:11px}.source-input{flex-wrap:wrap}.source-input input{flex-basis:100%;font-size:16px;min-height:46px}.source-input .btn{width:100%}.source-card{gap:9px;padding:12px}.source-card strong{font-size:11px}.source-card small{font-size:9px}.source-card>.pill{font-size:9px}.source-help{font-size:10px}.diff-row{grid-template-columns:23px 1fr auto;gap:6px}.diff-row strong{font-size:11px}.diff-row p{font-size:9px}.diff-row .pill{font-size:9px}.import-result .form-actions{flex-wrap:wrap;gap:12px}.import-result .form-actions .btn{width:100%}.category-manager{grid-template-columns:1fr}.history-row{padding:14px;gap:10px}.history-row strong{font-size:12px}.history-row time{font-size:9px;white-space:nowrap}.history-row p{font-size:10px}.modal-content{padding:23px 20px}.modal-top h2{font-size:20px}.field>input,.field>select,.field>textarea{font-size:16px}.empty-state{padding:40px 18px}.empty-state p{font-size:12px}.category-dialog-grid .category-chip[data-category=all]{display:flex;grid-column:span 3;min-height:40px;flex-direction:row}.results-note{font-size:11px}}
@media(max-width:359px){main{padding-left:13px;padding-right:13px}.topbar{padding:0 14px}.topbar-actions .preview-label{display:none}.card-links{column-gap:8px}.site-anchor{gap:6px}.site-domain{font-size:8px}.favorite-button{min-width:24px;width:24px}.site-name{font-size:11px}.category-card{padding:14px 11px 8px}.intro h1{font-size:27px}}
.theme-toggle{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;justify-content:center;color:var(--muted)}.theme-toggle:hover{background:var(--soft);color:var(--ink)}.theme-toggle .icon{width:18px;height:18px}.search-note{display:flex;gap:7px;align-items:center}.search-note .icon{width:15px;height:15px;color:var(--muted)}
html[data-theme=dark]{color-scheme:dark;--bg:#111111;--surface:#1b1b1b;--ink:#e9e9e9;--muted:#a8a8a8;--line:#303030;--control:#e0e0e0;--control-hover:#f0f0f0;--control-soft:#eeeeee;--soft:#292929;--danger:#eca696;--sage:#383838;--lavender:#353535;--peach:#393939;--butter:#3b3b3b;--pink:#363636;--blue:#373737;--shadow:0 8px 28px #0c0c0c24}
html[data-theme=dark] .sidebar{background:#151515;border-color:#333333}html[data-theme=dark] .brand-mark{background:#dedede}html[data-theme=dark] .brand-mark i{border-color:#202020}html[data-theme=dark] .brand-dot{color:#bdbdbd}html[data-theme=dark] .brand-caption{color:#a6a6a6}html[data-theme=dark] .category-nav{color:#adadad}html[data-theme=dark] .category-nav .count{color:#9c9c9c}html[data-theme=dark] .sidebar-label{color:#a5a5a5}html[data-theme=dark] .small-note{background:#202020;border-color:#363636}html[data-theme=dark] .tiny-spark{color:#c4c4c4}html[data-theme=dark] .topbar{border-color:#292929}html[data-theme=dark] .breadcrumb-divider{color:#6b6b6b}html[data-theme=dark] .preview-label>span{background:#bdbdbd}html[data-theme=dark] .eyebrow{color:#bcbcbc}html[data-theme=dark] .btn.primary{background:#dedede;color:#171717}html[data-theme=dark] .btn.primary:hover{background:#f0f0f0}html[data-theme=dark] .btn.secondary{background:#2a2a2a;border-color:#545454}html[data-theme=dark] .btn.secondary:hover{background:#383838}html[data-theme=dark] .btn.danger{background:#462f28;color:#efb3a7}html[data-theme=dark] .search-box{background:#1c1c1c;border-color:#424242;box-shadow:none}html[data-theme=dark] .search-box>.icon{color:#cccccc}html[data-theme=dark] .search-box input::placeholder{color:#aaaaaa}html[data-theme=dark] .search-box kbd{border-color:#545454;color:#c0c0c0}html[data-theme=dark] .quick-link{background:#1c1c1c;border-color:#303030}html[data-theme=dark] .quick-link:hover{border-color:#7d7d7d}html[data-theme=dark] .quick-link>.icon{color:#a3a3a3}html[data-theme=dark] .section-kicker h2 .icon{color:#bcbcbc}html[data-theme=dark] .monogram{background:color-mix(in srgb,var(--site-color) 15%,#262626);border-color:color-mix(in srgb,var(--site-color) 25%,#363636);color:color-mix(in srgb,var(--site-color) 50%,#ffffff)}html[data-theme=dark] .directory-heading>span{background:#292929;color:#bebebe}html[data-theme=dark] .view-switch{background:#232323}html[data-theme=dark] .category-chip{background:#1b1b1b;border-color:#363636;color:#bababa}html[data-theme=dark] .category-chip:hover:not([aria-pressed=true]){background:#353535;border-color:#838383}html[data-theme=dark] .category-card{border-color:#303030;box-shadow:0 2px 8px #0d0d0d10}html[data-theme=dark] .category-icon{color:#c7c7c7}html[data-theme=dark] .tone-lavender{color:#b6b6b6}html[data-theme=dark] .tone-peach{color:#bababa}html[data-theme=dark] .tone-butter{color:#c9c9c9}html[data-theme=dark] .tone-pink{color:#b9b9b9}html[data-theme=dark] .tone-blue{color:#bebebe}html[data-theme=dark] .link-row{border-color:#2c2c2c}html[data-theme=dark] .site-anchor:hover{background:#292929}html[data-theme=dark] .new-badge{background:#303030;color:#dddddd}html[data-theme=dark] .favorite-button{color:#9e9e9e}html[data-theme=dark] .favorite-button:hover{background:#373737;color:#dbdbdb}html[data-theme=dark] .empty-state{background:#1c1c1c;border-color:#5a5a5a}html[data-theme=dark] .empty-state>.icon{color:#c4c4c4}html[data-theme=dark] .toast{background:#cfcfcf;color:#2d2d2d;box-shadow:0 6px 35px #0a0a0a50}html[data-theme=dark] .toast button{color:#444444}html[data-theme=dark] dialog{background:#262626;border-color:#4e4e4e}html[data-theme=dark] dialog::backdrop{background:#090909a3}html[data-theme=dark] .field>input,html[data-theme=dark] .field>select,html[data-theme=dark] .field>textarea,html[data-theme=dark] .source-input input{background:#151515;border-color:#5b5b5b}html[data-theme=dark] .checkbox-label{background:#323232}html[data-theme=dark] .demo-banner{background:#2d2d2d;border-color:#4d4d4d;color:#c7c7c7}html[data-theme=dark] .stat-card{background:var(--surface)}html[data-theme=dark] .management-toolbar select{background:#262626}html[data-theme=dark] .table-wrap{background:var(--surface)}html[data-theme=dark] .management-table th{background:#2e2e2e;color:#bcbcbc}html[data-theme=dark] .management-table td{border-color:#353535}html[data-theme=dark] .table-actions button[data-delete]{color:#c49283}html[data-theme=dark] .pill{background:#363636;color:#cccccc}html[data-theme=dark] .pill.locked{background:#3b3b3b;color:#c2c2c2}html[data-theme=dark] .pill.gray{background:#363636;color:#bcbcbc}html[data-theme=dark] .panel{background:var(--surface)}html[data-theme=dark] .step-number{background:#3b3b3b;color:#d2d2d2}html[data-theme=dark] .diff-row .badge-add{background:#333333;color:#cfcfcf}html[data-theme=dark] .diff-row .badge-update{background:#383838;color:#c7c7c7}html[data-theme=dark] .diff-row .badge-lock{background:#3b3b3b;color:#c2c2c2}html[data-theme=dark] .history-row{background:var(--surface)}html[data-theme=dark] .bottom-nav{background:#171717f7;border-color:#3e3e3e}html[data-theme=dark] .skip-link{color:#171717}
@media(max-width:767px){.theme-toggle{width:33px;height:36px;border:0}.topbar-actions .preview-label{display:none}.topbar-actions{gap:7px}.search-note{display:none}html[data-theme=dark] .quick-link{background:none;border:0}html[data-theme=dark] .quick-link .monogram{background:#2d2d2d}}
@media(min-width:768px){.topbar{height:64px}main{padding-top:26px}.intro{margin-bottom:18px}.intro h1{font-size:32px}.intro p{margin-top:8px}.search-row{margin-bottom:18px}.quick-section{margin-bottom:22px}.quick-link{min-height:58px}.category-chips{display:none}.directory-toolbar{margin-bottom:16px}.category-dialog-grid .category-chip{display:flex}.search-note{font-size:10px}}
@media(max-width:767px){.quick-section{display:none}main{padding-top:13px}.intro{margin-bottom:18px}.search-row{margin-bottom:22px}.category-chip{min-height:40px}.site-name{font-size:13px}.favorite-button{width:34px;min-width:34px}.site-domain{font-size:10px}.card-header p{font-size:10px}.topbar-actions .btn{font-size:12px}}
dialog::backdrop,.bottom-nav{backdrop-filter:none}
.site-logo{width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex:none;border-radius:7px;background:#eeeeee;border:1px solid #dddddd;overflow:hidden}.site-logo img{display:block;width:100%;height:100%;object-fit:contain;padding:3px;filter:none;opacity:1}.site-logo img[hidden]{display:none}.site-logo>span[hidden]{display:none}.site-logo.logo-dark{background:#2d2d2d;border-color:#484848}.site-logo.logo-fallback{background:var(--soft);color:var(--muted);border-color:var(--line)}.site-logo.logo-fallback .icon,.site-logo>span>.icon{width:16px;height:16px}.quick-link .site-logo{width:32px;height:32px;border-radius:9px}.quick-link .site-logo img{padding:4px}.table-site .site-logo{width:28px;height:28px}html[data-theme=dark] .site-logo{background:#dedede;border-color:#ababab}html[data-theme=dark] .site-logo.logo-dark{background:#303030;border-color:#484848}html[data-theme=dark] .site-logo.logo-fallback{background:var(--soft);border-color:var(--line)}@media(max-width:767px){.site-logo{width:25px;height:25px;border-radius:7px}.site-logo img{padding:2px}}
.site-logo{position:relative}.original-shopping-icon{position:absolute;left:50%;top:50%;width:40px;height:40px;background-size:468px 484px;background-position:0 -168px;transform:translate(-50%,-50%) scale(.55)}
@media(max-width:767px){html{scroll-padding-bottom:88px}.favorite-button{min-width:38px;width:38px}.category-chip{min-height:44px}.theme-toggle{min-width:44px;min-height:44px}.site-anchor{scroll-margin-bottom:88px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* A single lavender accent for the headline, current location and saved links. */
:root {
  --accent: #6750a4;
  --selected-surface: color-mix(in srgb, var(--accent) 15%, var(--surface));
}

:root[data-theme="dark"] {
  --accent: #b9a6f4;
}

.intro h1 span {
  color: var(--accent);
}

html[data-theme] :is(
  .nav-item.active,
  .category-nav.active,
  .bottom-nav .active,
  .view-switch button[aria-pressed="true"],
  .category-chip[aria-pressed="true"]
) {
  color: var(--accent);
  background: var(--selected-surface);
}

.nav-item.active,
.category-nav.active {
  box-shadow: inset 3px 0 var(--accent);
}

.nav-item.active,
.category-nav.active,
.bottom-nav .active,
.category-chip[aria-pressed="true"] {
  font-weight: 650;
}

html[data-theme] .category-chip[aria-pressed="true"] {
  border-color: var(--accent);
}

html[data-theme] .favorite-button[aria-pressed="true"] {
  color: var(--accent);
}

.favorite-button[aria-pressed="true"] .icon {
  fill: currentColor;
}

.admin-tabs button.active {
  font-weight: 650;
  color: var(--accent);
  border-bottom-color: currentColor;
}

html[data-theme] .search-box:focus-within {
  border-color: var(--accent);
  outline: 2px solid color-mix(in srgb, var(--accent) 32%, transparent);
}
