:root{--_brclio-ds:"brclio-v1";--blue:#2b7fd8;--yellow:#f4d758;--red:#e84a5f;--cream:#fefcf6;--ink:#1a1a2e;--background:var(--cream);--surface:#fffefb;--surface-muted:#faf6eb;--text:var(--ink);--muted:#716d60;--muted-strong:#514e45;--border:#e4dfd2;--border-strong:#c6bfae;--accent:#246fbe;--accent-strong:#1b5796;--accent-soft:#eaf2fb;--focus:rgba(43,127,216,0.2);--danger:#b52c43;--danger-soft:#fff0f1;--success:var(--accent-strong);--success-soft:var(--accent-soft);--font-sans:"Noto Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;--font-serif:"Noto Serif SC","Songti SC","STSong","SimSun",Georgia,serif;--content-width:1280px}*,:after,:before{box-sizing:border-box}html{min-width:320px;background:var(--background);color:var(--text);scroll-padding-top:84px}body{margin:0;font-family:var(--font-sans);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}::selection{background:var(--yellow);color:var(--ink)}button,input,select{font:inherit}a,button,input,select{-webkit-tap-highlight-color:rgba(43,127,216,.12)}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed}:where(button,a,input,select):focus-visible{outline:2px solid var(--blue);outline-offset:3px}a{color:var(--accent-strong);text-underline-offset:4px}h1,h2,p{margin:0}h1,h2{font-family:var(--font-serif);font-weight:700;color:var(--ink);line-height:1.4}h1{font-size:clamp(1.12rem,1.35vw,1.2rem)}h2{font-size:clamp(1.08rem,1.3vw,1.18rem)}.page-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:var(--background)}.app-header{position:-webkit-sticky;position:sticky;top:0;z-index:100;border-bottom:1px solid var(--border);background:var(--cream)}.app-footer,.app-header-inner,.workspace{width:min(var(--content-width),calc(100% - clamp(32px, 5vw, 80px)));margin-inline:auto}.app-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:12px}.brand-lockup{min-width:0;display:flex;align-items:center;gap:12px}.brand-mark{width:44px;height:44px;flex:0 0 auto;display:inline-grid;place-items:center}.brand-mark img{display:block;width:44px;height:44px;object-fit:contain}.brand-lockup strong{display:block;font-family:var(--font-serif);font-size:1.08rem;font-weight:700;line-height:1.35;letter-spacing:-.02em}.brand-lockup div>span:not(.brand-eyebrow){display:block;margin-top:2px;color:var(--muted);font-size:.73rem;line-height:1.4}.brand-eyebrow{display:block;margin-bottom:3px;color:var(--accent-strong);font-size:.59rem;font-weight:700;line-height:1.2;letter-spacing:.14em;text-transform:uppercase}.header-status{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;min-height:32px;padding:5px 11px;border:1px solid var(--border);border-radius:6px;color:var(--muted-strong);background:var(--surface);font-size:.73rem;line-height:1.4}.header-status>span{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--blue);box-shadow:0 0 0 3px #f8edb8}.tool-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;grid-gap:0;gap:0;border-bottom:1px solid var(--border);border-radius:9px 9px 0 0;background:var(--surface-muted)}.tool-tabs button{position:relative;min-width:0;min-height:55px;padding:10px 5px;border:0;border-radius:0;background:transparent;color:var(--muted-strong);font-size:.76rem;font-weight:600;line-height:1.45;transition:color .15s ease,background-color .15s ease}.tool-tabs button:first-child{border-top-left-radius:9px}.tool-tabs button:last-child{border-top-right-radius:9px}.tool-tabs button.active{background:var(--surface);color:var(--accent-strong);font-weight:700}.tool-tabs button.active:after{content:"";position:absolute;right:16px;bottom:-1px;left:16px;height:3px;border-radius:3px;background:var(--blue);pointer-events:none}.tool-tabs button:hover:not(.active){background:#f4efdf;color:var(--ink)}.tool-tabs button:active{background:var(--accent-soft)}.tool-tabs button:focus-visible{z-index:1;outline-offset:-4px}.tool-form{display:flex;flex-direction:column;gap:20px;padding:clamp(20px,2vw,26px)}.form-title{display:grid;grid-gap:8px;gap:8px;padding-bottom:2px}.panel-eyebrow{display:block;margin-bottom:2px;color:var(--accent-strong);font-size:.61rem;font-weight:700;line-height:1.4;letter-spacing:.12em;text-transform:uppercase}.form-title p,.panel-heading p{color:var(--muted);font-size:.8rem;line-height:1.75;overflow-wrap:anywhere}.duration-row,.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;grid-gap:14px;gap:14px}.field{min-width:0;display:flex;flex-direction:column;gap:7px}.field>span{color:var(--muted-strong);font-size:.77rem;font-weight:600;line-height:1.5}.field input,.field select,.history-export-select,.history-toolbar input{min-width:0;min-height:44px;border:1px solid #d8d2c2;border-radius:6px;background:var(--surface);color:var(--text);padding:9px 11px;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.field input,.field select{width:100%;font-size:.86rem;line-height:1.5}.field input::placeholder,.history-toolbar input::placeholder{color:#777061;opacity:1}.field input:hover:not(:disabled),.field select:hover:not(:disabled),.history-export-select:hover,.history-toolbar input:hover{border-color:var(--border-strong)}.field input:focus,.field select:focus,.history-export-select:focus,.history-toolbar input:focus{border-color:var(--blue);background:var(--surface);box-shadow:0 0 0 3px var(--focus)}.field input:disabled,.field select:disabled{color:var(--muted);background:var(--surface-muted);cursor:not-allowed}.field input[type=datetime-local]{min-width:0;max-width:100%;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.field input::-webkit-calendar-picker-indicator{padding:4px;cursor:pointer}.password-field{min-width:0;display:grid;grid-gap:5px;gap:5px}.password-cache-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;min-height:44px}.password-cache-row label{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--muted);font-size:.73rem;cursor:pointer}.password-cache-row input{width:16px;height:16px;margin:0;accent-color:var(--blue);cursor:pointer}.password-cache-row button{min-height:44px;border:0;border-radius:4px;background:transparent;color:var(--accent-strong);padding:3px 5px;font-size:.71rem;text-decoration:underline;text-underline-offset:3px}.password-cache-row button:hover{background:#fcf2c8}.expiry-block{display:grid;grid-gap:15px;gap:15px}.segmented{display:inline-flex;align-self:start;width:-moz-fit-content;width:fit-content;max-width:100%;padding:4px;gap:4px;border:1px solid var(--border);border-radius:7px;background:var(--surface-muted)}.segmented button{min-height:44px;min-width:82px;padding:6px 12px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--muted-strong);font-size:.77rem;font-weight:500;line-height:1.4;transition:background-color .15s ease,color .15s ease}.segmented button:hover:not(.active){background:#f1ebdc}.segmented button.active{border-color:#d4e3f4;background:var(--surface);color:var(--accent-strong);font-weight:700}.segmented button:active{background:var(--accent-soft)}.icon-link,.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid transparent;border-radius:6px;padding:9px 13px;font-size:.8rem;font-weight:600;line-height:1.5;text-decoration:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.primary-button{width:100%;min-height:46px;border-color:var(--accent);background:var(--accent);color:var(--cream);font-size:.9rem;font-weight:700}.primary-button:hover:not(:disabled){border-color:var(--accent-strong);background:var(--accent-strong)}.primary-button:active:not(:disabled){background:#17497e}.primary-button.danger-primary{border-color:var(--danger);background:var(--danger)}.primary-button.danger-primary:hover:not(:disabled){border-color:#932139;background:#932139}.primary-button.danger-primary:active:not(:disabled){background:#7e1d30}.icon-link,.secondary-button{border-color:var(--border);background:var(--surface);color:var(--accent-strong)}.icon-link:hover,.secondary-button:hover:not(:disabled){border-color:#b7cde6;background:var(--accent-soft)}.icon-link:active,.secondary-button:active:not(:disabled){background:#dbeafa}.secondary-button.compact{min-height:44px;padding:5px 9px;font-size:.73rem}.secondary-button.danger-button{color:var(--danger)}.secondary-button.danger-button:hover:not(:disabled){border-color:#edbdc5;background:var(--danger-soft)}.primary-button:disabled,.secondary-button:disabled{border-color:var(--border);background:#f0ede5;color:#8a8476}.primary-button.danger-primary:disabled,.secondary-button.danger-button:disabled{color:#9f7b80;background:#f6eeeb}.message{padding:10px 12px;border:1px solid transparent;border-radius:6px;font-size:.79rem;font-weight:500;line-height:1.65;overflow-wrap:anywhere}.message.error{border-color:#f2d6d9;background:var(--danger-soft);color:var(--danger)}.message.success{border-color:#d6e5f6;background:var(--success-soft);color:var(--success)}.status-card{display:grid;grid-gap:16px;gap:16px;border-top:1px solid var(--border);padding-top:19px}.status-card-header,.status-card-header>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.status-card-header strong{min-width:0;color:var(--text);font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}.cloud-state,.link-title-row b,.status-pill{display:inline-flex;align-items:center;width:-moz-fit-content;width:fit-content;max-width:100%;padding:3px 7px;border-radius:4px;font-size:.66rem;font-weight:600;line-height:1.5}.cloud-state.configured,.status-pill.active{background:var(--accent-soft);color:var(--accent-strong)}.link-title-row b,.status-pill.expired{background:#fcf1ba;color:#765d14}.cloud-state.error,.link-title-row b.danger,.status-pill.invalidated{background:var(--danger-soft);color:var(--danger)}.status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.status-grid>div{display:grid;align-content:start;grid-gap:5px;gap:5px;min-width:0}.status-grid span{color:var(--muted);font-size:.68rem}.status-grid strong{color:var(--text);font-size:.77rem;font-weight:500;line-height:1.6;overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.status-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.cloud-state{background:#ede7d8;color:var(--muted-strong)}.empty-state{display:grid;align-content:center;justify-items:center;grid-gap:9px;gap:9px;min-height:280px;padding:35px 24px;color:var(--muted);text-align:center}.empty-state-mark{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;margin-bottom:6px;border-radius:11px;background:var(--yellow);color:var(--accent-strong);transform:rotate(-5deg)}.empty-state-mark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.empty-state strong{font-family:var(--font-serif);font-size:1.05rem;font-weight:700;color:var(--ink)}.empty-state>span:not(.empty-state-mark){max-width:36ch;font-size:.79rem;line-height:1.7}code{display:block;min-width:0;max-width:100%;border:1px solid var(--border);border-radius:5px;background:#f8f5ed;color:var(--muted-strong);padding:8px 9px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.67rem;line-height:1.65;white-space:normal;overflow-wrap:anywhere;word-break:normal}.icon-link{width:100%;min-height:44px;padding:5px;touch-action:manipulation}.icon-link svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;min-height:60px;margin-top:auto;padding-block:14px;border-top:1px solid var(--border);color:var(--muted);font-size:.69rem;line-height:1.6}.workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:20px;gap:20px;margin-top:clamp(22px,3vw,34px);margin-bottom:clamp(30px,5vw,56px)}.workspace-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}.workspace-heading>div:first-child{min-width:0;flex:1 1 300px}.workspace-heading h1{margin-block:5px 7px;font-size:clamp(1.3rem,2vw,1.6rem);letter-spacing:-.02em}.workspace-heading p{color:var(--muted);font-size:.81rem;line-height:1.75;overflow-wrap:anywhere}.workspace-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.workspace-actions .primary-button{width:auto;min-width:128px}.workspace-actions .secondary-button{min-width:112px}.workspace-actions svg{width:16px;height:16px;margin-right:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.admin-panel{min-width:0;border:1px solid var(--border);border-radius:9px;background:var(--surface-muted)}.admin-panel>summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-height:64px;padding:15px 20px;border-radius:8px;color:var(--muted-strong);cursor:pointer;list-style:none}.admin-panel>summary::-webkit-details-marker,.link-url-details>summary::-webkit-details-marker,.utilities-menu>summary::-webkit-details-marker{display:none}.admin-panel>summary:after,.link-url-details>summary:after{content:"";display:inline-block;width:7px;height:7px;flex:0 0 auto;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg) translateY(-2px);pointer-events:none}.admin-panel>summary:after{margin-left:auto}.admin-panel[open]>summary:after,.link-url-details[open]>summary:after{transform:rotate(225deg) translate(-2px,-2px)}.admin-panel>summary:hover{background:#f4efdf}.admin-panel[open]>summary{border-bottom:1px solid var(--border);border-radius:8px 8px 0 0}.admin-summary-title{display:inline-flex;align-items:center;gap:7px;color:var(--ink);font-size:.82rem;font-weight:600}.cloud-last-synced{color:var(--muted);font-size:.72rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.admin-panel>summary .cloud-last-synced{margin-left:auto}.admin-panel>summary .cloud-last-synced+*{margin-left:0}.admin-panel-content{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);grid-gap:clamp(22px,3vw,40px);gap:clamp(22px,3vw,40px);align-items:start;padding:19px 20px 16px}.admin-help{min-width:0;display:grid;align-content:start;grid-gap:8px;gap:8px;padding-top:3px;color:var(--muted-strong);font-size:.77rem;line-height:1.8;overflow-wrap:anywhere}.admin-help strong{color:var(--ink);font-weight:600}.admin-help>p+p{color:var(--muted);font-size:.73rem}.feedback-region{position:-webkit-sticky;position:sticky;top:88px;z-index:40;display:grid;grid-gap:9px;gap:9px;min-width:0}.feedback-region:empty{display:none}.action-icon{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.history-panel{min-width:0;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.panel-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 20px;min-height:81px;padding:17px 22px;border-bottom:1px solid var(--border)}.panel-heading>div:first-child{min-width:0;flex:1 1 200px}.panel-heading h2{font-size:1.13rem}.panel-heading p{margin-top:4px;font-size:.75rem}.history-actions,.history-export-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.history-actions{justify-content:flex-end}.history-actions>.secondary-button{min-height:44px;padding:9px 12px;font-size:.77rem}.utilities-menu{position:relative;min-width:0}.utilities-menu>summary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 12px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--muted-strong);font-size:.77rem;line-height:1.5;cursor:pointer;list-style:none;transition:border-color .15s ease,background-color .15s ease}.utilities-menu>summary:hover,.utilities-menu[open]>summary{border-color:var(--border-strong);background:var(--surface-muted)}.utilities-content{position:absolute;top:calc(100% + 8px);right:0;z-index:30;display:grid;grid-gap:12px;gap:12px;width:270px;max-width:calc(100vw - 32px);padding:15px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);box-shadow:0 8px 24px rgba(26,26,46,.07)}.utilities-content>.secondary-button{width:100%}.utilities-content>strong{color:var(--ink);font-size:.78rem;font-weight:600}.utilities-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.utilities-heading>strong{color:var(--ink);font-size:.78rem;font-weight:600}.utilities-close{flex:0 0 auto;min-height:44px;padding:9px 10px;font-size:.73rem}.utilities-content>p{color:var(--muted);font-size:.7rem;line-height:1.7}.utilities-menu[open]>summary .action-icon{transform:rotate(180deg)}.history-export-controls{flex-wrap:nowrap}.history-export-select{width:80px;min-height:44px;flex:0 0 auto;padding:9px 8px;color:var(--muted-strong);font-size:.77rem}.history-export-controls .secondary-button{flex:1 1 auto;min-width:0;padding-inline:8px}.history-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding:17px 22px 12px}.search-field{position:relative;display:flex;align-items:center}.history-toolbar input,.search-field{flex:1 1 300px;width:min(480px,100%);max-width:560px;min-width:0}.history-toolbar input{min-height:44px;font-size:.8rem}.search-field input{width:100%;max-width:none}.search-field>svg{position:absolute;left:12px;width:17px;height:17px;fill:none;stroke:var(--muted);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.search-field>svg+input{padding-left:37px}.history-toolbar>span{color:var(--muted);font-size:.73rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.history-filters{display:flex;align-items:center;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;padding:0 22px 17px;scrollbar-width:thin}.history-filters button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:7px;min-height:44px;padding:9px 12px;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--muted-strong);font-size:.75rem;font-weight:500;line-height:1.5;cursor:pointer;transition:color .15s ease,background-color .15s ease,border-color .15s ease}.history-filters button span{font-size:.68rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.history-filters button:hover{border-color:var(--border-strong);background:var(--surface-muted)}.history-filters button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong);font-weight:700}.history-filters button[aria-pressed=true] span{padding:1px 5px;border-radius:3px;background:#d6e7fa}.link-table,.link-table-body{min-width:0}.link-row,.link-table-head{display:grid;grid-template-columns:minmax(200px,1.1fr) 170px minmax(200px,1.4fr) 200px;align-items:center;grid-gap:18px;gap:18px;padding-inline:22px}.link-table-head{min-height:42px;border-block:1px solid var(--border);background:#f7f3e9;color:var(--muted);font-size:.69rem;font-weight:600}.link-table-head>span:last-child{text-align:center}.link-row{min-height:106px;padding-block:20px;border-bottom:1px solid var(--border);transition:background-color .15s ease}.link-row:last-child{border-bottom:0;border-radius:0 0 9px 9px}.link-row:focus-within,.link-row:hover{background:#fbf9f2}.link-row.invalidated{background:#fff7f5}.link-row.invalidated:focus-within,.link-row.invalidated:hover{background:#fff0ef}.link-address,.link-meta{display:grid;align-content:center;grid-gap:7px;gap:7px;min-width:0}.link-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}.link-title-row strong{min-width:0;color:var(--text);font-size:.88rem;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.link-meta small{color:var(--muted);font-size:.7rem;line-height:1.6}.link-meta small,.link-row time{overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.link-row time{display:grid;grid-gap:5px;gap:5px;min-width:0}.link-row time small{color:var(--muted);font-size:.68rem;line-height:1.5}.link-row time span{line-height:1.65}.link-domain,.link-row time span{color:var(--muted-strong);font-size:.78rem}.link-domain{line-height:1.6;overflow-wrap:anywhere}.link-url-details{min-width:0}.link-url-details>summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;padding:6px 2px;border-radius:3px;color:var(--accent-strong);font-size:.73rem;line-height:1.5;text-decoration:underline;-webkit-text-decoration-color:#b8cde5;text-decoration-color:#b8cde5;text-underline-offset:4px;cursor:pointer;list-style:none}.link-url-details>summary:hover{background:#fcf1ba}.link-url-details>summary:hover,.link-url-details[open]>summary{-webkit-text-decoration-color:currentColor;text-decoration-color:currentColor}.link-url-details code{margin-top:6px;font-size:.7rem;overflow-wrap:anywhere}.row-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 44px;align-items:stretch;grid-gap:6px;gap:6px;min-width:0}.row-actions .secondary-button{min-width:0;min-height:44px;padding:9px 4px;font-size:.72rem;white-space:normal}.row-actions .secondary-button:first-child{border-color:#cadff4;background:var(--accent-soft)}.row-actions .secondary-button:first-child:hover{border-color:#afcce9;background:#dbeafa}.row-actions .icon-link{width:44px;min-height:44px}.history-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;min-height:75px;padding:14px 22px;border-top:1px solid var(--border)}.history-pagination>span{color:var(--muted);font-size:.75rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.empty-state{min-height:300px}.empty-state h3{margin:0;color:var(--ink);font-family:var(--font-serif);font-size:1.13rem;font-weight:700}.empty-state p{max-width:38ch;color:var(--muted);font-size:.8rem;line-height:1.7}.empty-state .primary-button{width:auto;min-width:146px;margin-top:12px}.tool-dialog{position:fixed;inset:0 0 0 auto;width:min(520px,100vw);max-width:100vw;height:100vh;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-left:1px solid var(--border);border-radius:0;background:var(--cream);color:var(--ink);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.tool-dialog[open]{display:flex;flex-direction:column}.tool-dialog::-webkit-backdrop{background:rgba(26,26,46,.28)}.tool-dialog::backdrop{background:rgba(26,26,46,.28)}.dialog-header{position:-webkit-sticky;position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto;min-height:80px;padding:17px 24px;border-bottom:1px solid var(--border);background:var(--cream)}.dialog-header h2,.dialog-header strong,.dialog-header>span{font-family:var(--font-serif);font-size:1.07rem;font-weight:700;color:var(--ink)}.dialog-close{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:44px;padding:9px 12px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--accent-strong);font-size:.77rem;line-height:1.5}.dialog-close:hover{border-color:#b7cde6;background:var(--accent-soft)}.dialog-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tool-dialog .tool-panel{min-width:0;background:var(--cream)}.tool-dialog .tool-tabs{position:-webkit-sticky;position:sticky;top:80px;z-index:9;flex:0 0 auto;border-radius:0}.tool-dialog .tool-tabs button{border-radius:0;min-height:53px;font-size:.77rem}.tool-dialog .tool-form{padding:25px 24px 32px}.brand-credit{color:var(--muted-strong)}.mobile-nav{display:none}@media (max-width:1100px) and (min-width:900px){.link-row,.link-table-head{grid-template-columns:minmax(140px,1fr) 140px minmax(160px,1.2fr) 180px;gap:12px;padding-inline:20px}.row-actions{gap:4px}.row-actions .secondary-button{font-size:.68rem;padding-inline:2px}}@media (max-width:899px){.link-table-head{position:absolute;width:1px;height:1px;min-height:0;padding:0;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;overflow:hidden}.link-row{grid-template-columns:minmax(0,1fr) 170px;grid-template-areas:"meta time" "address address" "actions actions";align-items:start;gap:14px 20px;padding-block:21px}.link-meta{grid-area:meta}.link-row time{grid-area:time}.link-address{grid-area:address;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 20px}.link-url-details[open]{grid-column:1/-1}.row-actions{grid-area:actions;justify-self:end;width:min(320px,100%)}.admin-panel-content{grid-template-columns:minmax(0,1fr);gap:12px}.admin-panel-content .password-field{max-width:420px}.admin-help{padding-top:0}}@media (max-width:600px){.feedback-region{top:124px}html{scroll-padding-top:112px}.page-shell{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.app-footer,.app-header-inner,.workspace{width:calc(100% - 28px)}.app-header-inner{min-height:83px;flex-wrap:wrap;gap:8px 12px;padding-block:11px}.brand-lockup{flex:1 1 230px;gap:10px}.brand-lockup strong{font-size:1rem}.brand-lockup div>span:not(.brand-eyebrow){font-size:.7rem}.header-status{min-height:25px;padding:4px 8px;font-size:.63rem}.workspace{gap:17px;margin-top:19px;margin-bottom:25px}.workspace-heading{align-items:flex-start;gap:15px}.workspace-heading>div:first-child{flex-basis:100%}.workspace-heading h1{margin-top:5px;font-size:1.34rem}.workspace-heading p{font-size:.77rem}.workspace-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;grid-gap:9px;gap:9px}.workspace-actions .primary-button,.workspace-actions .secondary-button{width:100%;min-width:0;min-height:46px;padding-inline:10px;font-size:.82rem}.admin-panel>summary{gap:8px;min-height:62px;padding:13px 15px}.admin-summary-title{font-size:.8rem}.admin-panel>summary .cloud-last-synced{order:3;flex-basis:calc(100% - 20px);margin-left:0;font-size:.67rem}.admin-panel>summary:after{order:2;margin-left:auto}.admin-panel-content{padding:16px 15px}.admin-help{font-size:.74rem}.admin-help>p+p{font-size:.7rem}.history-panel{border:0;border-radius:0;background:transparent}.panel-heading{min-height:65px;gap:12px;padding:4px 0 15px}.panel-heading>div:first-child{flex:1 1 110px}.panel-heading h2{font-size:1.06rem}.panel-heading p{font-size:.71rem}.history-actions{gap:7px}.history-actions>.secondary-button,.utilities-menu>summary{min-height:44px;padding:9px;font-size:.73rem}.utilities-menu>summary{gap:7px}.utilities-content{position:fixed;top:auto;right:14px;bottom:calc(80px + env(safe-area-inset-bottom));left:14px;z-index:95;width:auto;max-width:none;max-height:calc(100dvh - 180px - env(safe-area-inset-bottom));padding:13px;overflow-y:auto;overscroll-behavior:contain}.utilities-heading{position:-webkit-sticky;position:sticky;top:0;z-index:1;padding-bottom:5px;background:var(--surface)}.history-toolbar{align-items:stretch;gap:9px;padding:14px 0 10px}.history-toolbar input,.search-field{flex-basis:100%;width:100%;max-width:none}.history-toolbar>span{font-size:.71rem}.history-filters{gap:6px;margin-bottom:13px;padding:0 0 6px}.history-filters button{min-height:44px;padding:8px 10px;gap:5px;font-size:.73rem}.history-filters button span{font-size:.65rem}.link-table-body{display:grid;grid-gap:12px;gap:12px}.link-row,.link-row:last-child{grid-template-columns:minmax(0,1fr);grid-template-areas:"meta" "time" "address" "actions";gap:14px;min-height:0;padding:18px 16px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.link-row.invalidated{background:#fff7f5}.link-title-row strong{font-size:.9rem}.link-meta small{font-size:.69rem}.link-row time{gap:4px}.link-row time small{font-size:.66rem}.link-row time span{font-size:.79rem}.link-address{grid-template-columns:minmax(0,1fr);gap:1px}.link-domain{font-size:.76rem}.link-url-details>summary{min-height:44px;font-size:.74rem}.link-url-details code{margin-top:3px;padding:10px;font-size:.69rem}.row-actions{justify-self:stretch;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:3px}.row-actions .icon-link,.row-actions .secondary-button{width:100%;min-height:44px;padding:10px 8px;font-size:.77rem}.row-actions .danger-button:not(:disabled){border-color:#efcbd1;background:var(--danger-soft)}.row-actions .danger-button:hover:not(:disabled){border-color:#e9adb9;background:#ffe6e9}.history-pagination{justify-content:space-between;flex-wrap:nowrap;gap:8px;min-height:72px;padding:14px 0;border-top:0}.history-pagination>span{font-size:.71rem;text-align:center}.history-pagination .secondary-button{min-height:44px;padding-inline:12px;font-size:.75rem}.empty-state{min-height:280px;padding:30px 15px}.empty-state h3{font-size:1.08rem}.empty-state p{font-size:.77rem}.duration-row,.field-grid{grid-template-columns:minmax(0,1fr);gap:15px}.field input,.field select,.history-export-select,.history-toolbar input{min-height:48px;font-size:16px}.password-cache-row,.password-cache-row button,.password-cache-row label{min-height:44px}.password-cache-row input{width:18px;height:18px}.password-cache-row button,.password-cache-row label{font-size:.76rem}.segmented{display:flex;width:100%}.segmented button{flex:1 1;min-width:0;min-height:44px;font-size:.8rem}.icon-link,.primary-button,.secondary-button,.secondary-button.compact{min-height:44px}.primary-button{min-height:48px;font-size:.9rem}.status-grid{grid-template-columns:minmax(0,1fr);gap:12px}.status-grid>div{grid-template-columns:70px minmax(0,1fr);align-items:start;gap:8px}.status-grid span,.status-grid strong{font-size:.75rem;line-height:1.6}.status-actions{justify-content:flex-start}.status-actions .secondary-button{flex:1 1 75px}.tool-dialog{inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}.dialog-header{min-height:74px;padding:14px 18px}.dialog-header h2,.dialog-header strong,.dialog-header>span{font-size:1.03rem}.dialog-close{min-height:44px;padding:9px 10px;font-size:.75rem}.tool-dialog .tool-tabs{top:74px;grid-template-columns:repeat(2,minmax(0,1fr))}.tool-dialog .tool-tabs button{min-height:48px;padding:10px 6px;font-size:.8rem}.tool-dialog .tool-form{gap:19px;padding:22px 18px calc(28px + env(safe-area-inset-bottom))}.mobile-nav{position:fixed;right:0;bottom:0;left:0;z-index:90;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;grid-gap:5px;gap:5px;min-height:calc(68px + env(safe-area-inset-bottom));padding:6px 14px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--cream)}.mobile-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:0;min-height:54px;padding:5px 8px;border:0;border-radius:6px;background:transparent;color:var(--muted-strong);font-size:.68rem;line-height:1.5}.mobile-nav button.active,.mobile-nav button[aria-current=page],.mobile-nav button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-strong);font-weight:700}.mobile-nav button:hover{background:#f4efdf}.mobile-nav button:active{background:#dbeafa}.mobile-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.app-footer{align-items:flex-start;flex-direction:column;justify-content:center;gap:6px;min-height:72px;padding-block:16px}}@media (max-width:360px){.app-footer,.app-header-inner,.workspace{width:calc(100% - 20px)}.admin-panel-content,.admin-panel>summary{padding-inline:13px}.panel-heading>div:first-child{flex-basis:100%}.history-actions{width:100%;justify-content:space-between}.utilities-content{right:10px;left:10px}.link-row,.link-row:last-child{padding-inline:14px}.dialog-header,.tool-dialog .tool-form{padding-inline:15px}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}