:root{color-scheme:light;--bg: #fafafa;--surface: #ffffff;--surface-soft: #f4f4f5;--border: #e8e8ec;--border-strong: #d4d4d8;--text: #18181b;--text-2: #52525b;--text-3: #8a8a94;--brand: #0f6bff;--brand-strong: #0757d8;--brand-soft: #eaf2ff;--green: #15803d;--green-soft: #f0fdf4;--red: #dc2626;--red-soft: #fef2f2;--amber: #b45309;--amber-soft: #fffbeb;--blue: #0369a1;--blue-soft: #eff6ff;--radius: 8px;--shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(24, 24, 27, .05);--shadow-lg: 0 18px 64px rgba(24, 24, 27, .16);--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", Roboto, sans-serif;--mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;font-family:var(--font);background:var(--bg);color:var(--text);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden;background:linear-gradient(180deg,rgba(15,107,255,.04),transparent 260px),var(--bg);color:var(--text);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}.tokurl-app{min-height:100vh}.app-loading{width:min(360px,calc(100vw - 40px));margin:24vh auto 0;padding:24px}.auth-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(1080px,calc(100vw - 48px));min-height:64px;margin:0 auto}.auth-page{display:grid;min-height:calc(100vh - 64px);place-items:center;padding:32px 24px 72px}.auth-shell{display:grid;grid-template-columns:minmax(0,.9fr) minmax(360px,440px);align-items:center;gap:48px;width:min(900px,100%)}.auth-brand{display:grid;gap:18px}.auth-brand .logo-mark{width:52px;height:52px;border-radius:12px;font-size:24px}.auth-brand strong{display:block;color:var(--text);font-size:46px;font-weight:800;letter-spacing:0;line-height:1}.auth-brand p{max-width:380px;margin-top:12px;color:var(--text-2);font-size:16px}.auth-card{padding:28px}.auth-card .card-head h1{margin-top:4px;font-size:22px;font-weight:780;line-height:1.2}.auth-switch{width:100%;margin-bottom:20px}.auth-switch button{flex:1 1 0}.auth-hint{margin-top:16px;color:var(--text-3);font-size:12px}.guest-auth-actions{display:inline-flex;align-items:center;gap:8px}.nav{position:sticky;top:0;z-index:50;border-bottom:1px solid var(--border);background:#ffffffe0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.nav-inner{display:flex;align-items:center;gap:20px;width:min(1080px,calc(100vw - 48px));min-height:60px;margin:0 auto}.logo{display:inline-flex;align-items:center;flex:0 0 auto;gap:9px;padding:0;border:0;background:transparent;color:var(--text);cursor:pointer;text-decoration:none}.logo strong{font-size:17px;font-weight:750;letter-spacing:0}.logo-mark{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;background:var(--brand);color:#fff;font-weight:800}.nav-links{display:flex;flex:1 1 auto;gap:4px;min-width:0}.nav-links a,.nav-links button,.settings-nav button,.segmented button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;cursor:pointer;white-space:nowrap;transition:background .15s ease,color .15s ease,border-color .15s ease}.nav-links a,.nav-links button{min-height:34px;padding:6px 12px;border-radius:var(--radius);color:var(--text-2);font-weight:600;text-decoration:none}.nav-links a:hover,.nav-links button:hover{background:var(--surface-soft);color:var(--text)}.nav-links a.active,.nav-links button.active{background:var(--brand-soft);color:var(--brand)}.nav-right,.head-controls,.row-actions,.result-actions,.modal-actions,.toolbar{display:flex;align-items:center;gap:10px}.nav-right{flex:0 0 auto;justify-content:flex-end;gap:8px;min-width:0}.user-badge{display:inline-grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;max-width:250px;min-height:32px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text-2);padding:4px 8px;font-size:12px;font-weight:700}.user-badge>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-badge strong{border-radius:999px;background:var(--brand-soft);color:var(--brand);padding:1px 7px;font-size:11px;white-space:nowrap}.nav-user-badge{grid-template-columns:auto auto;max-width:none}.nav-user-badge .user-email{display:none}.status-badge,.pill{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:2px 9px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:12px;font-weight:700;white-space:nowrap}.status-badge.neutral,.pill.gray{background:var(--surface-soft);color:var(--text-3)}.pill.brand{background:var(--brand-soft);color:var(--brand)}.status-badge.danger{background:var(--red-soft);color:var(--red)}.nav-status{justify-content:center;width:32px;min-height:32px;padding:0;border-radius:var(--radius)}.nav-status-text{display:none}.pill.green{background:var(--green-soft);color:var(--green)}.page{width:min(1080px,calc(100vw - 48px));margin:0 auto;padding:36px 0 80px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.page-head h1{color:var(--text);font-weight:760;letter-spacing:0;line-height:1.14}.page-head h1{margin-top:5px;font-size:24px}.page-head p{max-width:640px;margin-top:6px;color:var(--text-2)}.eyebrow,.card-kicker,.field span,.kpi span,.setting-rows span{color:var(--text-3);font-size:12px;font-weight:700;letter-spacing:0}.create-page{padding-top:76px}.prototype-hero{text-align:center}.prototype-hero h1{max-width:760px;margin:0 auto;color:var(--text);font-size:40px;font-weight:800;letter-spacing:0;line-height:1.2;overflow-wrap:anywhere;text-wrap:balance}.prototype-hero h1 em{color:var(--brand);font-style:normal}.prototype-hero>p{margin-top:12px;color:var(--text-2);font-size:16px;text-wrap:balance}.shorten-box{width:min(680px,100%);margin:38px auto 0;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-lg);padding:24px}.url-row{display:flex;gap:10px}.url-input{flex:1 1 auto;min-width:0;height:48px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);outline:none;padding:0 16px;font-size:15px;transition:border-color .15s ease,box-shadow .15s ease}.url-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.url-row .btn{min-height:48px;border-radius:11px;padding-inline:26px;font-size:15px}.adv-toggle{display:inline-flex;align-items:center;gap:5px;margin-top:14px;border:0;background:transparent;color:var(--text-3);cursor:pointer;font-size:13px;font-weight:650}.adv-toggle:hover{color:var(--brand)}.advanced-fields{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin-top:18px;padding-top:18px;border-top:1px dashed var(--border);text-align:left}.advanced-fields.open{display:grid}.advanced-fields .wide{grid-column:1 / -1}.permission-note{display:flex;align-items:center;min-width:0;min-height:42px;gap:8px;border:1px solid var(--border);border-radius:9px;background:var(--surface-soft);color:var(--text-2);padding:10px 12px;font-size:12px;font-weight:650;line-height:1.4}.permission-note svg{flex:0 0 auto;color:var(--brand)}.permission-note span{min-width:0;overflow-wrap:anywhere}.slug-input{display:grid;grid-template-columns:auto minmax(0,1fr)}.slug-prefix{display:inline-flex;align-items:center;min-height:42px;border:1px solid var(--border);border-right:0;border-radius:9px 0 0 9px;background:var(--surface-soft);color:var(--text-3);padding:0 12px;font-family:var(--mono);font-size:13px}.slug-input input{border-radius:0 9px 9px 0}.prototype-result{display:none;width:min(680px,100%);margin:20px auto 0}.prototype-result.show{display:block;animation:pop .24s ease}.link-examples{width:100%;margin:36px auto 0}.examples-head{display:flex;align-items:baseline;justify-content:flex-start;gap:10px;margin-bottom:14px}.examples-head span{color:var(--brand);font-size:12px;font-weight:760}.examples-head strong{color:var(--text-2);font-size:13px;font-weight:700}.examples-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.example-card{min-width:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow);padding:16px;text-align:left}.example-card-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.example-icon{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:10px;background:var(--brand-soft);color:var(--brand)}.example-card h3{min-width:0;margin:0;color:var(--text);font-size:14px;font-weight:760;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.example-flow{display:grid;grid-template-columns:1fr;align-items:start;gap:9px}.example-flow>div{min-width:0;max-width:100%}.example-flow span{display:block;margin-bottom:4px;color:var(--text-3);font-size:11px;font-weight:720}.example-flow p{width:100%;margin:0;overflow:hidden;color:var(--text-2);font-family:var(--mono);font-size:12px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.example-flow .example-short{color:var(--brand);font-weight:760}.example-arrow{display:grid;width:26px;height:26px;place-items:center;border-radius:999px;background:var(--surface-soft);color:var(--text-3)}.example-arrow svg{transform:rotate(90deg)}@keyframes pop{0%{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}.feature-card,.kpi,.card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.kpi strong{display:block;color:var(--text);font-size:26px;font-weight:780;line-height:1.18;overflow-wrap:anywhere}.result-card{display:flex;align-items:center;gap:20px;border-radius:16px;padding:20px 24px}.link-share-card{min-width:0}.qr-box{flex:0 0 auto;display:grid;width:118px;height:118px;place-items:center;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 10px 26px #11182714}.qr-code-svg{display:block;width:96px;height:96px}.result-main{flex:1 1 auto;min-width:0;text-align:left}.short-link{display:block;overflow:hidden;color:var(--brand);font-family:var(--mono);font-size:18px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.long-link{overflow:hidden;margin-top:3px;color:var(--text-3);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.result-title{overflow:hidden;margin-top:5px;color:var(--text);font-size:14px;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.result-main .result-actions{margin-top:10px;flex-wrap:wrap}.btn.compact{min-height:31px;border-radius:7px;padding:5px 12px;font-size:13px}.result-placeholder{display:none}.features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%;margin:46px auto 0}.feature-card{min-height:166px;padding:22px;text-align:left}.feature-icon{display:grid;width:38px;height:38px;place-items:center;margin-bottom:12px;border-radius:10px;background:var(--brand-soft);color:var(--brand)}.feature-card h3{margin:0;font-size:15px;font-weight:760}.feature-card p{margin-top:5px;color:var(--text-2);font-size:13px;text-wrap:pretty}.home-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin:42px auto 0;border-top:1px solid var(--border);padding-top:18px;color:var(--text-3);font-size:12px}.home-footer a{display:inline-flex;align-items:center;gap:6px;color:var(--text-2);font-weight:700;white-space:nowrap;transition:color .15s ease}.home-footer a:hover{color:var(--brand)}.card{min-width:0}.create-card,.chart-card,.rank-card,.recent-card,.settings-card,.table-card{padding:24px}.card-head,.modal-head,.panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.card-head h2,.modal-head h2,.panel-title h2{margin-top:3px;font-size:17px;font-weight:750;letter-spacing:0;line-height:1.25;overflow-wrap:anywhere}.card-head>svg,.panel-title>svg{color:var(--brand)}.field{display:grid;gap:7px;min-width:0}.field input,.field textarea,.field select,.search-field input,.head-controls select{width:100%;min-width:0;border:1px solid var(--border);border-radius:var(--radius);outline:none;background:var(--surface);color:var(--text);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.field input,.field select,.search-field input,.head-controls select{height:42px}.field input,.field textarea,.field select,.head-controls select{padding:0 13px}.field textarea{min-height:86px;padding-top:10px;padding-bottom:10px;line-height:1.55;resize:vertical}.search-field input{height:40px;padding:0 12px 0 36px}.field input:focus,.field textarea:focus,.field select:focus,.search-field input:focus,.head-controls select:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.field input::placeholder,.field textarea::placeholder,.search-field input::placeholder{color:var(--text-3)}.field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--text-3) 50%),linear-gradient(135deg,var(--text-3) 50%,transparent 50%);background-position:calc(100% - 16px) 17px,calc(100% - 11px) 17px;background-repeat:no-repeat;background-size:5px 5px,5px 5px}.block-field{margin-bottom:18px}.advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.advanced-grid .permission-note{grid-column:1 / -1}.btn,.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:var(--radius);border:1px solid transparent;background:transparent;cursor:pointer;font-weight:720;white-space:nowrap;transition:transform .12s ease,background .15s ease,border-color .15s ease,color .15s ease,opacity .15s ease}.btn{min-height:40px;padding:8px 16px}.btn.primary{background:var(--brand);color:#fff}.btn.primary:hover{background:var(--brand-strong)}.btn.danger{border-color:var(--red);background:var(--red);color:#fff}.btn.danger:hover{border-color:#b91c1c;background:#b91c1c}.btn.ghost,.icon-btn{border-color:var(--border);background:var(--surface);color:var(--text)}.btn.ghost:hover,.icon-btn:hover{border-color:var(--border-strong);background:var(--surface-soft)}.btn.full{width:100%;margin-top:20px}.btn:disabled,.icon-btn:disabled{cursor:not-allowed;opacity:.58}.btn:active,.icon-btn:active{transform:translateY(1px)}.icon-btn{min-width:34px;height:34px;padding:0 9px}.icon-btn.danger{color:var(--red)}.form-error{margin-top:12px;border-radius:var(--radius);background:var(--red-soft);color:var(--red);padding:10px 12px;font-size:13px;font-weight:700}.result-actions{margin-top:18px}.empty-state{display:flex;align-items:center;justify-content:center;gap:8px;min-height:120px;border-radius:var(--radius);color:var(--text-3);font-weight:650;text-align:center}.empty-state.compact{min-height:84px}.empty-state.error-state{color:var(--red)}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.kpi{padding:18px 20px}.kpi strong{margin-top:5px}.toolbar{justify-content:space-between;margin-bottom:18px}.search-field{position:relative;flex:1 1 420px;max-width:480px}.search-field svg{position:absolute;top:12px;left:12px;color:var(--text-3)}.segmented{display:inline-flex;align-items:center;gap:3px;min-height:40px;padding:3px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-soft)}.segmented button{min-height:32px;min-width:0;padding:6px 12px;border-radius:7px;color:var(--text-2);font-weight:700}.segmented button.active{background:var(--surface);color:var(--brand);box-shadow:0 1px 3px #18181b14}.table-wrap{width:100%;overflow-x:auto}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;border-top:1px solid var(--border);padding-top:16px;color:var(--text-3);font-size:13px;font-weight:700}.pagination-controls{display:flex;align-items:center;gap:6px}.page-btn,.pagination-ellipsis{display:inline-grid;min-width:34px;height:34px;place-items:center;border-radius:var(--radius);font-size:13px;font-weight:760}.page-btn{border:1px solid var(--border);background:var(--surface);color:var(--text-2);cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .12s ease}.page-btn:hover{border-color:var(--border-strong);background:var(--surface-soft);color:var(--text)}.page-btn.active{border-color:var(--brand);background:var(--brand);color:#fff}.page-btn:active{transform:translateY(1px)}.pagination-ellipsis{color:var(--text-3)}table{width:100%;min-width:860px;border-collapse:collapse}.links-table{min-width:980px;table-layout:fixed}.links-table th:nth-child(1),.links-table td:nth-child(1){width:94px}.links-table th:nth-child(2),.links-table td:nth-child(2){width:210px}.links-table th:nth-child(4),.links-table td:nth-child(4){width:72px}.links-table th:nth-child(5),.links-table td:nth-child(5),.links-table th:nth-child(6),.links-table td:nth-child(6){width:108px}.links-table th:nth-child(7),.links-table td:nth-child(7){width:186px}th{padding:12px 14px;border-bottom:1px solid var(--border);color:var(--text-3);font-size:12px;font-weight:760;text-align:left;white-space:nowrap}td{padding:14px;border-bottom:1px solid var(--border);vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover,tbody tr.selected-row{background:#f8fbff}.link-cell{display:grid;width:100%;max-width:100%;min-width:0;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.link-cell strong{display:block;overflow:hidden;font-family:var(--mono);color:var(--brand);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.link-cell span,.destination-cell span{display:block;max-width:100%;min-width:0;overflow:hidden;color:var(--text-3);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.destination-cell{max-width:none;min-width:0}.destination-cell strong{display:block;overflow:hidden;color:var(--text);font-weight:680;text-overflow:ellipsis;white-space:nowrap}.number-cell{color:var(--text);font-family:var(--mono);font-weight:760}.head-controls{flex-wrap:wrap;justify-content:flex-end}.head-controls select{min-width:180px;padding-right:44px;appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--text-2) 50%),linear-gradient(135deg,var(--text-2) 50%,transparent 50%);background-position:calc(100% - 25px) 17px,calc(100% - 20px) 17px;background-repeat:no-repeat;background-size:5px 5px,5px 5px}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:18px}.chart-card{grid-row:span 2}.bar-chart{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(42px,1fr);align-items:end;gap:10px;min-height:280px;overflow-x:auto;padding-top:14px}.bar-chart.compact-bars{grid-auto-columns:72px;justify-content:center}.bar-column{display:grid;grid-template-rows:1fr auto auto;align-items:end;gap:6px;min-height:260px;color:var(--text-3);font-size:12px;text-align:center}.bar-column div{justify-self:center;width:100%;max-width:72px;min-height:6px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,var(--brand),#38bdf8)}.bar-column strong{color:var(--text);font-family:var(--mono);font-size:12px}.rank-list{display:grid;gap:13px}.rank-row{display:grid;grid-template-columns:minmax(80px,1fr) minmax(100px,1.4fr) auto;align-items:center;gap:10px}.rank-row span{overflow:hidden;color:var(--text-2);text-overflow:ellipsis;white-space:nowrap}.rank-row div{height:8px;overflow:hidden;border-radius:999px;background:var(--surface-soft)}.rank-row i{display:block;height:100%;border-radius:inherit;background:var(--brand)}.rank-row strong{font-family:var(--mono);font-variant-numeric:tabular-nums}.recent-list{display:grid;gap:10px;max-height:300px;overflow-y:auto}.recent-list div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:2px 12px;padding-bottom:10px;border-bottom:1px solid var(--border)}.recent-list div:last-child{border-bottom:0;padding-bottom:0}.recent-list span{grid-row:span 2;color:var(--text-3);font-size:12px}.recent-list strong,.recent-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-list strong{color:var(--text);font-weight:700}.recent-list small{color:var(--text-3)}.settings-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.users-panel{display:grid}.users-table-card{min-width:0;padding:22px 24px 20px}.users-table-toolbar{align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.users-table-toolbar .search-field{max-width:520px}.users-table-toolbar .btn{flex:0 0 auto}.user-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.users-table-note{margin:0;color:var(--text-2);font-size:13px;font-weight:700}.users-table{min-width:960px;table-layout:fixed}.users-table th:nth-child(1),.users-table td:nth-child(1){width:38%}.users-table th:nth-child(2),.users-table td:nth-child(2){width:14%}.users-table th:nth-child(3),.users-table td:nth-child(3){width:11%}.users-table th:nth-child(4),.users-table td:nth-child(4),.users-table th:nth-child(5),.users-table td:nth-child(5){width:13%}.users-table th:nth-child(6),.users-table td:nth-child(6){width:11%}.users-table.with-selection th:nth-child(1),.users-table.with-selection td:nth-child(1){width:56px}.users-table.with-selection th:nth-child(2),.users-table.with-selection td:nth-child(2){width:31%}.users-table.with-selection th:nth-child(3),.users-table.with-selection td:nth-child(3){width:13%}.users-table.with-selection th:nth-child(4),.users-table.with-selection td:nth-child(4){width:10%}.users-table.with-selection th:nth-child(5),.users-table.with-selection td:nth-child(5),.users-table.with-selection th:nth-child(6),.users-table.with-selection td:nth-child(6){width:12%}.users-table.with-selection th:nth-child(7),.users-table.with-selection td:nth-child(7){width:16%}.users-table th:last-child,.users-table td:last-child{text-align:right}.select-col{text-align:center}.selection-checkbox{display:inline-flex;align-items:center;justify-content:center;min-height:28px}.selection-checkbox input{width:18px;height:18px;margin:0;accent-color:var(--brand);cursor:pointer}.selection-checkbox span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.current-user-note{display:inline-flex;max-width:100%;color:var(--text-3);font-size:12px;font-weight:700;white-space:nowrap}.user-cell{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:12px;min-width:0}.user-avatar{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:var(--brand-soft);color:var(--brand);font-size:14px;font-weight:800}.user-identity{display:grid;gap:3px;min-width:0}.user-identity strong,.user-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-identity strong{color:var(--text);font-weight:760}.user-identity small{color:var(--text-3);font-size:12px}.modal.user-create-modal,.modal.user-edit-modal{width:min(480px,100%)}.user-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.delete-users-list{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}.delete-users-list span{max-width:100%;overflow:hidden;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--text-2);padding:7px 10px;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:760}.user-edit-summary{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-soft);padding:12px}.user-edit-summary .user-avatar{width:40px;height:40px}.user-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-nav{display:grid;align-content:start;gap:6px}.settings-nav button{justify-content:flex-start;min-height:40px;padding:9px 12px;border-radius:var(--radius);color:var(--text-2);font-weight:700}.settings-nav button:hover,.settings-nav button.active{background:var(--brand-soft);color:var(--brand)}.settings-panel{display:grid;gap:20px}.site-settings-form{display:grid;gap:2px}.analytics-code-field textarea{min-height:156px;font-family:var(--mono);font-size:12px;line-height:1.55}.analytics-code-field small{margin-top:-8px;color:var(--text-3);font-size:12px;font-weight:650;line-height:1.5}.settings-actions{display:flex;justify-content:flex-end;border-top:1px solid var(--border);padding-top:18px}.setting-rows{display:grid;border:1px solid var(--border);border-radius:var(--radius)}.setting-rows div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;padding:14px 16px;border-bottom:1px solid var(--border)}.setting-rows div:last-child{border-bottom:0}.setting-rows strong{min-width:0;overflow-wrap:anywhere;font-family:var(--mono);font-size:13px}.endpoint-list{display:flex;flex-wrap:wrap;gap:8px}.endpoint-list code{border-radius:999px;background:var(--blue-soft);color:var(--blue);padding:5px 10px;font-family:var(--mono);font-size:12px;font-weight:700}.code-block{overflow:auto;margin:0;border:1px solid #27272a;border-radius:var(--radius);background:#18181b;color:#f4f4f5;padding:16px;font-family:var(--mono);font-size:12px;line-height:1.7}.modal-mask{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;background:#18181b6b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:min(520px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-lg);padding:24px}.auth-modal{width:min(440px,calc(100vw - 32px))}.auth-modal-head{align-items:flex-start;margin-bottom:20px}.auth-modal-head h2{margin-top:3px;font-size:22px;line-height:1.18}.auth-modal-head p:not(.card-kicker){margin-top:8px;color:var(--text-2);font-size:13px;line-height:1.55}.link-edit-modal{width:min(840px,100%)}.delete-confirm-modal{width:min(460px,100%)}.delete-confirm-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px}.delete-confirm-hero h2{margin-top:3px;color:var(--text);font-size:21px;font-weight:780;line-height:1.2}.delete-confirm-icon{display:grid;width:44px;height:44px;place-items:center;border:1px solid #fecaca;border-radius:12px;background:var(--red-soft);color:var(--red)}.delete-confirm-copy{margin-top:18px;color:var(--text-2);line-height:1.7}.delete-confirm-summary{display:grid;gap:10px;margin-top:18px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-soft);padding:14px}.delete-confirm-summary div{display:grid;gap:3px;min-width:0}.delete-confirm-summary span{color:var(--text-3);font-size:12px;font-weight:700}.delete-confirm-summary strong{min-width:0;overflow:hidden;color:var(--text);font-size:13px;font-weight:720;line-height:1.5;overflow-wrap:anywhere}.modal-body-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}.modal-share-panel{min-width:0;border:1px solid var(--border);border-radius:14px;background:var(--surface-soft);padding:18px}.modal-share-panel .link-share-card{display:grid;gap:14px;padding:0}.modal-share-panel .qr-box{width:138px;height:138px;margin:0 auto}.modal-share-panel .qr-code-svg{width:112px;height:112px}.modal-share-panel .result-main{text-align:center}.modal-share-panel .short-link{overflow:visible;font-size:16px;line-height:1.35;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.modal-share-panel .long-link{display:-webkit-box;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.modal-share-panel .result-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:14px}.modal-share-panel .result-actions .btn{width:100%;justify-content:flex-start}.modal-form-panel{min-width:0}.switch-line{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:var(--text-2);font-weight:700}.switch-line input{width:16px;height:16px;accent-color:var(--brand)}.modal-actions{justify-content:flex-end;margin-top:22px}.toast{position:fixed;bottom:30px;left:50%;z-index:200;transform:translate(-50%) translateY(18px);border-radius:10px;background:var(--text);color:#fff;padding:10px 18px;font-size:13px;font-weight:700;opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}.toast.show{transform:translate(-50%) translateY(0);opacity:1}.spin{animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media(max-width:920px){.modal-mask{align-items:flex-start;overflow:auto}.link-edit-modal{width:min(640px,calc(100vw - 48px))}.nav-inner{flex-wrap:wrap;gap:10px 16px;padding:12px 0}.nav-links{order:3;width:100%;overflow-x:auto}.analytics-grid,.modal-body-grid,.settings-grid{grid-template-columns:1fr}.features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-nav{display:flex;overflow-x:auto}}@media(max-width:720px){.modal-mask{padding:16px}.modal,.link-edit-modal{width:min(100%,calc(100vw - 32px))}.modal-share-panel{padding:14px}.page{width:calc(100vw - 40px);max-width:1080px}.nav-inner{width:calc(100% - 28px);max-width:1080px}.auth-topbar{width:calc(100% - 32px)}.auth-page{min-height:calc(100vh - 64px);padding:18px 20px 56px}.auth-shell{grid-template-columns:1fr;gap:24px;width:100%}.auth-brand{justify-items:center;text-align:center}.auth-brand strong{font-size:34px}.auth-brand p{max-width:320px;font-size:14px}.auth-card{padding:22px}.page{padding-top:24px}.page-head,.toolbar{align-items:stretch;flex-direction:column}.page-head>.btn,.toolbar .segmented{width:320px;max-width:100%}.toolbar .segmented{justify-content:stretch}.toolbar .segmented button{flex:1 1 0;padding-inline:8px}.head-controls,.result-actions{justify-content:flex-start}.create-page{padding-top:44px;width:350px;max-width:calc(100vw - 40px);margin-right:20px;margin-left:20px}.prototype-hero h1{max-width:calc(100vw - 56px);font-size:29px;line-height:1.18}.prototype-hero h1 em{display:block}.prototype-hero>p{max-width:330px;margin-right:auto;margin-left:auto;font-size:15px;overflow-wrap:anywhere}.shorten-box{width:100%;max-width:100%;margin-top:28px;padding:18px}.shorten-box *,.link-examples *,.features-grid *,.prototype-result *{min-width:0}.url-input{height:46px;padding-inline:12px;font-size:14px}.url-row,.result-card{flex-direction:column;align-items:stretch}.url-row .btn{width:100%}.advanced-fields,.examples-grid,.features-grid{grid-template-columns:1fr;width:100%;max-width:100%}.link-examples{margin-top:30px}.examples-head{align-items:flex-start;flex-direction:column;gap:4px;margin-bottom:12px}.example-flow{grid-template-columns:1fr;gap:10px}.example-arrow{width:32px;height:32px}.features-grid{margin-top:48px}.home-footer{align-items:flex-start;flex-direction:column;margin-top:36px}.advanced-fields .wide{grid-column:auto}.qr-box{width:108px;height:108px}.qr-code-svg{width:88px;height:88px}.result-main,.feature-card{text-align:left}.feature-card{min-height:0;padding:20px 22px}.feature-card p{overflow-wrap:anywhere}.kpi-grid,.advanced-grid{grid-template-columns:1fr}.create-card,.result-card,.chart-card,.rank-card,.recent-card,.settings-card,.table-card,.modal{padding:18px}.modal-share-panel .link-share-card{padding:0}.search-field{flex:none;max-width:none}.users-table-toolbar .search-field,.users-table-toolbar .btn{width:100%}.table-wrap{overflow-x:hidden}.pagination-bar{align-items:stretch;flex-direction:column}.pagination-controls{justify-content:space-between;overflow-x:auto;padding-bottom:2px}table{display:block;width:100%;min-width:0}.links-table{min-width:0;table-layout:auto}.users-table{min-width:0}tbody{width:100%}thead{display:none}tbody,tr,td{display:block;width:100%}tbody tr{margin-bottom:14px;border:1px solid var(--border);border-radius:var(--radius);padding:12px}tbody tr:last-child{margin-bottom:0}td{border-bottom:0;padding:6px 0}td[data-label]{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:start;gap:8px}td[data-label]:before{content:attr(data-label);color:var(--text-3);font-size:12px;font-weight:750}td[data-label]>*{min-width:0}td.user-cell-wrap[data-label]{grid-template-columns:78px minmax(0,1fr);align-items:start}td.user-cell-wrap[data-label] .user-cell{grid-template-columns:minmax(0,1fr)}td.user-cell-wrap[data-label] .user-avatar{display:none}.users-table td:last-child{text-align:left}td.actions-cell{grid-template-columns:78px minmax(0,1fr);align-items:center}td.actions-cell:before{margin-bottom:0}.link-cell,.destination-cell{max-width:none}.links-table th,.links-table td{width:100%}.users-table th:nth-child(n),.users-table td:nth-child(n){width:100%}.row-actions{justify-content:flex-start;padding-top:4px}.user-actions{align-items:stretch;flex-direction:column;padding-top:6px;width:100%}.user-actions .btn{width:100%}.user-edit-grid{grid-template-columns:1fr}.setting-rows div{grid-template-columns:1fr;gap:4px}.nav-right .status-badge{display:none}}@media(max-width:420px){body{font-size:13px}.page{width:calc(100vw - 40px);max-width:350px}.nav-right{gap:6px}.nav-links a,.nav-links button{padding-inline:10px}.icon-btn span{display:none}.recent-list div{grid-template-columns:1fr}}
