*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f5f5f4;color:#292d33;font:15px -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #696f77;outline-offset:4px}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button{border:0;background:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.sidebar{width:228px;position:fixed;inset:0 auto 0 0;background:#ffffff;border-right:1px solid #e3e3e4;padding:34px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:9px;padding:0 10px;font-size:29px;font-weight:650;letter-spacing:-1.7px}.brand img{width:35px;height:35px}.brand-dot{color:#62666c}.sidebar-label{font-size:9px;letter-spacing:1.8px;color:#a1a3a5;margin:61px 16px 17px;font-weight:650}nav{display:flex;flex-direction:column;gap:7px}nav button{display:flex;align-items:center;gap:14px;text-align:left;padding:14px 17px;border-radius:11px;font-size:14px;color:#7f8081}nav button.active{background:#e9eaeb;color:#41454a;font-weight:600}nav button:hover{background:#eeeeef}nav button.active svg{stroke-width:1.9}.sidebar-bottom{margin-top:auto;padding:28px 14px 0;color:#9e9fa0}.sidebar-bottom p{font-size:11px;line-height:1.7;margin:15px 0 20px}.sidebar-bottom a{font-size:11px;color:#6e7074}.edition{font:italic 31px Georgia,serif;color:#67696c;display:flex;gap:8px;align-items:baseline}.edition span{font:8px Arial,sans-serif;letter-spacing:2px;color:#9fa0a2}.workspace{margin-left:228px;min-height:100dvh}header{height:88px;border-bottom:1px solid #e3e3e4;padding:0 54px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8c8d8f}.header-actions{display:flex;align-items:center;gap:18px}#language{border:0;background:transparent;color:#585a5d;padding:8px;font-size:12px}.brand-mobile{display:none}main{max-width:1210px;padding:46px 54px 30px;margin:0 auto;min-height:calc(100dvh - 170px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:37px}.eyebrow{font-size:9px;letter-spacing:2px;color:#898b8e;font-weight:650}h1{font-size:43px;font-weight:500;line-height:1.2;letter-spacing:-1.6px;margin:9px 0 10px}h2{font-size:18px;font-weight:550;letter-spacing:-.4px;margin:0}.page-heading p{color:#8d8e90;font-size:13px;margin:0}.count-badge{border:1px solid #dfe0e1;border-radius:30px;padding:8px 16px;font-size:11px;color:#838587;white-space:nowrap}.section-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-line h2{display:flex;gap:10px;align-items:center;font-size:17px}.section-line h2 svg{width:17px;height:17px;color:#84878a}.subtle{font-size:11px;color:#a2a3a4}.favorite-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.favorite-card{position:relative;background:#e7e8e9;border:1px solid #dcdddf;border-radius:16px;padding:23px;display:flex;gap:22px;align-items:center;min-height:173px;transition:transform .18s,border-color .18s}.favorite-card:hover{border-color:#a7aaae;transform:translateY(-2px)}.favorite-info{min-width:0;padding-right:20px}.favorite-info .kicker{color:#8b8d91;font-size:9px;letter-spacing:1.6px}.favorite-info h3{font-size:19px;font-weight:550;letter-spacing:-.5px;line-height:1.3;margin:8px 0}.favorite-info p{font-size:11px;color:#85878a;margin:0 0 15px}.favorite-info .open-book{padding:0;font-size:12px;display:flex;align-items:center;gap:12px;color:#4b4e53;font-weight:600}.favorite-info .open-book svg{width:15px}.star-button{display:flex;align-items:center;justify-content:center;color:#96989b;border:1px solid #d6d8da;background:#f4f5f680;width:34px;height:34px;border-radius:50%;flex-shrink:0}.star-button svg{width:16px;height:16px}.star-button[aria-pressed=true]{color:#5f646c}.star-button[aria-pressed=true] svg{fill:#82878f;stroke:#687c93}.favorite-card>.star-button{position:absolute;right:15px;top:15px;border:0;background:none}.cover{width:93px;height:123px;border-radius:3px 7px 7px 3px;position:relative;background:linear-gradient(105deg,#172e48 0%,#294b69 48%,#203b55 100%);color:#e3dcca;box-shadow:2px 6px 10px #14273526,inset 4px 0 0 #ffffff15,inset 7px 0 1px #0c223233;flex-shrink:0;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;isolation:isolate}.cover:before{content:'';position:absolute;inset:8px;border:1px solid #bdbec042;border-radius:1px;z-index:-1}.cover:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 2px,#ffffff03 3px);pointer-events:none}.cover-label{font-size:6px;letter-spacing:1.3px;text-align:center;padding:0 12px;text-transform:uppercase}.cover-letter{font:50px Georgia,serif;line-height:1.2;margin:5px 0}.cover-rule{width:24px;height:1px;background:#b5b7ba70}.cover-bottom{font-size:5px;letter-spacing:2px;margin-top:8px}.favorite-empty{border:1px dashed #d3d4d6;border-radius:14px;padding:26px;color:#949699;font-size:13px;grid-column:1/-1}.catalog-title{margin-top:40px}.search-box{display:flex;align-items:center;gap:12px;background:#ffffff;border:1px solid #dedfe0;border-radius:11px;padding:14px 17px}.search-box svg{width:19px;height:19px;color:#97999c}.search-box input{border:0;outline:0!important;min-width:0;flex:1;background:transparent;color:#333436;font-size:13px}.search-box input::placeholder{color:#a4a5a7}.search-box:focus-within{border-color:#8d9197;box-shadow:0 0 0 3px #8d919710}.catalog-search{max-width:100%;margin-bottom:24px}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.book-card{background:#ffffff;border:1px solid #dfe0e2;border-radius:15px;overflow:hidden;transition:transform .18s,box-shadow .18s}.book-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #393b3e08}.book-art{position:relative;background:#edece6;min-height:225px;display:flex;align-items:center;justify-content:center;background-image:radial-gradient(ellipse at 50% 80%,#ced0d280,transparent 70%)}.book-art .cover{width:119px;height:163px;transform:rotate(-6deg);box-shadow:8px 13px 17px #2f313326}.book-art .cover-letter{font-size:67px}.book-art .cover-label{font-size:8px}.book-art>.star-button{position:absolute;right:14px;top:14px;background:#f8f9fa;border:0}.book-info{padding:19px 20px}.book-info .category{color:#8b8e91;font-size:9px;text-transform:uppercase;letter-spacing:1.3px}.book-info h3{font-size:18px;letter-spacing:-.4px;font-weight:550;line-height:1.35;margin:7px 0}.book-meta{color:#97999b;font-size:11px;margin:0}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:21px;padding-top:14px;border-top:1px solid #ececed}.data-note{color:#a79269;font-size:9px;display:inline-flex;align-items:center;gap:5px}.data-note:before{content:'';width:4px;height:4px;border-radius:50%;background:#baab87}.card-bottom .open-book{border-radius:50%;background:#ebecee;padding:8px;display:flex;color:#61656b}.card-bottom .open-book svg{width:16px;height:16px}.catalog-footer{display:flex;align-items:center;gap:16px;margin-top:42px;border-top:1px solid #dfe0e1;padding-top:26px}.footer-monogram{font:italic 32px Georgia,serif;color:#828488}.catalog-footer strong{font-size:12px;font-weight:500}.catalog-footer p{font-size:11px;color:#9a9b9d;margin:3px 0}.text-link{margin-left:auto;font-size:11px;color:#65696f;white-space:nowrap}.workspace-footer{padding:22px 54px;max-width:1210px;margin:auto;display:flex;justify-content:space-between;color:#b1b2b4;font-size:9px}.workspace-footer>span:first-child{letter-spacing:3px}.back-button{display:inline-flex;align-items:center;gap:10px;color:#8a8c8f;padding:0;margin-bottom:32px;font-size:12px}.back-button>span:first-child{font-size:19px}.search-book-heading{display:flex;gap:24px;align-items:center;margin-bottom:30px}.search-book-heading h1{font-size:33px;margin:7px 0 10px}.search-book-heading>.star-button{margin-left:auto}.mini-cover{background:#213f5b;width:62px;height:83px;color:#e3dfcd;border-radius:3px 7px 7px 3px;font:30px Georgia,serif;display:flex;align-items:center;justify-content:center;gap:5px;box-shadow:2px 5px 8px #102d4218;flex-shrink:0}.mini-cover span{font-size:18px;margin-top:23px}.word-search{padding:19px 22px;border-radius:13px}.word-search input{font-size:19px}.word-search svg{width:22px;height:22px}kbd{border:1px solid #e1e2e3;border-radius:5px;font-size:11px;color:#9d9fa2;padding:1px 6px}.search-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#a1a3a5;margin:11px 2px 22px}.suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.suggestions:empty{margin:0}.chip{font-size:12px;border:1px solid #dadcde;color:#676b71;padding:8px 13px;border-radius:8px;background:#f8f8f8}.chip:hover{background:#e3e5e7;border-color:#b3b6bb}.welcome{text-align:center;margin:75px auto;max-width:370px}.letter-orbit{display:flex;align-items:center;justify-content:center;margin-bottom:28px}.letter-orbit span{font:28px Georgia,serif;border:1px solid #d8dadc;width:58px;height:70px;border-radius:9px;display:grid;place-items:center;color:#9b9ea2;background:#f7f7f8;transform:rotate(-12deg);margin-right:-12px}.letter-orbit span:nth-child(2){transform:rotate(0);background:#e5e7e9;color:#6a6f75;z-index:1}.letter-orbit span:nth-child(3){transform:rotate(12deg)}.welcome h2{font-size:18px;color:#65686d;font-weight:450}.welcome p{font-size:12px;color:#a0a3a5;line-height:1.8}.result{border:1px solid #d9dbdd;border-radius:17px;padding:30px;background:#fcfcfd;margin-bottom:16px;box-shadow:0 6px 25px #454a5004}.result .result-label{font-size:9px;letter-spacing:1.5px;color:#989a9e}.result h2{font-size:32px;letter-spacing:-.8px;font-weight:550;margin:10px 0 4px;overflow-wrap:anywhere}.result .dict{font-size:11px;color:#9b9da0}.location{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:30px 0}.location>div+div{border-left:1px solid #e7e8ea;padding-left:25px}.location dt{font-size:11px;color:#94979b}.location dd{font-size:42px;line-height:1.2;font-weight:450;color:#44484d;letter-spacing:-1.5px;margin:7px 0 0}.result-footer{display:flex;gap:10px;flex-wrap:wrap}.copy-button,.share-button{display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;padding:12px 19px;border-radius:9px}.copy-button{background:#4b4f54;color:#fff}.copy-button svg{width:16px;height:16px}.share-button{border:1px solid #dee0e2;color:#8b8e92}.empty{text-align:center;padding:30px;color:#95979a;font-size:13px}.empty strong{display:block;color:#6b6f74}.error{background:#fff1ea;border:1px solid #e5c3b3;color:#a36646;font-size:13px;padding:18px;border-radius:12px}.quiet-button{font-size:12px;color:#888b8f;padding:10px}.history-item{display:flex;width:100%;align-items:center;gap:15px;padding:20px;background:#fcfcfd;border:1px solid #dddee0;border-radius:12px;margin-top:10px;text-align:left}.history-item strong{font-size:15px;font-weight:550}.history-details{display:flex;flex-direction:column;gap:5px;flex:1}.history-details small{font-size:11px;color:#979a9e}.history-item>svg{color:#a1a3a7;width:18px}.history-icon{display:grid;place-items:center;background:#eaebed;border-radius:9px;width:40px;height:44px;color:#878b90}.history-icon svg{width:19px}.settings-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:23px;align-items:start}.panel{background:#fcfcfd;border:1px solid #dddee0;border-radius:15px;padding:26px}.panel-heading{display:flex;gap:10px;align-items:center}.panel-heading svg{width:19px;color:#898d92}.panel h2{font-size:17px}.muted{font-size:12px;color:#989b9f}.copy-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.copy-option{display:flex;align-items:center;justify-content:space-between;border:1px solid #dddee0;border-radius:9px;padding:14px;color:#797c80;font-size:12px}.copy-option:has(input:checked){background:#ebecee;border-color:#b2b6bc;color:#4e535a}.copy-option input{accent-color:#616871;width:16px;height:16px}.copy-preview{margin-top:24px;padding:17px;background:#f0f1f2;border-radius:10px}.copy-preview>span{font-size:8px;color:#979a9f;letter-spacing:1.5px}.copy-preview output{display:block;font-size:12px;color:#696e74;margin-top:9px;line-height:1.8;overflow-wrap:anywhere}.field-warning{font-size:11px;color:#b37c40}.toggle-row{display:flex;justify-content:space-between;gap:20px;align-items:center}.toggle-row+.toggle-row{padding-top:22px;margin-top:22px;border-top:1px solid #eaebed}.toggle-row strong{font-size:13px;font-weight:500}.toggle-row small{display:block;color:#9c9ea1;font-size:11px;margin-top:6px}.toggle-row input{appearance:none;width:34px;height:20px;border-radius:20px;background:#d8dadd;position:relative;flex-shrink:0;transition:background .15s;cursor:pointer}.toggle-row input:before{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 1px 3px #0001;transition:left .15s}.toggle-row input:checked{background:#6c737d}.toggle-row input:checked:before{left:17px}.browser-note{font-size:10px;color:#a7a9ac;margin-top:22px;line-height:1.7}.about{margin-top:22px}.about p{font-size:12px;color:#989a9e;line-height:1.8}.about a{font-size:11px;color:#70757b}.manual-copy{width:100%;min-height:90px;border:1px solid #c8cbcf;background:#f1f2f3;color:#5f646a;padding:15px;border-radius:10px;margin-top:15px}#toast{position:fixed;bottom:28px;left:calc(50% + 114px);transform:translateX(-50%);background:#383b3f;color:#f3f4f6;padding:13px 22px;border-radius:11px;box-shadow:0 5px 20px #2d303425;z-index:50;font-size:12px;max-width:85vw;text-align:center}
@media(min-width:1500px){main{padding-top:58px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.sidebar{width:190px;padding-left:16px;padding-right:16px}.workspace{margin-left:190px}header{padding:0 32px}main{padding:37px 32px}.favorite-grid{grid-template-columns:1fr}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.favorite-card{max-width:none}.settings-grid{grid-template-columns:1fr}.settings-right{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-right .about{margin-top:0}.workspace-footer{padding:22px 32px}#toast{left:calc(50% + 95px)}}
@media(max-width:700px){.sidebar{width:auto;position:static;padding:0;border:0;background:transparent}.sidebar>.brand,.sidebar-label,.sidebar-bottom{display:none}.workspace{margin-left:0}header{height:72px;padding:0 23px;border-bottom:1px solid #e2e3e5}#breadcrumb{display:none}.header-actions{width:100%;flex-direction:row-reverse;justify-content:space-between}.brand-mobile{display:block;font-size:26px;letter-spacing:-1.5px;font-weight:650;color:#424448}#language{font-size:11px}main{padding:30px 23px 120px;min-height:calc(100dvh - 72px)}h1{font-size:36px;margin:8px 0 10px}.page-heading{gap:10px;margin-bottom:30px;align-items:flex-start}.page-heading p{font-size:12px;max-width:245px;line-height:1.7}.count-badge{font-size:9px;padding:5px 9px;margin-top:30px}.eyebrow{font-size:8px;letter-spacing:1.6px}.section-line h2{font-size:16px}.subtle{font-size:10px}.favorite-card{padding:20px;gap:19px;min-height:159px}.favorite-info h3{font-size:19px;max-width:200px}.favorite-info .kicker{font-size:8px}.favorite-card .cover{width:78px;height:110px}.favorite-card .cover-letter{font-size:44px}.favorite-info p{font-size:10px;margin-bottom:12px}.favorite-info .open-book{font-size:11px}.catalog-title{margin-top:30px}.catalog-search{margin-bottom:18px}.book-grid{grid-template-columns:1fr;gap:15px}.book-card{display:grid;grid-template-columns:123px minmax(0,1fr);border-radius:13px}.book-art{min-height:178px}.book-art .cover{width:76px;height:108px;transform:rotate(-5deg)}.book-art .cover-letter{font-size:43px}.book-art .cover-label{font-size:5px}.book-art>.star-button{right:6px;top:7px;width:26px;height:26px}.book-art>.star-button svg{width:13px}.book-info{padding:18px 15px;display:flex;flex-direction:column;justify-content:center}.book-info .category{font-size:8px}.book-info h3{font-size:17px;margin-top:8px}.book-meta{font-size:9px}.card-bottom{margin-top:16px;padding-top:12px}.card-bottom .data-note{font-size:8px}.card-bottom .open-book{padding:6px}.catalog-footer{margin-top:28px;padding-top:22px;gap:12px;flex-wrap:wrap}.footer-monogram{font-size:28px}.catalog-footer strong{font-size:11px}.catalog-footer p{font-size:10px}.text-link{font-size:10px;flex-basis:100%;padding-left:34px;margin-top:-4px}.workspace-footer{display:none}nav{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));left:18px;right:18px;background:#fcfcfdef;backdrop-filter:blur(18px);border:1px solid #dcdee0;border-radius:17px;box-shadow:0 8px 32px #363a3f14;display:flex;flex-direction:row;gap:5px;padding:7px;z-index:30}nav button{justify-content:center;flex:1;min-width:0;padding:10px 8px;font-size:10px;gap:6px;flex-direction:column;border-radius:11px}nav button svg{width:20px;height:20px}nav button.active{background:#e5e6e8}.back-button{margin-bottom:25px;font-size:11px}.search-book-heading{gap:16px;margin-bottom:27px}.search-book-heading h1{font-size:25px;letter-spacing:-.8px;line-height:1.2}.mini-cover{width:49px;height:68px;font-size:25px}.mini-cover span{font-size:15px}.search-book-heading .star-button{width:30px;height:30px}.word-search{padding:16px}.word-search input{font-size:16px}kbd{display:none}.search-meta{font-size:9px}.welcome{margin-top:65px}.welcome h2{font-size:17px}.welcome p{font-size:12px}.result{padding:24px 20px}.result h2{font-size:29px}.location{gap:10px;margin:28px 0}.location>div+div{padding-left:14px}.location dd{font-size:37px}.location dt{font-size:10px}.copy-button,.share-button{font-size:11px;padding:11px 15px}.result-footer{gap:8px}.settings-grid,.settings-right{display:block}.panel{padding:22px}.settings-right>.panel{margin-top:19px}.copy-fields{gap:8px}.copy-option{padding:13px;font-size:11px}.history-item{padding:17px 15px}.history-item strong{font-size:14px}.history-details small{font-size:10px}#toast{left:50%;bottom:110px}.section-line{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.book-title{padding:0;text-align:left;font:inherit;letter-spacing:inherit;line-height:inherit}.cover-button{padding:0;display:block}.copy-button:disabled,.share-button:disabled{opacity:.45;cursor:not-allowed}
/* Keep secondary text readable on the light paper surface. */
.page-heading p,.muted,.favorite-info p,.book-meta,.catalog-footer p,.history-details small,.toggle-row small,.browser-note,.about p,.search-meta,.result .dict{color:#6d7073}.subtle,.count-badge,.sidebar-label,header,.sidebar-bottom p{color:#737578}.eyebrow,.book-info .category,.favorite-info .kicker,.copy-preview>span,.result-label{color:#6c6f74}.location dt,.copy-option,.share-button{color:#64686e}.data-note{color:#8f7549}.search-box input::placeholder{color:#7b7e81}.copy-option:has(input:checked){color:#464b51}.book-meta{font-size:11px}@media(max-width:700px){.book-meta{font-size:10px}.favorite-info .kicker{font-size:8px}.book-info .category{font-size:8px}}

.star-button{width:46px;height:46px}.star-button svg{width:23px;height:23px}.book-art>.star-button{width:46px;height:46px}.favorite-card>.star-button{right:10px;top:10px}.favorite-info{padding-right:28px}.search-book-heading>.star-button{width:46px;height:46px}.language-panel{display:flex;align-items:center;justify-content:space-between;gap:14px}.language-panel label{font-size:13px}.settings-right{display:flex;flex-direction:column;gap:20px}.settings-right>.panel{margin-top:0}.inject-settings label{display:block;font-size:12px;color:#696b6f;margin-bottom:8px}.inject-settings input{border:1px solid #cccfd2;background:#f1f2f4;border-radius:8px;padding:12px;width:100%;min-width:0;color:#404348}.inject-settings .quiet-button{padding-left:0}.search-mode{display:flex;gap:5px;background:#e6e8ea;border-radius:10px;padding:4px;width:max-content;margin-bottom:17px}.search-mode button{padding:9px 20px;font-size:12px;border-radius:7px;color:#787b7f}.search-mode button.active{background:#fff;color:#494d52;box-shadow:0 1px 4px #34373a12}.inject-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #d6d9dc;background:#ebedef;border-radius:12px;padding:16px 20px;margin-bottom:16px}.inject-bar strong{font-size:13px}.inject-bar p{font-size:11px;color:#75787d;margin:6px 0 0}#inline-history{margin-top:45px;border-top:1px solid #dedfe1;padding-top:24px}#inline-history .history-item{padding:13px 16px}#inline-history .history-item strong{font-size:13px}#inline-history .history-icon{height:33px;width:33px}#inline-history .empty{padding:10px;font-size:12px}.header-actions{margin-left:auto}.copy-button:disabled{cursor:not-allowed}@media(max-width:700px){.star-button,.book-art>.star-button,.search-book-heading>.star-button{width:44px;height:44px}.star-button svg,.book-art>.star-button svg{width:22px;height:22px}.book-art>.star-button{right:4px;top:4px;background:#f8f9faed}.favorite-card .favorite-info{padding-right:16px}.favorite-card>.star-button{right:5px;top:5px}.favorite-info h3{font-size:17px}.header-actions{justify-content:flex-start}.settings-right>.panel{margin-top:0}.settings-right{display:flex;margin-top:19px}.language-panel{display:flex}.search-mode{width:100%}.search-mode button{flex:1;padding:10px 14px}.inject-bar{padding:14px;gap:8px}#language{font-size:12px;max-width:140px}.book-art .cover{margin-top:16px}}

@media(max-width:700px){.header-actions{flex-direction:row;justify-content:flex-start}}

.inject-instructions{padding-left:19px;font-size:12px;color:#66696d;line-height:1.9;margin:15px 0}

.search-combobox{position:relative;z-index:15}.search-combobox .word-search{margin-bottom:0}.search-dropdown{position:absolute;top:calc(100% + 5px);left:0;right:0;background:#fcfcfd;border:1px solid #d4d6d9;border-radius:14px;box-shadow:0 14px 35px #30323526;max-height:min(360px,45dvh);overflow:auto;padding:6px;overscroll-behavior:contain}.search-option{display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-height:48px;border-radius:8px;padding:11px 13px;color:#37393d;font-size:15px}.search-option svg{width:17px;height:17px;flex-shrink:0;color:#808388}.search-option:hover,.search-option[aria-selected="true"]{background:#e7e9eb}.option-word{overflow-wrap:anywhere}.option-note{margin-left:auto;font-size:10px;color:#76797d;text-align:right}.search-meta{margin-top:12px}@media(max-width:700px){.search-option{font-size:14px;padding:10px;gap:9px}.option-note{max-width:85px;font-size:9px}}

@media(max-width:700px){.search-dropdown{max-height:min(320px,35dvh)}}

/* Layout boundaries: controls and long status text must stay inside their panel. */
.settings-grid>* , .settings-right, .panel, .search-book-heading>div, .inject-bar>div{min-width:0}.search-book-heading>div:not(.mini-cover){flex:1}.search-book-heading h1,.inject-bar p,.inject-settings p,.result h2{overflow-wrap:anywhere}.inject-connect-row{display:flex;gap:10px;align-items:stretch;margin-top:8px}.inject-connect-row input{flex:1;min-width:0;width:0}.connect-button{background:#e4e6e8;color:#42464c;border:1px solid #d2d5d7;border-radius:9px;padding:11px 15px;white-space:nowrap;flex-shrink:0}.connect-button:disabled{opacity:.65}.inject-settings h2{margin:0 0 10px}.inject-settings>p{font-size:12px;line-height:1.65;margin:0 0 20px}.inject-settings #inject-config-status{margin:12px 0 0}.inject-settings #inject-config-status:empty{display:none}.inject-settings-link{display:block;padding:5px 0 0;font-size:11px;text-align:left;color:#52575e;text-decoration:underline;text-underline-offset:3px}.inject-bar .quiet-button{flex-shrink:0}.search-history-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:-8px -7px -8px 0;flex-shrink:0;border-radius:8px;color:#6c6f74}.search-history-button:hover{background:#e7e9eb}.search-history-button svg{width:21px;height:21px}.search-meta{flex-wrap:wrap;gap:5px 14px}.location{grid-template-columns:repeat(3,minmax(0,1fr))}.location>div{min-width:0}.result-footer{flex-wrap:wrap}.search-dropdown{position:static;margin-top:6px;max-height:300px;box-shadow:0 8px 20px #30323510}.search-combobox{z-index:auto}#inline-history{scroll-margin-top:24px;scroll-margin-bottom:120px}nav button{min-width:0}@media(max-width:700px){.search-dropdown{max-height:min(300px,35dvh)}.inject-connect-row{flex-direction:column;gap:12px}.inject-connect-row input{width:100%;flex:auto}.connect-button{align-self:flex-start;min-height:44px}.inject-bar{align-items:flex-start}.search-book-heading{gap:12px}.search-book-heading>.star-button{margin-left:0}.location dd{font-size:clamp(25px,8.5vw,37px)}nav button{font-size:9px;padding:9px 4px}#inline-history{scroll-margin-top:16px}.copy-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

.search-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.search-topbar .back-button{margin:0}.search-topbar .search-history-button{width:44px;height:44px;margin:0;border:1px solid #d7d8da;background:#fcfcfd;border-radius:50%}.appearance-panel{display:flex;align-items:center;justify-content:space-between;gap:15px}.appearance-panel label{font-size:13px}.appearance-panel select{max-width:65%;padding:10px 12px;border:1px solid #d7d8da;border-radius:8px;background:#f1f2f4;color:#47515e}html{background:#f5f5f4}.search-topbar .search-history-button:focus-visible{outline-offset:3px}@media(max-width:700px){nav button{font-size:10px;padding:10px 8px}.search-topbar{margin-bottom:22px}.appearance-panel{flex-wrap:wrap}.appearance-panel select{max-width:100%}}
/* Dark surfaces retain the same visual hierarchy and green accents. */
html[data-theme=dark]{background:#1c1e22;color-scheme:dark}html[data-theme=dark] body{background:#1c1e22;color:#e5e6e7}html[data-theme=dark] .sidebar,html[data-theme=dark] .panel,html[data-theme=dark] .book-card,html[data-theme=dark] .search-box,html[data-theme=dark] .search-dropdown,html[data-theme=dark] .result,html[data-theme=dark] .history-item,html[data-theme=dark] .search-topbar .search-history-button{background:#25282d;border-color:#3f4042;color:#e5e6e7}html[data-theme=dark] header,html[data-theme=dark] .catalog-footer,html[data-theme=dark] .card-bottom,html[data-theme=dark] #inline-history{border-color:#3a3b3c}html[data-theme=dark] .favorite-card,html[data-theme=dark] .favorite-empty,html[data-theme=dark] .copy-preview,html[data-theme=dark] .inject-bar{background:#30353d;border-color:#484a4d}html[data-theme=dark] .book-art{background:#2b2c2e}html[data-theme=dark] .search-mode{background:#30343b}html[data-theme=dark] .search-mode button.active,html[data-theme=dark] nav button.active,html[data-theme=dark] .search-option:hover,html[data-theme=dark] .search-option[aria-selected=true],html[data-theme=dark] .connect-button,html[data-theme=dark] .copy-button{background:#4a586b;color:#eeeff0;border-color:#62666c}html[data-theme=dark] nav button:hover,html[data-theme=dark] .search-history-button:hover{background:#37393c}html[data-theme=dark] .copy-option,html[data-theme=dark] .star-button,html[data-theme=dark] .book-art>.star-button,html[data-theme=dark] .appearance-panel select,html[data-theme=dark] #language,html[data-theme=dark] .inject-settings input{background:#30343b;color:#e0e4e9;border-color:#4b535f}html[data-theme=dark] .copy-option:has(input:checked){background:#414b59;color:#dee1e4;border-color:#7c8188}html[data-theme=dark] .search-box input{color:#efeff0}html[data-theme=dark] .search-box input::placeholder,html[data-theme=dark] .inject-settings input::placeholder{color:#a8aaad}html[data-theme=dark] .location dd,html[data-theme=dark] .brand,html[data-theme=dark] .brand-mobile,html[data-theme=dark] .copy-preview output,html[data-theme=dark] .search-option,html[data-theme=dark] .open-book,html[data-theme=dark] .text-link,html[data-theme=dark] .inject-settings-link{color:#c7cbd0}html[data-theme=dark] .muted,html[data-theme=dark] .page-heading p,html[data-theme=dark] .search-meta,html[data-theme=dark] .subtle,html[data-theme=dark] .history-details small,html[data-theme=dark] .book-meta,html[data-theme=dark] .toggle-row small,html[data-theme=dark] .about p,html[data-theme=dark] .result .dict,html[data-theme=dark] .location dt,html[data-theme=dark] .option-note,html[data-theme=dark] .inject-bar p,html[data-theme=dark] .inject-settings label,html[data-theme=dark] .eyebrow,html[data-theme=dark] .result-label,html[data-theme=dark] .copy-preview>span,html[data-theme=dark] .category,html[data-theme=dark] .sidebar-label,html[data-theme=dark] header,html[data-theme=dark] .back-button,html[data-theme=dark] nav button{color:#b0b2b6}html[data-theme=dark] .data-note{color:#d1bd8b}html[data-theme=dark] .location>div+div{border-color:#45474a}html[data-theme=dark] .search-mode button{color:#afb2b6}html[data-theme=dark] .share-button,html[data-theme=dark] .quiet-button{color:#bfc2c7}html[data-theme=dark] .history-icon,html[data-theme=dark] .chip{background:#414b59;color:#d4dbe5}html[data-theme=dark] .error{background:#412f2c;color:#f4d6cf;border-color:#75524c}html[data-theme=dark] .empty{color:#b7babd}html[data-theme=dark] input[type=checkbox]{accent-color:#8c9daf}html[data-theme=dark] .count-badge{border-color:#4c4e52;color:#bec1c5}html[data-theme=dark] .workspace-footer,html[data-theme=dark] .sidebar-bottom p{color:#a4a7ab}@media(max-width:700px){html[data-theme=dark] nav{background:#25282df5;border-color:#484b4f;box-shadow:0 8px 32px #0004}}

/* A compact search viewport stays entirely above the on-screen keyboard. */
.keyboard-done{font-size:13px;padding:8px;color:#494d53;flex-shrink:0;min-height:40px}html.keyboard-open,html.keyboard-open body{overflow:hidden}html.keyboard-open nav{display:none}html.keyboard-open #search-view{position:fixed;z-index:50;top:var(--visible-top,0px);left:0;right:0;height:var(--visible-height,100dvh);padding:8px 12px;display:flex;flex-direction:column;gap:8px;overflow:hidden;background:#f5f5f4}html.keyboard-open .search-topbar,html.keyboard-open .search-book-heading,html.keyboard-open .search-mode,html.keyboard-open .inject-bar,html.keyboard-open .search-meta,html.keyboard-open #inline-history,html.keyboard-open #welcome{display:none!important}html.keyboard-open .search-combobox{display:contents}html.keyboard-open .word-search{flex:none;padding:6px 10px;margin:0;border-radius:10px;min-height:50px}html.keyboard-open .word-search input{font-size:16px}html.keyboard-open .search-dropdown{margin:0;flex:0 1 auto;min-height:0;max-height:calc(var(--visible-height,100dvh) - 115px);border-radius:10px}html.keyboard-open .search-option{min-height:42px;padding:9px 10px}html.keyboard-open #result-area{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}html.keyboard-open .result{padding:15px;margin:0 0 8px}html.keyboard-open .result h2{font-size:25px;margin:5px 0}html.keyboard-open .result-label,html.keyboard-open .result .dict{display:none}html.keyboard-open .location{margin:15px 0;gap:8px}html.keyboard-open .location dd{font-size:30px}html.keyboard-open .result-footer{margin-top:8px}html.keyboard-open .empty{padding:12px;font-size:12px}html.keyboard-open #error{margin:0;font-size:12px}html[data-theme=dark].keyboard-open #search-view{background:#1c1e22}html[data-theme=dark] .keyboard-done{color:#c7cbd0}

html.keyboard-open #search-view{padding-top:max(8px,env(safe-area-inset-top))}

html{-webkit-text-size-adjust:100%;text-size-adjust:100%}html.mobile-editing nav{display:none!important}html.catalog-keyboard-open,html.catalog-keyboard-open body{overflow:hidden}html.catalog-keyboard-open #books-view{position:fixed;z-index:50;top:var(--visible-top,0px);left:0;right:0;height:var(--visible-height,100dvh);padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top));display:flex;flex-direction:column;gap:10px;overflow:hidden;background:#f5f5f4}html.catalog-keyboard-open #books-view>:not(.catalog-search):not(#catalog-list):not(.library-collection):not(#catalog-error){display:none!important}html.catalog-keyboard-open .catalog-search{flex:none;margin:0;padding:6px 10px;min-height:50px}html.catalog-keyboard-open #catalog-list{flex:1;min-height:0;overflow:auto;align-content:start;grid-auto-rows:max-content;overscroll-behavior:contain}html[data-theme=dark].catalog-keyboard-open #books-view{background:#1c1e22}@media(max-width:700px),(max-width:1100px) and (pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea,select,#language{font-size:16px!important}.keyboard-done{font-size:13px}.catalog-search input{width:100%;min-width:0}}

.location dt{min-height:2.8em;line-height:1.35}.book-page-reference{display:block;font-size:10px;line-height:1.4;margin-top:6px;color:#6d7073;overflow-wrap:anywhere}html[data-theme=dark] .book-page-reference{color:#b0b2b6}

#relay-read-url,#passwordx-url{display:block;width:100%;min-width:0;font-size:16px;padding:10px;border:1px solid #8a8d9150;border-radius:8px;color:inherit;background:transparent}#relay-watch label,#passwordx-settings label[for="passwordx-url"]{display:block;margin-top:15px}#relay-connect,#passwordx-connect{display:block;margin:10px 0}

.appearance-panel,.language-panel{flex-wrap:wrap}.appearance-panel select,#language{width:230px;max-width:100%;min-height:44px;font-size:16px}.result-labels{margin-top:18px}.settings-caption{margin:28px 0 0;color:#7d7f82;font-size:12px}.muted:empty{display:none}#relay-read-url{font-size:16px}#impaler-settings{scroll-margin-top:24px}

/* Each output has its own format; separator text is preserved literally. */
#format-target,#result-separator{display:block;width:100%;max-width:100%;min-width:0;font:inherit;font-size:16px;color:inherit;background:transparent;border:1px solid #878889;border-radius:12px;padding:12px;margin:8px 0 16px}#format-target{margin-bottom:22px}.separator-label{display:block;margin-top:20px}.separator-presets{display:flex;gap:8px;flex-wrap:wrap}.separator-presets button{border:1px solid #878889;border-radius:8px;min-width:42px;padding:6px 12px;white-space:pre}.copy-preview output{white-space:pre-wrap;overflow-wrap:anywhere}
#toast{left:50%;top:auto;bottom:28px;z-index:100;max-width:calc(100vw - 32px);width:max-content;box-sizing:border-box;background:#62666a;color:#fff;font-size:13px;font-weight:400;padding:8px 14px;border:0;border-radius:8px;box-shadow:0 2px 8px #0002;pointer-events:none}#toast strong{font-weight:400}.toast-detail{display:none}
@media(max-width:760px){#toast{bottom:calc(env(safe-area-inset-bottom,0px) + 102px)}}

#speech-settings label:not(.toggle-row){display:block;margin-top:14px}#speech-repeats,#speech-gap{width:100%;box-sizing:border-box;min-width:0;font:inherit;font-size:16px;padding:12px;border-radius:12px;border:1px solid #878889;background:transparent;color:inherit;margin-top:6px}.speech-actions{display:flex;justify-content:space-between;gap:16px;margin-top:12px}

/* Match the language/theme controls in both themes, including native option menus. */
#format-target,#speech-repeats,#speech-gap,#result-separator{background:#f1f2f4;color:#47515e;border:1px solid #d7d8da;border-radius:8px;padding:10px 12px;min-height:44px;font-size:16px}#format-target option,#speech-repeats option{background:#f1f2f4;color:#47515e}label[for=format-target],#speech-settings label:not(.toggle-row){color:#47515e;font-size:13px}
html[data-theme=dark] #format-target,html[data-theme=dark] #speech-repeats,html[data-theme=dark] #speech-gap,html[data-theme=dark] #result-separator{background:#30343b;color:#e0e4e9;border-color:#4b535f}html[data-theme=dark] #format-target option,html[data-theme=dark] #speech-repeats option{background:#30343b;color:#e0e4e9}html[data-theme=dark] label[for=format-target],html[data-theme=dark] #speech-settings label:not(.toggle-row){color:#e0e4e9}

:is(#settings-view, #presets-view) .page-heading .settings-caption{margin:8px 0 0;font-size:13px;color:#707780}html[data-theme=dark] :is(#settings-view, #presets-view) .page-heading .settings-caption{color:#aab2bf}

#speech-format-settings{margin-top:20px}#speech-format-settings label{display:block;font-size:13px;margin-bottom:8px}#speech-label-mode{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #d4d8dd;border-radius:8px;font:inherit;font-size:16px;background:#f1f2f4;color:#47515e}#speech-label-mode option{background:#f1f2f4;color:#47515e}html[data-theme=dark] #speech-label-mode,html[data-theme=dark] #speech-label-mode option{background:#30343b;color:#e0e4e9;border-color:#4b535f}

/* Output selection is a segmented switch, not a select menu. */
#format-target.format-switch{display:flex;flex-wrap:wrap;gap:5px;width:100%;padding:5px;margin:18px 0 22px;background:#eceef1;border:1px solid #d4d8dd;border-radius:12px}.format-switch button{flex:1 1 calc(50% - 5px);min-width:0;min-height:42px;padding:9px 10px;border-radius:8px;color:#66707d;font-size:13px;line-height:1.25;overflow-wrap:anywhere}.format-switch button[aria-selected=true]{background:#fff;color:#28313e;box-shadow:0 1px 4px #0002;font-weight:600}.format-switch button:hover{color:#28313e}html[data-theme=dark] #format-target.format-switch{background:#1c1e22;border-color:#414852}html[data-theme=dark] .format-switch button{color:#aeb7c4}html[data-theme=dark] .format-switch button[aria-selected=true]{background:#414b59;color:#f3f5f8;box-shadow:none}html[data-theme=dark] .format-switch button:hover{color:#f3f5f8}
.api-heading,.api-actions,.api-section-heading,.api-connection-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.api-heading h2{margin:4px 0}.api-switch input{width:38px;height:22px;accent-color:#71849b}.api-panel label:not(.api-switch){display:block;font-size:12px;margin:14px 0 6px}.api-panel input:not([type=checkbox]),.api-panel textarea,#api-source{width:100%;max-width:100%;min-width:0;padding:10px 12px;border:1px solid #d4d8dd;border-radius:9px;background:#f1f2f4;color:#47515e;font:inherit;font-size:16px}.api-panel textarea{min-height:70px;resize:vertical}.method-switch{display:flex;gap:4px;padding:4px;border-radius:10px;background:#e7eaee;margin:16px 0}.method-switch button{flex:1;min-height:38px;border-radius:7px;padding:7px 10px;font-size:13px;color:#66707d}.method-switch button[aria-pressed=true]{background:#fff;color:#28313e;box-shadow:0 1px 3px #0002;font-weight:600}.api-actions{margin-top:14px}.api-section-heading{margin-top:28px;padding-top:22px;border-top:1px solid #d4d8dd}.api-section-heading h3{font-size:14px;margin:0}.api-connection{border:1px solid #d4d8dd;border-radius:14px;padding:16px;margin-top:14px;background:#f7f8fa}.api-connection-title h3{font-size:14px;margin:0;overflow-wrap:anywhere}.api-connection-title button{font-size:18px;color:#71849b}.api-meta{font-size:11px;color:#717b88;margin-top:14px;overflow-wrap:anywhere}.api-example{font-size:12px;background:#eceef1;padding:12px;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}.api-panel .muted{overflow-wrap:anywhere}.api-panel .eyebrow{font-size:8px}.api-connection .api-toggle-row{display:flex!important;align-items:center;justify-content:space-between}.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}#api-source{margin-top:8px}#api-settings{scroll-margin-top:24px}
html[data-theme=dark] .api-panel input:not([type=checkbox]),html[data-theme=dark] .api-panel textarea,html[data-theme=dark] #api-source{background:#30343b;color:#e0e4e9;border-color:#4b535f}html[data-theme=dark] .method-switch,html[data-theme=dark] .api-example{background:#1c1e22}html[data-theme=dark] .method-switch button{color:#aeb7c4}html[data-theme=dark] .method-switch button[aria-pressed=true]{background:#414b59;color:#f3f5f8;box-shadow:none}html[data-theme=dark] .api-connection{background:#22252a;border-color:#414852}html[data-theme=dark] .api-section-heading{border-color:#414852}html[data-theme=dark] .api-meta{color:#aab2bf}

.api-switch{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}.api-switch input,.api-connection-title input[role=switch]{appearance:none;-webkit-appearance:none;position:relative;flex:0 0 36px;width:36px;height:22px;border:0;border-radius:20px;background:#b7bdc6;cursor:pointer}.api-switch input:after,.api-connection-title input[role=switch]:after{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002}.api-switch input:checked,.api-connection-title input[role=switch]:checked{background:#70839b}.api-switch input:checked:after,.api-connection-title input[role=switch]:checked:after{transform:translateX(14px)}.api-switch input:disabled{opacity:.45;cursor:default}

#speech-label-mode.method-switch{border:0;padding:4px;margin-top:8px}#speech-label-mode button{white-space:normal;line-height:1.3}
/* Settings sections keep each group short and leave integration controls intact. */
.settings-tabs{display:flex;gap:6px;padding:5px;margin:0 0 24px;background:#e7e9ec;border:1px solid #d9dde2;border-radius:13px;max-width:650px}.settings-tabs button{flex:1;min-width:0;border-radius:9px;padding:12px 14px;color:#626a75;font-size:13px;font-weight:550}.settings-tabs button[aria-selected=true]{background:#fff;color:#202936;box-shadow:0 1px 5px #13223814}.settings-tabs button:focus-visible{outline:2px solid #6c819c;outline-offset:2px}.settings-subpanel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.settings-subpanel[hidden]{display:none}.settings-subpanel>.panel{min-width:0;margin:0}.settings-subpanel .panel:has(#format-target),.settings-subpanel #api-settings{grid-column:1/-1}.settings-subpanel .language-panel,.settings-subpanel .appearance-panel{display:grid;gap:12px}.settings-subpanel .about{grid-column:1/-1}html[data-theme=dark] .settings-tabs{background:#1b1e22;border-color:#3d424a}html[data-theme=dark] .settings-tabs button{color:#b8c0cd}html[data-theme=dark] .settings-tabs button[aria-selected=true]{background:#414b59;color:#fff;box-shadow:none}@media(max-width:700px){.settings-tabs{gap:3px;margin-bottom:20px}.settings-tabs button{padding:11px 5px;font-size:11px;line-height:1.4}.settings-subpanel{grid-template-columns:minmax(0,1fr);gap:16px}.settings-subpanel>.panel{grid-column:1}}
.api-summary{cursor:pointer;font-size:17px;font-weight:600;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}.api-summary::-webkit-details-marker{display:none}.api-summary:after{content:'＋';font-size:22px;font-weight:400;color:#8994a3}details[open]>.api-summary:after{content:'−'}.api-details-content{padding-top:24px}.api-summary:focus-visible{outline:2px solid #7c8ba1;outline-offset:6px;border-radius:4px}#speech-format-settings #speech-settings{border:0;border-top:1px solid #d9dde2;padding:22px 0 0;margin-top:22px;border-radius:0;background:transparent;box-shadow:none}.speech-label-toggle{margin-top:22px;font-size:13px}html[data-theme=dark] #speech-format-settings #speech-settings{border-color:#414852}
/* A calm settings list: frequent controls first, details on demand. */
#settings-panel-general{grid-template-columns:minmax(0,1fr);max-width:760px;gap:14px}#settings-panel-general>.panel{grid-column:1;padding:22px 24px}#settings-panel-general .language-panel,#settings-panel-general .appearance-panel{display:flex;align-items:center;justify-content:space-between;gap:20px}#settings-panel-general label{margin:0;font-size:14px}#settings-panel-general select{width:260px;max-width:65%;min-height:44px;border-radius:10px;padding:10px 12px}#settings-panel-general .about{margin-top:6px}.developer-contact{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:18px;line-height:1.7}.developer-contact span:first-child{color:inherit}.advanced-settings{border-top:1px solid #dce0e5;margin-top:24px;padding-top:19px}.advanced-settings>summary{cursor:pointer;font-size:14px;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:4px 0;min-height:36px}.advanced-settings>summary::-webkit-details-marker{display:none}.advanced-settings>summary:after{content:'＋';font-size:20px;font-weight:400;color:#7d8794}.advanced-settings[open]>summary:after{content:'−'}.advanced-settings>summary:focus-visible{outline:2px solid #778aa2;outline-offset:4px;border-radius:4px}.advanced-body{padding-top:12px}.advanced-body .toggle-row{font-size:13px;line-height:1.5;min-height:44px}.advanced-body .toggle-row+.toggle-row{margin-top:8px;padding-top:12px}.uncertain-preview output{overflow-wrap:anywhere}.uncertain-preview>span{text-transform:none;letter-spacing:.2px;font-size:11px}.copy-preview{border:1px solid #dfe3e8}.settings-subpanel [hidden]{display:none!important}html[data-theme=dark] .advanced-settings,html[data-theme=dark] .advanced-body .toggle-row,html[data-theme=dark] .copy-preview{border-color:#3c434e}html[data-theme=dark] .advanced-settings>summary{color:#e1e6ee}@media(max-width:700px){#settings-panel-general>.panel{padding:20px}#settings-panel-general select{width:205px;font-size:16px}#settings-panel-general .language-panel,#settings-panel-general .appearance-panel{gap:12px}.advanced-body .toggle-row{gap:16px}.developer-contact{flex-direction:column;gap:2px}}
#settings-panel-general #language{border:1px solid #d4d8dd;background:#f1f2f4;color:#47515e;font-size:16px}html[data-theme=dark] #settings-panel-general #language{border-color:#4b535f;background:#30343b;color:#e0e4e9}
/* Quiet settings: one surface, simple rows and explicit output sections. */
:is(#settings-view, #presets-view){max-width:820px}:is(#settings-view, #presets-view) .page-heading{margin-bottom:25px}:is(#settings-view, #presets-view) h1{font-size:34px;letter-spacing:-1px}#settings-tabs{background:transparent;border:0;border-bottom:1px solid #dce0e5;border-radius:0;padding:0;gap:24px;max-width:none;margin-bottom:30px}#settings-tabs button{flex:0 1 auto;padding:12px 0 15px;border-radius:0;background:transparent;box-shadow:none;color:#828994;font-size:14px;font-weight:400;border-bottom:2px solid transparent;margin-bottom:-1px}#settings-tabs button[aria-selected=true]{color:#263442;border-bottom-color:#526477;background:transparent;box-shadow:none;font-weight:600}#settings-panel-general{background:#fff;border:1px solid #e4e7eb;border-radius:16px;gap:0;max-width:none;overflow:hidden}#settings-panel-general>.panel{border:0;border-bottom:1px solid #eceef1;border-radius:0;background:transparent;padding:22px 24px;margin:0;box-shadow:none}#settings-panel-general>.panel:last-child{border-bottom:0}#settings-panel-general .about{padding-top:26px;padding-bottom:26px}#settings-panel-general .about .eyebrow{font-size:13px;letter-spacing:1px;color:#4d5865}#settings-panel-general .about p{font-size:12px;line-height:1.8}#settings-panel-general select{border-color:transparent;background:transparent}#settings-panel-general #language{border-color:transparent;background:transparent}#settings-panel-result{display:block}#settings-panel-result>.panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.format-destination-label{font-size:12px;color:#7d8794;margin:0 0 9px}:is(#settings-view, #presets-view) .format-switch{display:flex;flex-wrap:wrap;gap:4px 10px;padding:0 0 22px;border:0;border-bottom:1px solid #e1e5e9;border-radius:0;background:transparent;margin:0}:is(#settings-view, #presets-view) .format-switch button{flex:0 1 auto;padding:9px 12px;border-radius:8px;font-size:13px;background:transparent;color:#798493;box-shadow:none;min-height:40px}:is(#settings-view, #presets-view) .format-switch button[aria-selected=true]{background:#e9edf1;color:#233345;font-weight:600;box-shadow:none}.settings-section-title{font-size:17px;font-weight:550;letter-spacing:-.2px;margin:26px 0 14px;color:#303e4d}:is(#settings-view, #presets-view) .copy-fields{gap:0 26px;margin-top:0}:is(#settings-view, #presets-view) .copy-option{border:0;border-bottom:1px solid #e6e9ed;border-radius:0;padding:13px 0;background:transparent;color:#586574;font-size:13px;min-height:45px}:is(#settings-view, #presets-view) .copy-option:has(input:checked){background:transparent;color:#334455;border-color:#e6e9ed}:is(#settings-view, #presets-view) #separator-settings{margin-top:24px;display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px 16px;align-items:center}:is(#settings-view, #presets-view) #separator-settings .separator-label{margin:0;font-size:13px}:is(#settings-view, #presets-view) #result-separator{margin:0;min-height:42px}:is(#settings-view, #presets-view) .separator-presets{grid-column:2;gap:7px;margin:0;display:flex;flex-wrap:wrap}:is(#settings-view, #presets-view) .separator-presets button{min-width:34px;min-height:34px;border:0;border-radius:6px;background:#eef0f3;padding:6px 10px}#separator-hint{grid-column:2;margin:0;font-size:11px}:is(#settings-view, #presets-view) .copy-preview{border:0;border-left:2px solid #c7d0da;border-radius:0;background:transparent;box-shadow:none;padding:2px 0 2px 15px;margin:24px 0}:is(#settings-view, #presets-view) .copy-preview>span{font-size:11px;letter-spacing:0;color:#87919f}:is(#settings-view, #presets-view) .copy-preview output{margin-top:5px;color:#35465a;font-size:15px;line-height:1.7}.unmatched-section{margin-top:28px;padding-top:1px;border-top:1px solid #e0e5ea}.unmatched-section .advanced-body{padding:0}.unmatched-section .toggle-row{padding:12px 0;min-height:48px;font-size:13px}.unmatched-section .toggle-row+.toggle-row{padding-top:12px;margin-top:0;border-top:1px solid #e8ebee}.unmatched-section .uncertain-preview{margin-bottom:8px}#settings-panel-integrations{grid-template-columns:minmax(0,1fr);gap:0}#settings-panel-integrations>.panel{grid-column:1;background:transparent;border:0;border-bottom:1px solid #e0e5ea;border-radius:0;padding:24px 0;margin:0}.settings-subpanel .toggle-row input{width:34px;height:20px}.settings-subpanel .toggle-row input:before{width:14px;height:14px}.developer-contact{font-size:12px}html[data-theme=dark] #settings-tabs{border-color:#343b43}html[data-theme=dark] #settings-tabs button{color:#8e9aa8}html[data-theme=dark] #settings-tabs button[aria-selected=true]{color:#e2e8ef;border-color:#9aaabc}html[data-theme=dark] #settings-panel-general{background:#23272c;border-color:#353c44}html[data-theme=dark] #settings-panel-general>.panel{border-color:#343a42;background:transparent}html[data-theme=dark] #settings-panel-general #language,html[data-theme=dark] #settings-panel-general select{background:transparent;color:#dce3ec;border-color:transparent}html[data-theme=dark] :is(#settings-view, #presets-view) .format-switch,html[data-theme=dark] :is(#settings-view, #presets-view) .copy-option,html[data-theme=dark] .unmatched-section,html[data-theme=dark] .unmatched-section .toggle-row+.toggle-row,html[data-theme=dark] #settings-panel-integrations>.panel{border-color:#343c46}html[data-theme=dark] :is(#settings-view, #presets-view) .format-switch button{color:#a1adbb}html[data-theme=dark] :is(#settings-view, #presets-view) .format-switch button[aria-selected=true]{background:#303945;color:#ecf0f5}html[data-theme=dark] .settings-section-title,html[data-theme=dark] :is(#settings-view, #presets-view) .copy-option,html[data-theme=dark] :is(#settings-view, #presets-view) .copy-preview output{color:#d6dfe9}html[data-theme=dark] :is(#settings-view, #presets-view) .copy-preview{border-color:#66788f}html[data-theme=dark] :is(#settings-view, #presets-view) .separator-presets button{background:#2b333d;color:#c7d1df}html[data-theme=dark] #settings-panel-general .about .eyebrow{color:#ccd6e1}@media(max-width:700px){#settings-tabs{gap:23px;margin-bottom:24px}#settings-tabs button{font-size:12px;padding:10px 0 13px}:is(#settings-view, #presets-view) h1{font-size:31px}:is(#settings-view, #presets-view) .page-heading{margin-bottom:20px}#settings-panel-general>.panel{padding:19px 18px}:is(#settings-view, #presets-view) .format-switch{gap:4px 2px;padding-bottom:17px}:is(#settings-view, #presets-view) .format-switch button{padding:8px 10px;font-size:12px}:is(#settings-view, #presets-view) #separator-settings{grid-template-columns:88px minmax(0,1fr);gap:9px 12px}.settings-section-title{font-size:16px;margin-top:24px}.unmatched-section{margin-top:24px}:is(#settings-view, #presets-view) .copy-fields{column-gap:20px}}
:is(#settings-view, #presets-view) [hidden]{display:none!important}
/* Native menus inherit the chosen theme; selected settings values sit by the arrow. */
html[data-theme=dark] select{color-scheme:dark}html[data-theme=dark] select option,html[data-theme=dark] select optgroup{background-color:#20242a;color:#e5eaf1;color-scheme:dark}html[data-theme=light] select{color-scheme:light}#settings-panel-general #language,#settings-panel-general #theme{text-align:right;text-align-last:right;padding-right:12px}#settings-panel-general select option{text-align:left}
