:root{color-scheme:light;--bg:#fff;--surface:#fff;--subtle:#f8f9fc;--soft:#f2f3f8;--text:#20243c;--muted:#7b8094;--border:#e8eaf1;--primary:#6954df;--primary-hover:#5641c9;--primary-soft:#f0edfd;--navy:#242447;--success:#219779;--danger:#c64b60;--shadow:0 8px 35px rgba(33,35,71,.07);--radius:16px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-synthesis:none}
:root[data-theme=dark]{color-scheme:dark;--bg:#10131e;--surface:#191d2c;--subtle:#151927;--soft:#212638;--text:#e4e6f0;--muted:#9a9fb6;--border:#2b3044;--primary:#a594ff;--primary-hover:#b7aaff;--primary-soft:#282340;--navy:#e0dcfb;--success:#58c8a8;--danger:#f18796;--shadow:0 8px 35px rgba(0,0,0,.16)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a398ef;outline-offset:4px}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button{border:0;background:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.25;letter-spacing:-.035em}h1{font-size:32px}h2{font-size:22px}h3{font-size:16px}p{color:var(--muted)}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:20px;z-index:99;background:var(--primary);color:#fff;padding:12px}.skip-link:focus{top:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:11px;padding:12px 20px;font-weight:600;font-size:13px;line-height:20px;border:1px solid transparent;transition:background .18s,box-shadow .18s;white-space:nowrap}.button:hover{text-decoration:none}.button-primary{background:var(--primary);color:#fff;box-shadow:0 4px 12px rgba(105,84,223,.12)}[data-theme=dark] .button-primary{color:#17122f}.button-primary:hover{background:var(--primary-hover)}.button-secondary{background:var(--surface);border-color:var(--border);color:var(--text)}.button-secondary:hover{background:var(--soft)}.button .icon{width:17px;height:17px}.full-width{width:100%}.icon-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;transition:background .15s;flex-shrink:0}.icon-button:hover{background:var(--soft)}.text-link{padding:0;color:var(--primary);font-size:13px;font-weight:600}.text-link:hover{text-decoration:underline}.danger-text{color:var(--danger)!important}.muted{color:var(--muted)}.boot-screen{min-height:80vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.boot-mark{font-size:45px;font-weight:800;color:var(--primary)}.boot-mark span{font-size:24px}.noscript{text-align:center;padding:30px}.site-header{height:100px;display:flex;align-items:center;justify-content:space-between;gap:34px;padding:0 52px;position:relative;z-index:5}.brand{display:inline-flex;align-items:center;gap:12px;color:var(--text);text-decoration:none!important;white-space:nowrap}.brand-symbol{display:inline-flex;position:relative;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:var(--primary);color:#fff;font-size:36px;font-weight:750;line-height:1;letter-spacing:-3px;padding-right:3px;padding-bottom:5px}.brand-symbol>.icon{position:absolute;right:7px;top:7px;width:10px;height:10px;background:var(--primary);stroke-width:2.4}.wordmark{font-weight:720;letter-spacing:-1.8px;font-size:32px;line-height:1.1;color:var(--navy)}.wordmark>span{color:var(--primary)}.brand-small{gap:9px}.brand-small .brand-symbol{width:31px;height:31px;font-size:26px;border-radius:10px;padding-bottom:4px}.brand-small .brand-symbol>.icon{width:8px;height:8px;right:4px;top:4px}.brand-small .wordmark{font-size:23px;letter-spacing:-1.1px}.header-nav{display:flex;align-items:center;gap:26px}.nav-link{font-size:12px;color:#6b7084;padding:8px 0}.nav-link:hover{color:var(--primary)}.theme-toggle{color:var(--muted);width:28px;height:32px}.theme-toggle>.icon{width:18px;height:18px}.login-button{font-size:12px;padding:10px 18px;border-radius:10px;gap:13px}.profile-wrap{position:relative}.avatar,.owner-avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;width:38px;height:38px;background:var(--primary-soft);color:var(--primary);font-weight:650}.avatar:hover{box-shadow:0 0 0 4px var(--soft)}.profile-menu{position:absolute;right:0;top:49px;width:235px;border:1px solid var(--border);background:var(--surface);border-radius:15px;padding:8px;box-shadow:var(--shadow);z-index:20}.profile-identity{display:flex;flex-direction:column;gap:3px;border-bottom:1px solid var(--border);padding:12px;margin-bottom:6px}.profile-identity span{font-size:12px;color:var(--muted)}.profile-menu>a,.profile-menu>button{display:flex;align-items:center;gap:10px;padding:10px 12px;width:100%;text-align:left;border-radius:7px;font-size:13px;color:var(--text)}.profile-menu>a:hover,.profile-menu>button:hover{background:var(--soft);text-decoration:none}.profile-menu .icon{width:17px;height:17px;color:var(--muted)}
/* Home */
.home-main{position:relative;display:flex;justify-content:center;min-height:calc(100svh - 224px);padding:99px 24px 80px;overflow:hidden}.home-content{width:100%;max-width:800px;text-align:center;position:relative;z-index:1}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2.05px;color:var(--muted)}.home-content>.eyebrow{font-size:9px;letter-spacing:2.1px;color:#9494aa;display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:25px}.tiny-spark{color:var(--primary);font-size:19px;line-height:1}.hero-brand{display:flex;justify-content:center;margin-bottom:22px}.hero-brand .brand{gap:18px}.hero-brand .wordmark{font-size:74px;font-weight:690;letter-spacing:-4.4px}.hero-brand .brand-symbol{width:69px;height:69px;border-radius:23px;font-size:58px;letter-spacing:-5px;padding-bottom:8px;padding-right:6px;box-shadow:0 8px 20px #6954df18}.hero-brand .brand-symbol>.icon{right:9px;top:11px;width:16px;height:16px}.home-content>h1{font-size:16px;font-weight:400;letter-spacing:.03px;color:var(--muted);margin-bottom:35px}.home-search-wrap{max-width:690px;margin:0 auto}.search-form{width:100%;margin:0}.search-box{display:flex;align-items:center;gap:16px;min-height:65px;padding:6px 9px 6px 24px;background:var(--surface);border:1px solid #dedfea;border-radius:21px;box-shadow:0 6px 22px rgba(50,41,99,.06);transition:box-shadow .18s,border .18s}.search-box:focus-within{border-color:#b6a9f2;box-shadow:0 5px 26px #6a54e814,0 0 0 3px #6a54e807}.search-leading{color:#9092a6;width:21px;height:21px}.search-box>input{min-width:0;flex:1;width:100%;padding:9px 0;background:transparent;border:0;color:var(--text);outline:none;font-size:15px}.search-box>input::placeholder{color:#9b9caf;font-weight:400}.search-box>input::-webkit-search-cancel-button{display:none}.search-box>input:focus-visible{outline:none}.search-actions{display:flex;align-items:center;gap:10px}.search-actions>.icon-button{color:#7f8298;width:28px;height:34px}.search-actions>.voice-button{border-left:1px solid var(--border);border-radius:0;width:38px;padding-left:9px}.search-actions>.voice-button .icon{width:19px;height:19px}.search-submit{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:14px;background:var(--primary);color:#fff;flex-shrink:0;transition:background .15s}.search-submit:hover{background:var(--primary-hover)}.search-submit .icon{width:22px;height:22px}.home-categories{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:20px}.category-chip{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#7c8094;padding:7px 14px;border-radius:8px;transition:background .2s}.category-chip .icon{width:14px;height:14px}.category-chip.selected{background:var(--primary-soft);color:var(--primary);font-weight:600}.category-chip:hover{background:var(--soft)}.home-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;max-width:690px;margin:40px auto 0}.shortcut{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:13px;padding:13px 12px;transition:transform .16s,box-shadow .16s}.shortcut:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.shortcut>span:nth-child(2){font-size:10px;font-weight:550;white-space:nowrap}.shortcut-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;flex-shrink:0}.shortcut-icon>.icon{width:15px;height:15px}.lavender{background:#f0ecff;color:#8d72e7}.peach{background:#fff2e8;color:#ce9962}.mint{background:#eaf7f1;color:#6bb193}.blue{background:#edf3ff;color:#6e99da}.shortcut-arrow{width:11px;height:11px;color:#c0c2d1;margin-left:auto}.home-note{font-size:10px;color:#9599ac;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:32px}.home-note>.icon{width:14px;height:14px;color:#969bab}.keyboard-hint{margin:42px 0 0;font-size:10px;color:#abafbe}.keyboard-hint kbd{font-family:inherit;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:4px;width:17px;height:19px;margin:0 3px;background:var(--surface);color:#979caf}.home-orbit{position:absolute;width:570px;height:570px;z-index:0;pointer-events:none;opacity:.16;background:radial-gradient(circle,#e5dfff 0,transparent 69%)}.orbit-one{top:-110px;right:-370px}.orbit-two{bottom:-260px;left:-360px;background:radial-gradient(circle,#dcecf5 0,transparent 69%)}.recent-row{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:27px;font-size:10px;color:var(--muted);flex-wrap:wrap}.recent-row>span{display:inline-flex;align-items:center;gap:5px}.recent-row .icon{width:13px;height:13px}.recent-row>button{padding:4px 7px;background:var(--subtle);border-radius:5px;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.recent-row .clear-history{background:none}.setup-banner{display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;border:1px solid var(--border);border-radius:10px;background:var(--subtle);padding:13px 15px;max-width:690px;margin:28px auto 0;color:var(--muted)}.setup-banner>.icon{width:16px;height:16px}.setup-banner a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-weight:600}.setup-banner a .icon{width:14px;height:14px}.site-footer{font-size:10px;position:relative;z-index:2;background:var(--bg);padding:0 52px;color:#979aac}.footer-location{height:45px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--border);font-size:10px}.location-dot{width:5px;height:5px;border-radius:50%;background:#8f9cae}.footer-divider{color:#d6d8e1;margin:0 4px}.footer-location>span:last-child{color:#b0b3c1}.footer-bottom{height:65px;display:flex;align-items:center;justify-content:space-between;gap:30px}.footer-bottom>div{display:flex;align-items:center;gap:14px}.footer-wordmark{color:#62677d;font-weight:650;letter-spacing:-.3px;font-size:12px}.copyright{font-size:9px;color:#a4a8b7}.footer-bottom>nav{display:flex;align-items:center;gap:26px}.footer-bottom button{font-size:10px;color:#8b8fa3;padding:5px 0;display:inline-flex;align-items:center;gap:7px}.footer-bottom button:hover{color:var(--primary)}.footer-bottom .icon{width:12px;height:12px}
/* Results */
.results-header{height:101px;gap:38px;padding-right:42px;justify-content:flex-start;border-bottom:0}.results-header .brand{flex-shrink:0}.search-compact{max-width:660px}.search-compact .search-box{min-height:52px;border-radius:15px;padding:4px 6px 4px 18px;gap:12px;box-shadow:0 3px 12px #29204305}.search-compact .search-box>input{font-size:14px}.search-compact .search-submit{width:36px;height:36px;border-radius:10px}.search-compact .search-submit>.icon{width:19px;height:19px}.search-compact .search-actions{gap:5px}.results-header .header-nav{margin-left:auto;gap:20px}.results-main{min-height:calc(100svh - 211px);padding-bottom:60px}.result-navigation{display:flex;align-items:center;justify-content:space-between;padding-left:244px;padding-right:max(42px,calc((100vw - 1320px)/2));border-bottom:1px solid var(--border)}.result-tabs{display:flex;gap:31px}.result-tab{display:flex;align-items:center;gap:8px;padding:8px 1px 17px;color:var(--muted);font-size:12px;position:relative}.result-tab>.icon{width:16px;height:16px}.result-tab.active{color:var(--primary);font-weight:600}.result-tab.active:after{content:'';position:absolute;height:3px;bottom:-1px;left:0;right:0;background:var(--primary);border-radius:4px 4px 0 0}.filters-toggle{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px;padding-bottom:12px}.filters-toggle .icon{width:15px;height:15px}.filters{display:flex;align-items:center;gap:10px;padding:17px max(42px,calc((100vw - 1320px)/2)) 16px 244px}.filters select{background:var(--surface);border:1px solid var(--border);border-radius:7px;color:var(--muted);padding:7px 27px 7px 10px;font-size:10px;cursor:pointer;max-width:180px}.filter-caption{margin-left:auto;color:#9da2b3;font-size:9px;display:flex;gap:5px;align-items:center;white-space:nowrap}.filter-caption>.icon{width:12px;height:12px}.results-layout{display:grid;grid-template-columns:minmax(0,660px) minmax(240px,310px);gap:65px;padding:0 42px 0 244px;max-width:1420px}.results-meta{display:flex;justify-content:space-between;color:#a1a5b4;font-size:10px;margin:7px 0 28px;gap:10px}.meta-dot{margin:0 6px}.search-result{padding:0 0 27px;margin-bottom:27px;border-bottom:1px solid var(--border)}.search-result:last-child{border-bottom:0}.result-source{display:flex;align-items:center;gap:10px;margin-bottom:8px}.source-icon{width:30px;height:30px;border:1px solid var(--border);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:var(--subtle);color:var(--primary);font-size:13px;font-weight:600;flex-shrink:0}.result-source>div{min-width:0;display:flex;flex-direction:column;gap:1px}.source-name{font-size:11px;color:var(--text);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:440px}.source-url{font-size:10px;color:#979daf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:440px}.save-result{margin-left:auto;color:#9298ac}.save-result>.icon{width:16px;height:16px}.save-result.is-saved{color:var(--success);opacity:1}.result-title{font-size:19px;line-height:1.4;font-weight:500;color:#5b4cc2;letter-spacing:-.3px;display:inline-block;margin-bottom:7px;overflow-wrap:anywhere}[data-theme=dark] .result-title{color:#b4a5ff}.result-title:hover{text-decoration:underline}.result-title:visited{color:#8b67ac}.result-description{font-size:12px;line-height:1.85;color:#7c8297;margin-bottom:0;overflow-wrap:anywhere}.result-age{color:#a1a6b7}.news-age{font-size:10px;color:var(--muted);margin-top:10px;display:flex;align-items:center;gap:5px}.news-age .icon{width:12px;height:12px}.search-aside{padding-top:42px}.aside-label{color:#9b9fb1;letter-spacing:1.7px;font-size:9px;margin-bottom:17px}.query-card{border:1px solid var(--border);background:linear-gradient(135deg,var(--surface),var(--subtle));border-radius:16px;padding:24px 23px}.query-card-icon{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:12px;background:var(--primary-soft);color:var(--primary);margin-bottom:18px}.query-card-icon .icon{width:21px;height:21px}.query-card h2{font-size:19px;line-height:1.4;font-weight:600;letter-spacing:-.5px;margin-bottom:12px}.query-card>p{font-size:11px;line-height:1.8;margin-bottom:21px;overflow-wrap:anywhere}.aside-categories{border-top:1px solid var(--border);padding-top:9px}.aside-categories button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 0;color:var(--muted);font-size:11px;text-align:left}.aside-categories button:hover{color:var(--primary)}.aside-categories .icon{width:16px;height:16px}.aside-categories .icon:last-child{margin-left:auto;width:14px;height:14px}.tips-card{padding:23px 7px 0}.tips-card h3{font-size:11px;font-weight:600;letter-spacing:0;display:flex;gap:8px;align-items:center;margin-bottom:13px}.tips-card h3 .icon{width:16px;height:16px;color:var(--primary)}.tips-card p{font-size:11px;line-height:1.85;margin-bottom:13px}.tips-card strong{font-weight:500;color:#787e97}.aside-privacy{display:flex;align-items:flex-start;gap:10px;border-top:1px solid var(--border);margin-top:12px;padding:22px 7px 0}.aside-privacy>.icon{width:18px;height:18px;color:#a0a6b7}.aside-privacy p{font-size:10px;line-height:1.9}.aside-privacy button{color:var(--primary);font-size:10px;padding:0}.pagination{display:flex;align-items:center;justify-content:center;gap:25px;margin-top:25px;padding-top:25px;border-top:1px solid var(--border)}.pagination .button{padding:10px 14px;font-size:11px}.pagination>span{font-size:13px;color:var(--primary);font-weight:600}.page-total{color:var(--muted);font-size:10px;font-weight:400}.spelling-note{font-size:12px;background:var(--primary-soft);padding:12px 15px;border-radius:9px;margin-bottom:24px;color:var(--primary)}.image-layout{display:block;padding-right:52px;padding-left:52px;max-width:none}.image-layout .results-meta{margin-top:12px}.image-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:25px 18px}.image-result{min-width:0}.image-frame{height:180px;border-radius:13px;display:flex;position:relative;align-items:center;justify-content:center;background:var(--subtle);overflow:hidden;border:1px solid var(--border);color:var(--muted)}.image-frame img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.image-frame:hover img{transform:scale(1.05)}.image-visit{position:absolute;left:10px;right:10px;bottom:10px;border-radius:7px;padding:7px 10px;color:#fff;background:#202038bf;backdrop-filter:blur(6px);font-size:10px;display:flex;align-items:center;justify-content:space-between;opacity:0;transition:opacity .2s}.image-frame:hover .image-visit,.image-frame:focus .image-visit{opacity:1}.image-visit>.icon{width:12px;height:12px}.image-caption{display:flex;gap:8px;margin-top:11px;align-items:flex-start}.image-caption>div{display:flex;flex-direction:column;min-width:0;gap:4px}.image-caption a{font-size:12px;font-weight:500;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text)}.image-caption span{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-caption .save-result{width:25px;height:25px}.images-note{font-size:11px;color:var(--muted);text-align:center;margin:38px 0 0}.images-note .icon{width:14px;height:14px;margin-right:5px}.image-failed{display:none}.missing-image:before{content:'AksesLyx';font-size:16px;color:var(--muted);letter-spacing:-.4px}.video-result{display:flex;gap:20px}.video-thumbnail{width:170px;height:112px;border-radius:11px;position:relative;flex-shrink:0;background:var(--soft);overflow:hidden;display:flex;align-items:center;justify-content:center}.video-thumbnail img{width:100%;height:100%;object-fit:cover}.play-circle{position:absolute;display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:50%;color:#fff;background:#242447aa}.play-circle>.icon{width:19px;height:19px}.duration{position:absolute;bottom:7px;right:7px;color:#fff;background:#000a;border-radius:3px;padding:1px 5px;font-size:9px}.result-body{min-width:0;flex:1}.video-result .source-url{max-width:240px}.video-result .result-title{font-size:17px}.video-result .result-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.skeleton-list{padding-top:10px}.skeleton-result{margin-bottom:35px}.skeleton-result i,.skeleton-result b,.skeleton-result span{display:block;border-radius:5px;background:linear-gradient(90deg,var(--soft),var(--border),var(--soft));background-size:200% 100%;animation:shimmer 1.5s infinite}.skeleton-result i{width:160px;height:16px;margin-bottom:13px}.skeleton-result b{width:75%;height:22px;margin-bottom:13px}.skeleton-result span{width:100%;height:11px;margin-bottom:7px}.skeleton-result span:last-child{width:85%}@keyframes shimmer{to{background-position:-200% 0}}.empty-state{text-align:center;padding:75px 25px;max-width:540px;margin:auto}.empty-icon{display:inline-flex;align-items:center;justify-content:center;background:var(--primary-soft);color:var(--primary);width:62px;height:62px;border-radius:20px;margin-bottom:25px}.empty-icon>.icon{width:27px;height:27px}.empty-state h2{font-size:24px;font-weight:600;margin-bottom:14px}.empty-state p{font-size:13px;line-height:1.9;margin-bottom:25px}.empty-state small{display:block;color:var(--muted);font-size:10px;margin-top:23px}.empty-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.search-error{padding-top:55px}.inline-error{border-radius:10px;background:#fff1f3;color:#a74557;border:1px solid #f6d6dd;font-size:12px;padding:14px 18px;margin:25px 0}.inline-error button{font-weight:600;text-decoration:underline;margin-left:10px}.saved-main{min-height:calc(100svh - 210px);max-width:1000px;margin:auto;padding:48px 40px 80px}.page-heading{margin-bottom:45px}.page-heading .eyebrow{margin-bottom:16px}.page-heading h1{font-size:35px;font-weight:600;margin-bottom:14px}.page-heading p{font-size:13px}.saved-header{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border);padding-bottom:18px;margin-bottom:10px}.saved-header strong{font-size:13px;font-weight:600}.saved-header span{font-size:11px;color:var(--muted)}.saved-item{display:flex;align-items:center;gap:17px;border-bottom:1px solid var(--border);padding:20px 0}.saved-item>.source-icon{width:39px;height:39px;border-radius:11px}.saved-item>div{flex:1;min-width:0}.saved-item a{font-size:15px;display:inline-block;font-weight:500;overflow-wrap:anywhere}.saved-item p{font-size:11px;margin:4px 0 0}.saved-item>.icon-button{color:var(--muted)}
/* Dialogs and forms */
.app-dialog{width:460px;max-width:calc(100vw - 32px);max-height:calc(100svh - 40px);overflow:auto;border:1px solid var(--border);border-radius:23px;background:var(--surface);color:var(--text);padding:34px;box-shadow:0 25px 100px #1a133044;position:fixed}.app-dialog::backdrop{background:#1b1c3e4d;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:14px;top:14px;color:var(--muted)}.dialog-close>.icon{width:17px;height:17px}.dialog-header{padding-top:3px}.dialog-symbol{width:44px;height:44px;background:var(--primary-soft);color:var(--primary);border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:23px}.dialog-header h2{font-size:26px;font-weight:600;margin-bottom:9px}.dialog-subtitle{font-size:12px;line-height:1.75;margin-bottom:27px}.auth-form,.password-details form{display:flex;flex-direction:column;gap:18px}label{font-size:12px;font-weight:550;color:var(--text)}input:not([type=checkbox]),select,textarea{color:var(--text)}.auth-form label,.password-details label,.settings-form label:not(.checkbox-label){display:flex;flex-direction:column;gap:8px}.auth-form input,.password-details input,.settings-form input:not([type=checkbox]),.settings-form select{width:100%;border:1px solid var(--border);background:var(--bg);border-radius:9px;min-height:44px;padding:11px 13px;font-size:12px;font-weight:400;outline-offset:1px}.auth-form input::placeholder,.password-details input::placeholder,.settings-form input::placeholder{color:#a5a8b8}.auth-form .form-feedback{margin:0}.form-feedback{font-size:12px;line-height:1.7}.form-feedback:empty{display:none}.form-feedback.error{color:var(--danger)}.form-feedback.success{color:var(--success)}.auth-switch{font-size:12px;color:var(--muted);text-align:center;margin-top:23px}.auth-switch>button{font-size:12px;font-weight:600;color:var(--primary);padding:0 4px}.auth-footnote{font-size:10px;text-align:center;line-height:1.8;margin:24px 0 0;padding-top:20px;border-top:1px solid var(--border)}.preference-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--border)}.preference-row strong{font-size:12px;font-weight:600}.preference-row p{font-size:11px;line-height:1.65;margin:6px 0 0;max-width:240px}.theme-options{display:flex;padding:4px;background:var(--subtle);border-radius:8px;gap:3px}.theme-options button{display:flex;align-items:center;gap:5px;font-size:10px;padding:7px 9px;border-radius:5px}.theme-options button.selected{background:var(--surface);box-shadow:0 2px 5px #1b1c3e0b;color:var(--primary)}.theme-options .icon{width:13px;height:13px}.switch{display:inline-flex;position:relative;width:39px;height:23px;flex-shrink:0}.switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}.switch span{display:block;width:39px;height:23px;background:#d8dbe5;border-radius:20px;transition:background .2s}.switch span:before{content:'';width:17px;height:17px;position:absolute;top:3px;left:3px;background:#fff;border-radius:50%;transition:transform .2s}.switch input:checked+span{background:var(--primary)}.switch input:checked+span:before{transform:translateX(16px)}.switch input:focus-visible+span{outline:3px solid #a398ef;outline-offset:4px}.settings-dialog{width:520px}.settings-dialog>.text-link{margin-top:15px;font-size:11px}.password-details{margin-top:25px;border:1px solid var(--border);border-radius:10px;padding:14px}.password-details summary{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:550;cursor:pointer}.password-details summary .icon{width:16px;height:16px;color:var(--primary)}.password-details[open] summary{margin-bottom:20px}.password-details form{gap:14px}.password-details .button{align-self:flex-start}.dialog-note{display:flex;gap:8px;font-size:10px;color:var(--muted);margin-top:26px;line-height:1.75}.dialog-note>.icon{width:14px;height:14px;margin-top:2px}.info-dialog{width:600px}.prose{margin-top:25px;font-size:13px;line-height:1.9}.prose h3{font-size:14px;letter-spacing:0;margin:25px 0 10px}.prose p{margin-bottom:14px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,30px);max-width:calc(100vw - 35px);padding:13px 20px;border-radius:12px;background:#272540;color:#fff;font-size:12px;box-shadow:0 8px 30px #11132626;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.toast-error{background:#8a3548}.listening{color:#dc5171!important;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.4}}
/* Owner console */
.owner-shell{display:flex;min-height:100svh;background:var(--subtle)}.owner-sidebar{width:242px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);padding:36px 22px 22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:8}.owner-sidebar>.brand{margin:0 7px}.owner-badge{font-size:8px;font-weight:650;letter-spacing:2px;color:#a6aabd;margin:17px 0 38px 10px}.owner-sidebar>nav{display:flex;flex-direction:column;gap:7px}.owner-nav{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:10px;text-align:left;font-size:12px;font-weight:500;color:#80859a}.owner-nav .icon{width:18px;height:18px}.owner-nav.active{background:var(--primary-soft);color:var(--primary)}.owner-nav:hover{background:var(--soft)}.active-dot{width:5px;height:5px;border-radius:50%;background:var(--primary);margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:50px}.sidebar-note{background:var(--subtle);border:1px solid var(--border);border-radius:12px;padding:18px 16px;margin-bottom:20px}.sidebar-note>.icon{color:var(--primary);width:20px;height:20px;margin-bottom:15px}.sidebar-note strong{display:block;font-size:12px;font-weight:600;line-height:1.7;margin-bottom:8px}.sidebar-note p{font-size:10px;line-height:1.8;margin:0}.sidebar-bottom>a,.sidebar-bottom>button{display:flex;align-items:center;gap:11px;padding:11px 14px;width:100%;text-align:left;font-size:11px;color:var(--muted);border-radius:7px}.sidebar-bottom>a:hover,.sidebar-bottom>button:hover{text-decoration:none;background:var(--soft)}.sidebar-bottom .icon{width:16px;height:16px}.owner-workspace{width:calc(100% - 242px);margin-left:242px;min-width:0;display:flex;flex-direction:column}.owner-topbar{height:87px;padding:0 45px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.owner-topbar>span{font-size:11px;color:var(--muted)}.owner-topbar>span>span{margin:0 10px;color:#c5c8d6}.owner-topbar>div{display:flex;align-items:center;gap:14px}.owner-topbar .icon-button{color:var(--muted)}.owner-avatar{width:34px;height:34px;font-size:12px}.owner-name{font-size:11px;line-height:1.5;font-weight:550}.owner-name small{display:block;font-size:9px;color:var(--muted);font-weight:400}.owner-main{padding:39px 45px 45px;max-width:1500px;width:100%;margin:0 auto;flex:1}.owner-page-title{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:32px}.owner-page-title .eyebrow{font-size:8px;letter-spacing:1.8px;color:#9a9fb2;margin-bottom:14px}.owner-page-title h1{font-size:27px;font-weight:600;letter-spacing:-.9px;margin-bottom:11px}.owner-page-title p{font-size:11px;margin:0}.hello-dot{color:var(--primary)}.owner-page-title>.button{font-size:10px;padding:9px 14px}.owner-page-title .button>.icon{width:14px;height:14px}.owner-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:27px}.stat-card{border:1px solid var(--border);background:var(--surface);padding:21px 21px 18px;border-radius:13px}.stat-card>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.stat-card>div>span{font-size:10px;color:var(--muted)}.stat-card .icon{width:16px;height:16px;color:#9c8cdd}.stat-card>strong{font-size:29px;letter-spacing:-1px;font-weight:600}.stat-card>p{font-size:9px;margin:7px 0 0;color:#9ba1b4}.owner-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:24px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:25px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.panel-heading h2{font-size:14px;font-weight:600;letter-spacing:-.2px;margin:0}.panel-heading p{font-size:10px;margin:7px 0 0}.panel-heading>.icon{width:18px;height:18px;color:var(--muted)}.small-pill{background:var(--subtle);border:1px solid var(--border);border-radius:6px;font-size:9px;color:var(--muted);padding:5px 8px;white-space:nowrap}.usage-chart{display:flex;align-items:flex-end;justify-content:space-around;gap:8px;padding:26px 0 13px;height:216px;border-bottom:1px solid var(--border);overflow:hidden}.usage-column{display:flex;flex-direction:column;align-items:center;width:100%;height:100%;max-width:60px;gap:12px}.usage-number{font-size:9px;color:var(--muted);font-variant-numeric:tabular-nums}.usage-column meter{width:100%;height:125px;flex:1;writing-mode:vertical-lr;direction:rtl;border:0;appearance:none;-webkit-appearance:none;background:var(--primary-soft);border-radius:6px;overflow:hidden}.usage-column meter::-webkit-meter-bar{border:0;background:var(--primary-soft);border-radius:6px}.usage-column meter::-webkit-meter-optimum-value{background:var(--primary);border-radius:6px}.usage-column meter::-moz-meter-bar{background:var(--primary);border-radius:6px}.usage-column>span{font-size:8px;color:var(--muted);white-space:nowrap}.chart-legend{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--muted);padding-top:16px;flex-wrap:wrap}.chart-legend>span{width:6px;height:6px;border-radius:2px;background:var(--primary)}.chart-legend small{font-size:8px;margin-left:auto;color:#a4a9b9}.connection-panel .panel-heading{margin-bottom:25px}.connection-status{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:500;color:#aa8b4d;margin-bottom:12px}.connection-status>span{width:6px;height:6px;border-radius:50%;background:#dcb76e;box-shadow:0 0 0 4px #dcb76e12}.connection-status.connected{color:var(--success)}.connection-status.connected>span{background:var(--success);box-shadow:0 0 0 4px #21977910}.connection-panel>p{font-size:10px;line-height:1.85;margin-bottom:17px}.connection-panel>.button{font-size:10px;padding:9px 12px;justify-content:space-between}.connection-panel>.button>.icon{width:14px;height:14px}.connection-panel>.text-link{font-size:9px;text-align:center;width:100%;margin-top:12px}.budget-block{border-top:1px solid var(--border);margin-top:21px;padding-top:18px}.budget-block>div{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted);margin-bottom:8px}.budget-block strong{font-weight:500;color:var(--text)}.budget-block meter{width:100%;height:5px;display:block;border:0;appearance:none;background:var(--soft);border-radius:5px}.budget-block meter::-webkit-meter-bar{border:0;background:var(--soft);border-radius:5px}.budget-block meter::-webkit-meter-optimum-value{background:var(--primary);border-radius:5px}.budget-block meter::-moz-meter-bar{background:var(--primary)}.budget-block>p{font-size:8px;margin:8px 0 0}.owner-tip{display:flex;gap:10px;padding:18px 4px}.owner-tip>.icon{width:15px;height:15px;margin-top:1px;color:#a0a6b8}.owner-tip>p{font-size:10px;line-height:1.8;margin:0;color:#969db0}.owner-footer{font-size:9px;color:#a4aabd;display:flex;justify-content:space-between;gap:20px;padding:0 45px 25px}.settings-form{max-width:1000px}.settings-section{display:grid;grid-template-columns:220px 1fr;gap:35px;margin-bottom:21px;padding:28px}.section-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:var(--primary-soft);color:var(--primary);border-radius:10px;margin-bottom:17px}.section-icon>.icon{width:18px;height:18px}.section-intro h2{font-size:14px;font-weight:600;margin-bottom:8px;letter-spacing:-.1px}.section-intro p{font-size:10px;line-height:1.8;margin:0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-content:start}.settings-form label{font-size:10px}.settings-form input:not([type=checkbox]),.settings-form select{min-height:42px;font-size:11px;padding:10px 12px}.settings-form label small{font-size:9px;line-height:1.7;color:var(--muted);font-weight:400}.settings-fields>.field-grid{margin-top:23px}.field-status{display:inline;font-size:8px;color:var(--primary);font-weight:400}.field-help{font-size:9px;line-height:1.9;margin:9px 0 15px}.field-help .icon{width:10px;height:10px}.api-settings-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.api-settings-actions>.button{font-size:9px;padding:8px 10px}.api-settings-actions .button .icon{width:13px;height:13px}.checkbox-label{display:flex;align-items:center;gap:8px;font-weight:400;font-size:10px}.checkbox-label input{accent-color:var(--primary);width:15px;height:15px;flex-shrink:0;margin:0}.registration-toggle{grid-column:1/-1;border-top:1px solid var(--border);padding-top:19px;margin-top:2px;align-items:flex-start}.registration-toggle input{margin-top:2px}.registration-toggle span>small{display:block;margin-top:5px}.form-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:4px;gap:20px}.form-bottom>span{font-size:10px;color:var(--muted)}.form-bottom .button{font-size:11px;padding:11px 17px}.users-panel{padding:0;overflow:hidden}.users-panel>.panel-heading{padding:24px;margin:0;border-bottom:1px solid var(--border)}.users-panel>.panel-heading>.muted{font-size:10px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);background:var(--subtle);padding:15px 24px}td{font-size:11px;padding:19px 24px;border-top:1px solid var(--border);color:var(--muted)}.table-user{display:flex;align-items:center;gap:10px}.table-user strong{color:var(--text);font-size:11px;font-weight:500}.mini-avatar{width:29px;height:29px;display:flex;align-items:center;justify-content:center;background:var(--primary-soft);color:var(--primary);border-radius:9px;font-size:10px}.role-pill{background:var(--soft);color:var(--muted);font-size:8px;padding:4px 7px;border-radius:5px}.role-owner{background:var(--primary-soft);color:var(--primary)}
/* Adaptive layouts */
@media(min-width:1550px){.home-main{padding-top:130px}.results-layout{gap:80px}.result-navigation,.filters{padding-right:calc((100vw - 1310px)/2)}}
@media(max-width:1200px){.site-header{padding:0 34px}.home-main{padding-top:80px}.result-navigation{padding-left:218px;padding-right:34px}.filters{padding-left:218px;padding-right:34px}.results-header{gap:28px}.results-layout{padding-left:218px;gap:35px;padding-right:34px;grid-template-columns:minmax(0,1fr) 260px}.search-aside{padding-top:40px}.filter-caption{display:none}.result-title{font-size:18px}.source-url,.source-name{max-width:340px}.image-layout{padding-left:34px;display:block}.image-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.site-footer{padding:0 34px}.owner-sidebar{width:210px;padding:30px 16px 18px}.owner-workspace{margin-left:210px;width:calc(100% - 210px)}.owner-main{padding:30px 28px}.owner-topbar{padding:0 28px}.owner-footer{padding:0 28px 22px}.owner-stats{gap:12px}.stat-card{padding:17px}.owner-grid{gap:18px;grid-template-columns:minmax(0,1.5fr) minmax(235px,1fr)}.panel{padding:21px}.settings-section{grid-template-columns:180px 1fr;gap:25px}.settings-section>.field-grid{grid-template-columns:1fr}.section-intro p{max-width:170px}.owner-page-title h1{font-size:24px}.stat-card>div>span{font-size:9px}.users-panel{padding:0}.usage-chart{gap:5px}.usage-column>span{font-size:7px}.chart-legend small{margin-left:0;width:100%;margin-top:5px}}
@media(max-width:1000px){.search-aside{display:none}.results-layout{display:block;max-width:900px;padding-left:218px}.search-compact{max-width:600px}.results-header .header-nav{gap:8px}.results-header .theme-toggle{display:none}.results-header .login-button{padding:9px 12px}.results-header .login-button>.icon{display:none}.results-header{gap:25px}.image-layout{padding-left:34px;max-width:none}.image-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.image-frame{height:160px}.owner-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-grid{grid-template-columns:1fr}.settings-section{grid-template-columns:1fr;gap:25px}.section-intro{display:grid;grid-template-columns:34px 1fr;column-gap:12px}.section-intro>.section-icon{grid-row:1/3;margin:0}.section-intro h2{margin-bottom:3px}.section-intro p{max-width:none}.settings-section>.field-grid{grid-template-columns:1fr 1fr}.owner-page-title{align-items:flex-start}.owner-page-title .button{margin-top:20px}.usage-column>span{font-size:8px}.chart-legend small{margin-left:auto;width:auto;margin-top:0}}
@media(max-width:760px){.site-header{height:80px;padding:0 23px;gap:16px}.brand-small .wordmark{font-size:21px}.brand-small .brand-symbol{width:29px;height:29px;font-size:24px;border-radius:9px}.header-nav{gap:20px}.header-nav>.nav-link{display:none}.login-button{font-size:11px;padding:9px 14px;gap:9px}.home-main{min-height:calc(100svh - 220px);padding:80px 24px 70px}.home-content>.eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:24px}.hero-brand .wordmark{font-size:65px;letter-spacing:-3.8px}.hero-brand .brand-symbol{width:60px;height:60px;font-size:51px;border-radius:20px}.hero-brand .brand-symbol>.icon{width:14px;height:14px;right:8px;top:9px}.home-content>h1{font-size:14px;margin-bottom:30px}.home-shortcuts{gap:9px;margin-top:35px}.shortcut{padding:12px 8px;gap:7px}.shortcut-icon{width:25px;height:25px}.shortcut>span:nth-child(2){font-size:9px}.shortcut-arrow{display:none}.home-note{font-size:9px}.site-footer{padding:0 24px}.footer-bottom{height:auto;min-height:70px;gap:15px;flex-wrap:wrap;padding:17px 0}.footer-bottom>nav{gap:18px}.footer-location{height:40px}.result-navigation{padding:0 24px}.result-tabs{gap:27px}.result-tab{font-size:11px;padding-top:13px;padding-bottom:15px}.result-tab>.icon{width:15px;height:15px}.filters-toggle{font-size:11px;padding:12px 0}.filters{padding:14px 24px;gap:7px}.filters select{font-size:9px;padding:7px 23px 7px 9px;max-width:180px}.results-header{height:auto;min-height:126px;padding-top:18px;padding-bottom:15px;display:grid;grid-template-columns:1fr auto;gap:18px}.results-header>.brand{grid-column:1}.results-header>.header-nav{grid-column:2;grid-row:1}.results-header>.search-form{grid-column:1/-1;grid-row:2;max-width:none}.search-compact .search-box{min-height:49px}.results-layout{padding:0 24px;max-width:none}.results-meta{margin:10px 0 24px}.search-result{padding-bottom:23px;margin-bottom:24px}.source-url,.source-name{max-width:calc(100vw - 170px)}.result-title{font-size:18px}.result-description{font-size:12px}.image-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 13px}.image-frame{height:150px}.image-layout{padding:0 24px}.image-caption a{font-size:10px}.image-caption span{font-size:9px}.image-caption>.save-result{width:20px;height:22px}.saved-main{padding:35px 24px 60px}.page-heading h1{font-size:30px}.page-heading p{font-size:12px}.saved-header span{display:none}.empty-state{padding:60px 10px}.empty-state h2{font-size:23px}.setup-banner{font-size:10px;align-items:flex-start;flex-wrap:wrap}.setup-banner>.icon{display:none}.setup-banner a{display:flex}.owner-sidebar{position:static;width:100%;padding:18px 23px;display:flex;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--border);gap:20px}.owner-sidebar>.brand{margin:0}.owner-badge,.owner-sidebar .sidebar-bottom{display:none}.owner-sidebar>nav{margin-left:auto;flex-direction:row;gap:5px}.owner-nav{font-size:0;padding:10px;gap:0;border-radius:8px}.owner-nav>.icon{width:18px;height:18px}.owner-nav .active-dot{display:none}.owner-shell{display:block}.owner-workspace{margin:0;width:100%}.owner-topbar{height:64px;padding:0 24px}.owner-topbar>span{font-size:10px}.owner-topbar>div{gap:8px}.owner-name{font-size:10px}.owner-avatar{width:29px;height:29px;font-size:10px}.owner-topbar .icon-button{width:30px;height:30px}.owner-main{padding:28px 24px}.owner-page-title{margin-bottom:25px}.owner-page-title h1{font-size:23px}.owner-page-title p{font-size:10px;line-height:1.8}.owner-page-title .button{padding:8px 10px;font-size:0;gap:0;margin-top:16px}.owner-page-title .button .icon{width:16px;height:16px}.owner-page-title .eyebrow{font-size:7px;margin-bottom:11px}.owner-footer{padding:5px 24px 25px;font-size:8px}.sidebar-note{display:none}.owner-page-title>.small-pill{font-size:8px;margin-top:23px}.owner-stats{gap:13px}.stat-card{padding:18px}.stat-card>div>span{font-size:10px}.stat-card>strong{font-size:27px}.owner-tip>p{font-size:9px}.settings-section{padding:22px}.settings-section>.field-grid,.settings-fields>.field-grid{grid-template-columns:1fr 1fr}.settings-fields .field-grid>label>small{font-size:8px}.form-bottom>.button{font-size:10px}.form-bottom>span{font-size:9px}.users-panel>.panel-heading{padding:20px}th,td{padding:15px 20px}}
@media(max-width:480px){.home-main{padding:64px 20px 55px}.site-header{padding:0 20px;height:76px}.header-nav{gap:13px}.home-content>.eyebrow{font-size:6.5px;letter-spacing:1.5px;gap:7px;margin-bottom:24px}.tiny-spark{font-size:15px}.hero-brand{margin-bottom:19px}.hero-brand .brand{gap:12px}.hero-brand .wordmark{font-size:54px;letter-spacing:-3.3px}.hero-brand .brand-symbol{width:49px;height:49px;font-size:42px;border-radius:16px;padding-bottom:6px;padding-right:4px}.hero-brand .brand-symbol>.icon{width:12px;height:12px;top:7px;right:6px}.home-content>h1{font-size:12px;line-height:1.6;margin-bottom:29px}.search-box{min-height:58px;padding:5px 7px 5px 16px;border-radius:17px;gap:11px}.search-box>input{font-size:12px}.search-leading{width:18px;height:18px}.search-actions{gap:2px}.search-actions>.voice-button{width:27px;padding-left:5px}.search-actions>.voice-button .icon{width:16px;height:16px}.search-actions>.clear-search{width:24px}.search-submit{width:39px;height:39px;border-radius:12px}.search-submit .icon{width:19px;height:19px}.home-categories{gap:6px;margin-top:17px}.category-chip{font-size:10px;padding:7px 11px;gap:6px}.category-chip>.icon{width:13px;height:13px}.home-shortcuts{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:32px}.shortcut{padding:12px 14px;gap:10px;border-radius:11px}.shortcut>span:nth-child(2){font-size:10px}.shortcut-icon{width:29px;height:29px}.shortcut-arrow{display:block;width:10px;height:10px}.home-note{font-size:8px;line-height:1.8;gap:6px;margin-top:26px}.home-note>.icon{width:12px;height:12px}.keyboard-hint{display:none}.site-footer{padding:0 20px}.footer-location{font-size:9px}.footer-bottom{padding:16px 0 19px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.footer-bottom>nav{width:100%;justify-content:space-between;gap:10px}.footer-bottom button{font-size:9px}.footer-bottom>div{gap:10px}.copyright{font-size:8px}.footer-wordmark{font-size:11px}.results-header{height:auto;padding-top:18px;padding-bottom:15px}.results-header>.brand .wordmark{font-size:20px}.result-navigation{padding:0 20px}.result-tabs{gap:22px}.result-tab{font-size:10px;gap:6px}.result-tab>.icon{width:13px;height:13px}.filters-toggle{font-size:0;gap:0}.filters-toggle>.icon{width:17px;height:17px}.filters{padding:12px 20px;flex-wrap:wrap;display:none}.filters.mobile-open{display:flex}.filters select{font-size:9px;max-width:none;padding:8px 23px 8px 9px}.filters label{flex:1;min-width:110px}.filters select{width:100%}.results-layout{padding:10px 20px 0}.results-meta{font-size:9px;gap:6px;margin:6px 0 26px}.meta-dot{margin:0 3px}.results-meta>span:last-child{white-space:nowrap}.source-name{font-size:10px}.source-url{font-size:9px}.source-icon{width:28px;height:28px;font-size:12px}.result-title{font-size:17px;letter-spacing:-.2px}.result-description{font-size:11px;line-height:1.9}.search-result{margin-bottom:23px;padding-bottom:23px}.result-source{gap:9px;margin-bottom:10px}.save-result{width:29px;height:29px}.save-result>.icon{width:15px;height:15px}.pagination{gap:13px;padding-top:22px;margin-top:15px}.pagination>.button{font-size:10px;padding:9px 10px}.pagination>span{font-size:12px;white-space:nowrap}.page-total{display:none}.empty-state{padding:45px 5px}.empty-state h2{font-size:21px}.empty-state p{font-size:12px;line-height:1.9}.empty-state .button{font-size:11px;padding:11px 15px}.empty-state small{font-size:9px}.image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 12px}.image-frame{height:145px;border-radius:10px}.image-caption{gap:5px;margin-top:9px}.image-caption a{font-size:11px}.image-caption span{font-size:8px}.images-note{font-size:9px;line-height:1.9}.video-result{gap:13px;flex-direction:column}.video-thumbnail{width:100%;height:175px}.video-result .source-url{max-width:calc(100vw - 165px)}.video-result .result-title{font-size:17px}.video-result .result-description{-webkit-line-clamp:3}.saved-main{padding:30px 20px 55px}.page-heading{margin-bottom:30px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:14px}.page-heading h1{font-size:27px}.page-heading p{font-size:11px}.saved-item{gap:12px;padding:18px 0}.saved-item a{font-size:13px}.saved-item p{font-size:10px}.saved-item>.source-icon{width:33px;height:33px}.app-dialog{padding:29px 24px;border-radius:19px}.dialog-header h2{font-size:24px;max-width:290px}.dialog-subtitle{font-size:11px}.dialog-symbol{width:39px;height:39px;border-radius:12px;margin-bottom:20px}.dialog-symbol>.icon{width:19px;height:19px}.preference-row{gap:15px;flex-wrap:wrap;padding:17px 0}.preference-row:first-of-type>div{width:100%}.preference-row p{font-size:10px;max-width:240px}.theme-options{width:auto!important}.preference-row strong{font-size:11px}.preference-row:has(.switch){flex-wrap:nowrap}.switch{width:37px}.prose{font-size:12px}.prose h3{font-size:13px}.owner-sidebar{padding:18px 20px;gap:12px}.owner-nav{padding:9px}.owner-sidebar>.brand .wordmark{font-size:20px}.owner-sidebar>.brand .brand-symbol{width:27px;height:27px;font-size:23px}.owner-topbar{padding:0 20px;height:61px}.owner-topbar>span{font-size:9px}.owner-topbar>span>span{margin:0 5px}.owner-name{display:none}.owner-main{padding:26px 20px}.owner-page-title h1{font-size:21px;line-height:1.35}.owner-page-title p{font-size:10px;max-width:260px}.owner-page-title{gap:15px}.stat-card{padding:16px 14px;border-radius:11px}.stat-card>div{gap:8px;margin-bottom:15px}.stat-card>div>span{font-size:9px}.stat-card .icon{width:14px;height:14px}.stat-card>strong{font-size:26px}.stat-card>p{font-size:8px;line-height:1.6;margin-top:6px}.owner-stats{gap:12px;margin-bottom:20px}.panel{padding:20px}.panel-heading{gap:10px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:9px}.small-pill{font-size:8px;padding:4px 6px}.usage-chart{gap:3px;height:200px}.usage-column{gap:10px;min-width:0}.usage-number{font-size:7px}.usage-column>span{font-size:6px}.usage-column meter{border-radius:3px}.chart-legend small{width:100%;margin-left:0;margin-top:3px}.owner-footer{padding:0 20px 20px;flex-wrap:wrap;gap:6px;font-size:8px}.settings-section{gap:22px;padding:20px}.section-intro h2{font-size:13px}.section-intro p{font-size:9px}.settings-section>.field-grid,.settings-fields>.field-grid{grid-template-columns:1fr;gap:17px}.registration-toggle{grid-column:auto}.settings-form input:not([type=checkbox]),.settings-form select{font-size:11px}.api-settings-actions{gap:13px}.checkbox-label{font-size:9px}.form-bottom{flex-direction:column-reverse;align-items:stretch;gap:12px}.form-bottom>span{text-align:center}.form-bottom>.button{width:100%}.users-panel{padding:0}.owner-page-title>.small-pill{display:none}.users-panel>.panel-heading{padding:20px 16px}.users-panel .panel-heading>.muted{font-size:8px}th,td{padding:14px 16px}.toast{font-size:11px;width:max-content;max-width:calc(100vw - 32px);padding:12px 17px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* AksesLyx 1.1 — curated domain directory */
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;min-width:0}
.catalog-search{display:flex;align-items:center;gap:9px;width:100%;max-width:390px;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:5px 6px 5px 13px;box-shadow:0 2px 8px #26243f03}
.catalog-search>.icon{width:17px;height:17px;color:var(--muted)}
.catalog-search input{width:100%;min-width:0;flex:1;border:0;background:transparent;color:var(--text);font-size:11px;padding:7px 0;outline:none}
.catalog-search input::placeholder{color:#a0a5b7}
.catalog-search:focus-within{border-color:#b6a9f2;box-shadow:0 0 0 3px #6a54e807}
.catalog-search button{display:flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;border-radius:7px;background:var(--primary-soft);color:var(--primary);padding:8px 11px;font-size:10px;font-weight:600}
.catalog-search button>.icon{width:15px;height:15px}
.catalog-search button:hover{background:var(--soft)}
.catalog-summary{font-size:10px;color:var(--muted);white-space:nowrap}
.catalog-summary strong{font-weight:600;color:var(--text)}
.catalog-table{width:100%;min-width:820px;table-layout:auto}
.catalog-table th{font-size:8px;padding-top:15px;padding-bottom:15px}
.catalog-table td{vertical-align:top;padding-top:20px;padding-bottom:20px}
.catalog-table th:first-child,.catalog-table td:first-child{width:34%}
.catalog-table th:nth-child(2),.catalog-table td:nth-child(2){width:28%}
.catalog-table tbody tr:hover{background:color-mix(in srgb,var(--primary-soft) 25%,var(--surface))}
.domain-name-link{display:inline-flex;align-items:center;gap:6px;max-width:270px;white-space:normal;color:var(--text);font-size:12px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.domain-name-link>.icon{width:12px;height:12px;color:var(--muted)}
.domain-name-link:hover{color:var(--primary)}
.domain-url{display:block;max-width:270px;margin-top:4px;font-size:10px;color:var(--primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.domain-description{max-width:280px;white-space:normal;overflow-wrap:anywhere;font-size:10px;line-height:1.75;margin:8px 0 0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.keyword-list{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:140px;max-width:240px}
.keyword-tag{display:inline-block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--border);border-radius:5px;padding:3px 7px;background:var(--subtle);font-size:9px;color:#868ba0;line-height:1.6}
[data-theme=dark] .keyword-tag{color:var(--muted)}
.keyword-more{font-size:9px;color:var(--primary);padding:3px 4px;white-space:nowrap}
.status-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:4px 8px;border-radius:6px;font-size:8px;font-weight:550;line-height:1.5;white-space:nowrap;background:var(--soft);color:var(--muted)}
.status-pill:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor;flex-shrink:0}
.status-active,.status-pill.status-active{background:#edf7f2;color:#368b71}
.status-inactive,.status-pill.status-inactive{background:var(--soft);color:#999dae}
[data-theme=dark] .status-active{background:#1e3630;color:#79c8aa}
.featured-label{display:flex;align-items:center;gap:5px;font-size:8px;color:#a58c54;margin-top:8px;white-space:nowrap}
.featured-label .icon{width:11px;height:11px}
.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap}
.row-actions button{width:30px;height:30px;padding:6px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;color:var(--muted);border:1px solid transparent}
.row-actions button .icon{width:15px;height:15px}
.row-actions button:hover{background:var(--primary-soft);color:var(--primary)}
.row-actions button.danger-text:hover{background:#c64b6010;color:var(--danger)}
.catalog-pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 24px;border-top:1px solid var(--border)}
.catalog-pagination>span,.catalog-pagination>p{font-size:10px;color:var(--muted);margin:0}
.catalog-pagination>div{display:flex;align-items:center;gap:10px}
.catalog-pagination .button{font-size:10px;padding:8px 11px;border-radius:8px}
.catalog-pagination .button>.icon{width:13px;height:13px}
.domain-dialog{width:650px;max-width:calc(100vw - 32px);padding:32px}
.domain-dialog .dialog-header h2{font-size:24px}
.domain-dialog .dialog-subtitle{font-size:11px;margin-bottom:23px;max-width:520px}
.domain-dialog .dialog-symbol{width:39px;height:39px;border-radius:12px;margin-bottom:19px}
.domain-form{display:flex;flex-direction:column;gap:18px}
.domain-form .field-grid{gap:17px}
.domain-form label:not(.checkbox-label){display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:550;min-width:0}
.domain-form input:not([type=checkbox]),.domain-form textarea,.domain-form select{width:100%;min-width:0;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:9px;padding:11px 12px;font-size:11px;font-weight:400;line-height:1.65;outline-offset:1px}
.domain-form textarea{min-height:85px;resize:vertical;max-height:260px}
.domain-form textarea[name=keywords]{min-height:100px}
.domain-form input::placeholder,.domain-form textarea::placeholder{color:#a4a8b8}
.domain-form .field-help{margin:5px 0 0;font-size:9px;line-height:1.8;color:var(--muted);font-weight:400}
.domain-form label>small{font-size:9px;color:var(--muted);font-weight:400;line-height:1.7}
.domain-form .field-grid>.full-width{grid-column:1/-1}
.domain-switches{display:flex;align-items:flex-start;gap:23px;padding:16px 17px;border:1px solid var(--border);border-radius:10px;background:var(--subtle);flex-wrap:wrap}
.domain-switches>label,.domain-switches label.checkbox-label{display:flex;align-items:flex-start;gap:9px;font-size:10px;font-weight:500;line-height:1.8;flex:1;min-width:180px}
.domain-switches input[type=checkbox]{width:15px;height:15px;flex-shrink:0;margin:2px 0 0;accent-color:var(--primary)}
.domain-switches small{display:block;font-size:9px;font-weight:400;color:var(--muted);line-height:1.7;margin-top:3px}
.domain-form .form-bottom{border-top:1px solid var(--border);padding-top:19px;gap:14px;margin-top:3px}
.domain-form .form-bottom>.button{font-size:11px;padding:10px 16px}
.domain-form .form-bottom>.button:first-child{margin-right:auto}
.domain-form .form-feedback{font-size:11px;margin:0}
.delete-domain-summary{border:1px solid var(--border);background:var(--subtle);border-radius:11px;padding:17px;margin:20px 0;overflow-wrap:anywhere}
.delete-domain-summary strong{display:block;color:var(--text);font-size:13px;font-weight:600;line-height:1.6}
.delete-domain-summary p,.delete-domain-summary span{display:block;font-size:11px;line-height:1.8;color:var(--muted);margin:5px 0 0}
.catalog-health{padding-top:3px}
.catalog-health>p{font-size:11px;line-height:1.85}
.catalog-health-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--border);font-size:11px;color:var(--muted)}
.catalog-health-row:first-child{padding-top:4px}
.catalog-health-row:last-of-type{border-bottom:0}
.catalog-health-row>strong{font-size:15px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}
.catalog-health-row>.status-pill{margin-left:auto}
.catalog-stat-link{display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;font-size:11px;font-weight:550;padding:13px 0 0;color:var(--primary)}
.catalog-stat-link>.icon{width:15px;height:15px}
.catalog-stat-link:hover{text-decoration:underline}
.catalog-health>.button{margin-top:19px;width:100%;font-size:11px}
.directory-label{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-size:10px;line-height:1.7}
.directory-label>.icon{width:14px;height:14px}
.directory-search-hint{display:flex;align-items:center;justify-content:center;gap:7px;margin:17px 0 0;color:#999daf;font-size:10px;line-height:1.8}
.directory-search-hint>.icon{width:13px;height:13px;color:#a39bc7}
.featured-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:690px;margin:34px auto 0;text-align:left}
.featured-shortcut{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid var(--border);border-radius:12px;padding:13px 14px;background:var(--surface);color:var(--text);text-align:left;transition:transform .16s,box-shadow .16s}
.featured-shortcut:hover{transform:translateY(-2px);box-shadow:var(--shadow);text-decoration:none;border-color:#ddd7f5}
.featured-shortcut>.featured-site-icon{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:9px;background:var(--primary-soft);color:var(--primary);font-size:13px;font-weight:600;flex-shrink:0}
.featured-shortcut>div,.featured-shortcut>span:not(.featured-site-icon){display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.featured-shortcut strong{display:block;font-size:11px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:1.6}
.featured-shortcut small{display:block;font-size:9px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:1.6}
.featured-shortcut>.icon{width:12px;height:12px;flex-shrink:0;color:#b1b4c6;margin-left:auto}
.directory-empty-note{display:flex;align-items:center;justify-content:center;gap:9px;margin:32px auto 0;max-width:600px;padding:15px 18px;border:1px solid var(--border);border-radius:11px;background:var(--subtle);color:var(--muted);font-size:10px;line-height:1.85}
.directory-empty-note>.icon{width:15px;height:15px;flex-shrink:0;color:#a29ebd}
.directory-empty-note a,.directory-empty-note button{font-size:10px;color:var(--primary);font-weight:550;padding:0;white-space:nowrap}
.directory-result-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border);padding:6px 42px 16px 244px;min-width:0}
.directory-result-heading>span,.directory-result-heading>div{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}
.directory-result-heading .icon{width:16px;height:16px;color:var(--primary)}
.directory-result-heading strong{font-weight:550;color:var(--primary)}
.results-subline{font-size:10px;color:var(--muted);padding:16px 0 0;line-height:1.8}
@media(max-width:1200px){.catalog-table{min-width:760px}.catalog-table th,.catalog-table td{padding-left:18px;padding-right:18px}.domain-name-link,.domain-url{max-width:235px}.domain-description{max-width:240px}.keyword-list{max-width:210px}.directory-result-heading{padding-left:218px;padding-right:34px}}
@media(max-width:1000px){.catalog-toolbar{gap:15px}.catalog-summary{font-size:9px}.catalog-search{max-width:350px}.catalog-table{min-width:730px}.catalog-pagination{padding:16px 20px}.domain-name-link,.domain-url{max-width:220px}}
@media(max-width:760px){.catalog-toolbar{align-items:stretch;flex-direction:column;gap:12px;margin-bottom:18px}.catalog-search{max-width:none}.catalog-summary{font-size:10px;padding-left:2px}.catalog-pagination{gap:12px;padding:16px 20px;flex-wrap:wrap}.catalog-pagination>span,.catalog-pagination>p{font-size:9px}.catalog-pagination>div{gap:8px}.catalog-pagination .button{font-size:9px;padding:8px 10px}.directory-result-heading{padding:4px 24px 15px;gap:12px}.directory-result-heading>span,.directory-result-heading>div{font-size:10px}.featured-shortcuts{gap:10px}.featured-shortcut{padding:12px 11px;gap:8px}.featured-shortcut>.featured-site-icon{width:28px;height:28px;font-size:12px}.featured-shortcut strong{font-size:10px}.featured-shortcut small{font-size:8px}.featured-shortcut>.icon{width:10px;height:10px}.domain-dialog{padding:29px}.directory-empty-note{font-size:9px;flex-wrap:wrap}.directory-empty-note a,.directory-empty-note button{font-size:9px}}
@media(max-width:480px){.catalog-search{padding-left:11px;border-radius:9px}.catalog-search input{font-size:10px}.catalog-search button{font-size:9px;padding:8px 9px}.catalog-table{min-width:700px}.catalog-table th,.catalog-table td{padding-left:16px;padding-right:16px}.catalog-table td{padding-top:18px;padding-bottom:18px}.catalog-pagination{padding:15px 16px}.catalog-pagination>span,.catalog-pagination>p{width:100%;text-align:center}.catalog-pagination>div{width:100%;justify-content:space-between}.domain-dialog{padding:27px 22px;max-width:calc(100vw - 26px);border-radius:18px}.domain-dialog .dialog-header h2{font-size:22px}.domain-dialog .dialog-subtitle{font-size:10px;line-height:1.85;margin-bottom:21px}.domain-form{gap:17px}.domain-form .field-grid{grid-template-columns:1fr;gap:16px}.domain-form label:not(.checkbox-label){font-size:10px;gap:7px}.domain-form input:not([type=checkbox]),.domain-form textarea,.domain-form select{font-size:11px;padding:10px 11px}.domain-form .field-help,.domain-form label>small{font-size:8px}.domain-switches{padding:13px;gap:14px;flex-direction:column;align-items:stretch}.domain-switches>label,.domain-switches label.checkbox-label{min-width:0;font-size:10px}.domain-switches small{font-size:8px}.domain-form .form-bottom{flex-direction:row;flex-wrap:wrap;padding-top:16px}.domain-form .form-bottom>.button{font-size:10px;padding:10px 12px;width:auto;flex:1}.domain-form .form-bottom>.button:first-child{margin:0}.delete-domain-summary{padding:14px}.delete-domain-summary strong{font-size:12px}.delete-domain-summary p,.delete-domain-summary span{font-size:10px}.catalog-health-row{font-size:10px;padding:12px 0}.catalog-health-row>strong{font-size:14px}.catalog-stat-link{font-size:10px}.directory-search-hint{font-size:9px;margin-top:16px;gap:6px}.featured-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:28px}.featured-shortcut{padding:12px;gap:8px}.featured-shortcut>.featured-site-icon{width:28px;height:28px;border-radius:8px;font-size:12px}.featured-shortcut strong{font-size:10px}.featured-shortcut small{font-size:8px}.featured-shortcut>.icon{display:none}.directory-empty-note{margin-top:27px;padding:13px;font-size:9px;gap:6px}.directory-empty-note>.icon{width:13px;height:13px}.directory-result-heading{padding:3px 20px 15px;gap:10px;flex-wrap:wrap}.directory-result-heading>span,.directory-result-heading>div{font-size:9px;gap:6px}.directory-result-heading .icon{width:14px;height:14px}.directory-label{font-size:9px}.results-subline{font-size:9px;line-height:1.8}}
/* Directory integration */
.catalog-panel{padding:0;min-width:0;overflow:hidden}.catalog-panel>.catalog-toolbar{padding:24px;margin:0;border-bottom:1px solid var(--border)}.catalog-summary>span{margin:0 6px}.catalog-panel>.table-scroll{max-width:100%}.panel.catalog-health{padding-top:25px}.catalog-health>p{font-size:10px;margin:15px 0 0}.owner-empty-intro{max-width:none;justify-content:flex-start;text-align:left;margin:0 0 24px}.directory-empty-note>div{min-width:0}.directory-empty-note strong{font-weight:550;color:var(--text)}.directory-empty-note p{font-size:10px;line-height:1.8;margin:4px 0 6px}.directory-empty-note .text-link .icon{width:12px;height:12px}.directory-result-heading{padding-top:0;padding-bottom:0}.directory-result-heading+.results-layout{padding-top:21px}.directory-result-heading .result-tab{padding-top:9px}.button-danger{background:var(--danger);color:#fff}.button-danger:hover{filter:brightness(.93)}.domain-delete-dialog .form-bottom{margin-top:25px}.status-pill:hover{box-shadow:0 0 0 3px var(--soft)}.domain-form input[type=hidden]{display:none}
@media(max-width:760px){.catalog-panel>.catalog-toolbar{padding:20px;gap:13px}.owner-page-title:has([data-action="domain-add"]){flex-wrap:wrap}.owner-page-title>[data-action="domain-add"]{font-size:10px;gap:8px;margin-top:6px;padding:10px 13px}.directory-result-heading+.results-layout{padding-top:15px}.panel.catalog-health{padding-top:21px}}
@media(max-width:480px){.catalog-panel>.catalog-toolbar{padding:17px 16px}.owner-page-title>[data-action="domain-add"]{width:100%;font-size:11px;padding:11px 13px}.owner-sidebar{gap:10px}.owner-sidebar>nav{gap:2px}.owner-nav{padding:8px}.owner-sidebar>.brand .wordmark{font-size:18px}.owner-sidebar>.brand{gap:7px}.owner-sidebar>.brand .brand-symbol{width:25px;height:25px;font-size:22px}.directory-empty-note p{font-size:9px}.domain-delete-dialog .form-bottom{flex-direction:row}.domain-delete-dialog .form-bottom>.button{font-size:10px;width:auto;flex:1}.directory-result-heading+.results-layout{padding-top:13px}.directory-result-heading .result-tab{padding-top:13px}}

/* Keep catalog controls reachable without horizontal swiping on small screens. */
@media(max-width:600px){
.catalog-panel .table-scroll{overflow:visible}
.catalog-table{display:block;min-width:0!important;width:100%!important}
.catalog-table thead{display:none}
.catalog-table tbody{display:block;width:100%}
.catalog-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:22px 18px;border-bottom:1px solid var(--border)}
.catalog-table tbody tr:last-child{border-bottom:0}
.catalog-table td{display:block;width:auto!important;min-width:0!important;max-width:100%;padding:0!important;border:0!important;white-space:normal}
.catalog-table td:nth-child(1),.catalog-table td:nth-child(2),.catalog-table td:nth-child(5){grid-column:1/-1}
.catalog-table td:nth-child(2)::before{content:'Keyword';display:block;font-size:10px;color:var(--muted);margin-bottom:7px}
.catalog-table td:nth-child(4)::before{content:'Prioritas: ';font-size:11px;color:var(--muted)}
.catalog-table td:nth-child(5){display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border)!important;padding-top:10px!important}
.catalog-table td:nth-child(5)::before{content:'Kelola domain';font-size:11px;color:var(--muted)}
.catalog-table .keyword-list{max-width:none;flex-wrap:wrap}
.catalog-table .domain-name-link,.catalog-table .domain-url{overflow-wrap:anywhere;max-width:100%}
.catalog-table .row-actions .icon-button{width:38px;height:38px;background:var(--subtle)}
}

/* AksesLyx 1.2 — original-site metadata */
.site-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}
.site-icon img{display:block;width:22px;height:22px;max-width:100%;object-fit:contain;border-radius:4px}
.site-icon.has-site-icon .site-icon-fallback{display:none}
.site-icon.missing-image:before{content:none}
.site-icon.missing-image .site-icon-fallback{display:inline}
.site-icon .image-failed{display:none}
.site-icon.has-site-icon{background:var(--surface)}
.featured-shortcut>.site-icon.has-site-icon{background:var(--surface);border:1px solid var(--border)}
.domain-identity{display:flex;align-items:center;gap:10px;min-width:0}
.domain-identity>div{min-width:0}
.domain-site-icon{width:34px;height:34px;border-radius:9px;border:1px solid var(--border);background:var(--primary-soft);color:var(--primary);font-size:13px;font-weight:600}
.domain-identity .domain-name-link{line-height:1.5;max-width:245px}
.domain-identity .domain-url{font-size:9px;max-width:245px;margin-top:4px}
.metadata-badge{display:inline-flex;align-items:center;gap:4px;font-size:8px;font-weight:500;line-height:1.5;margin-top:9px;padding:3px 6px;border-radius:5px;background:var(--subtle);color:var(--muted)}
.metadata-badge>.icon{width:11px;height:11px;flex-shrink:0}
.metadata-ok{color:var(--success);background:color-mix(in srgb,var(--success) 8%,var(--surface))}
.metadata-partial,.metadata-failed{color:#ad7426;background:#fff6e8}
[data-theme=dark] .metadata-partial,[data-theme=dark] .metadata-failed{color:#e3bb81;background:#332c24}
.catalog-notice{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;margin:0 0 22px;border:1px solid color-mix(in srgb,var(--success) 22%,var(--border));border-radius:12px;background:color-mix(in srgb,var(--success) 5%,var(--surface));color:var(--success)}
.catalog-notice>.icon{width:18px;height:18px;margin-top:2px;flex-shrink:0}
.catalog-notice>div{min-width:0;flex:1}
.catalog-notice strong{font-size:12px;font-weight:600;line-height:1.7}
.catalog-notice p{font-size:11px;line-height:1.8;margin:4px 0 0;color:var(--muted);overflow-wrap:anywhere}
.catalog-notice>.icon-button{width:26px;height:26px;flex-shrink:0;color:var(--muted)}
.catalog-notice-warning{background:#fffaf1;border-color:#f0dfbf;color:#a3742d}
[data-theme=dark] .catalog-notice-warning{background:#26231f;border-color:#4e4232;color:#e3bb81}
.row-actions button.is-refreshing{color:var(--primary);background:var(--primary-soft);opacity:1}
.row-actions button.is-refreshing>.icon,.spin-icon{animation:metadata-spin 1s linear infinite}
@keyframes metadata-spin{to{transform:rotate(360deg)}}
.domain-dialog{width:620px}
.domain-dialog .dialog-subtitle{max-width:510px;line-height:1.8}
.domain-form{gap:20px}
.domain-form textarea[name=keywords]{min-height:94px}
.domain-options{border-top:1px solid var(--border);padding-top:17px}
.domain-options>summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:11px;font-weight:550;list-style:none}
.domain-options>summary::-webkit-details-marker{display:none}
.domain-options>summary>.icon{width:15px;height:15px;color:var(--primary)}
.domain-options>summary>.icon:last-child{margin-left:auto;width:13px;height:13px;color:var(--muted);transition:transform .15s}
.domain-options[open]>summary>.icon:last-child{transform:rotate(90deg)}
.domain-options>summary>span{font-size:9px;font-weight:400;color:var(--muted)}
.domain-options>.field-grid{margin-top:19px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.domain-options .domain-switches{padding:13px;gap:14px}
.domain-options .domain-switches>label{min-width:0}
.automatic-info-note{display:flex;align-items:flex-start;gap:11px;padding:15px 16px;border-radius:11px;background:var(--primary-soft);border:1px solid color-mix(in srgb,var(--primary) 12%,var(--border))}
.automatic-info-note>.icon{width:19px;height:19px;flex-shrink:0;color:var(--primary);margin-top:2px}
.automatic-info-note strong{font-size:11px;font-weight:600;color:var(--text)}
.automatic-info-note p{font-size:10px;line-height:1.85;color:var(--muted);margin:5px 0 0}
.metadata-preview{padding:17px 18px;background:var(--subtle);border:1px solid var(--border);border-radius:12px;min-width:0}
.metadata-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.metadata-preview-heading>span:first-child{font-size:8px;letter-spacing:1px;color:var(--muted)}
.metadata-preview-heading>.metadata-badge{margin:0;white-space:nowrap}
.metadata-preview-site{display:flex;align-items:center;gap:10px;min-width:0}
.preview-site-icon{width:37px;height:37px;border-radius:10px;border:1px solid var(--border);color:var(--primary);background:var(--primary-soft);font-size:16px;font-weight:600}
.metadata-preview-site>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.metadata-preview-site strong{font-size:12px;font-weight:600;line-height:1.7;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.metadata-preview-site>div>span{font-size:10px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.metadata-preview-description{font-size:11px;line-height:1.85;margin:12px 0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.metadata-preview-note{display:flex;align-items:flex-start;gap:7px;border-top:1px solid var(--border);padding-top:10px;font-size:9px;line-height:1.85;color:var(--muted)}
.metadata-preview-note>.icon{width:13px;height:13px;flex-shrink:0;margin-top:2px;color:var(--primary)}
.metadata-checked{display:block;font-size:8px;color:var(--muted);margin-top:8px;line-height:1.7}
.domain-form .form-bottom{margin-top:0;padding-top:16px}
.domain-form .metadata-save-help{font-size:9px;line-height:1.85;color:var(--muted);margin:-8px 0 0;text-align:center}
.domain-form[aria-busy=true] input,.domain-form[aria-busy=true] textarea{opacity:.7}
.domain-form[aria-busy=true] .form-feedback{padding:11px 13px;background:var(--primary-soft);color:var(--primary);border-radius:8px;font-size:10px;line-height:1.8}
@media(max-width:760px){.domain-identity .domain-name-link,.domain-identity .domain-url{max-width:230px}.catalog-notice{padding:14px 15px;gap:10px}.catalog-notice strong{font-size:11px}.catalog-notice p{font-size:10px}}
@media(max-width:600px){.catalog-table .domain-identity .domain-name-link,.catalog-table .domain-identity .domain-url{max-width:100%}.catalog-table .domain-identity{align-items:flex-start}.catalog-table .domain-description{max-width:100%}.catalog-table .metadata-badge{font-size:9px}.catalog-table .domain-site-icon{width:36px;height:36px}}
@media(max-width:480px){.domain-dialog{padding:27px 21px;max-width:calc(100vw - 24px)}.domain-dialog .dialog-subtitle{font-size:11px;margin-bottom:22px}.domain-form label:not(.checkbox-label){font-size:11px}.domain-form label>small{font-size:9px;line-height:1.8}.domain-form input:not([type=checkbox]),.domain-form textarea{font-size:12px}.domain-options>.field-grid{grid-template-columns:1fr}.domain-options>summary{font-size:11px}.metadata-preview{padding:14px}.metadata-preview-heading{flex-wrap:wrap;gap:7px}.metadata-preview-site strong{font-size:11px}.metadata-preview-description{font-size:10px}.metadata-preview-note{font-size:9px}.metadata-preview-heading>span:first-child{font-size:7px}.metadata-badge{font-size:8px}.automatic-info-note{padding:14px;gap:9px}.automatic-info-note p{font-size:10px}.domain-form .form-bottom{gap:9px}.domain-form .form-bottom>.button{font-size:10px;line-height:1.6;white-space:normal;padding:11px 12px}.domain-form .form-bottom>.button:first-child{flex:0 0 auto}.domain-form .form-bottom>.button:last-child{flex:1;min-width:0}.domain-form .metadata-save-help{font-size:9px}.source-icon img,.featured-site-icon img{width:20px;height:20px}.catalog-notice{gap:8px;padding:13px}.catalog-notice strong{font-size:10px}.catalog-notice p{font-size:10px}.catalog-notice>.icon{width:15px;height:15px}.catalog-notice>.icon-button{width:22px;height:22px}.catalog-notice>.icon-button>.icon{width:14px;height:14px}}
