:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d2825;background:#f5f2ea;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #1d2825;--muted: #6f7873;--line: #dcd9cf;--surface: #fffdf8;--surface-2: #eeece4;--accent: #146c5b;--accent-dark: #0c5144;--highlight: #dcebe4;--danger: #a83d32}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at top left,#fbfaf6 0,transparent 42%),#f5f2ea}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid rgba(20,108,91,.25);outline-offset:3px}.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}.app-shell{width:min(1180px,calc(100% - 32px));margin:0 auto}.site-header{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;color:#fff;background:var(--accent);font-family:Georgia,serif;font-size:19px}.brand strong,.brand small{display:block}.brand strong{font-family:Georgia,serif;font-size:18px}.brand small{margin-top:2px;color:var(--muted);font-size:12px}.language-switch{display:flex;align-items:center;gap:8px;padding:5px;border:1px solid var(--line);border-radius:999px;background:#ffffff73}.language-switch button{border:0;border-radius:999px;padding:8px 13px;background:transparent;cursor:pointer;font-size:14px}.language-switch button.active{background:var(--ink);color:#fff}.language-switch span{color:var(--muted)}.main-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.85fr);gap:46px;padding:64px 0 54px;align-items:start}.hero-copy{max-width:680px;margin-bottom:28px}.eyebrow{color:var(--accent);text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:700}h1,h2,h3,p{margin-top:0}h1{margin-bottom:13px;font:500 clamp(36px,6vw,62px)/1.02 Georgia,serif;letter-spacing:-.035em}.hero-copy p{margin-bottom:0;color:var(--muted);font-size:18px;line-height:1.6}.search-field-wrap{position:relative;display:flex;align-items:center;height:64px;border:1px solid #cbc8bf;border-radius:18px;background:var(--surface);box-shadow:0 14px 36px #2d343014;transition:border-color .2s,box-shadow .2s}.search-field-wrap:focus-within{border-color:var(--accent);box-shadow:0 14px 40px #146c5b1f}.search-field-wrap>svg{width:22px;margin-left:20px;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round}.search-field-wrap input{min-width:0;flex:1;height:100%;border:0;outline:0;padding:0 14px;background:transparent;color:var(--ink);font-size:17px}.search-field-wrap input::placeholder{color:#90958f}.search-field-wrap kbd,footer kbd{border:1px solid var(--line);border-bottom-width:2px;border-radius:7px;background:var(--surface-2);color:var(--muted);font-size:11px;padding:4px 7px;white-space:nowrap}.search-field-wrap kbd{margin-right:16px}.clear-button,.close-button{border:0;background:transparent;cursor:pointer;color:var(--muted)}.clear-button{width:34px;height:34px;border-radius:50%;font-size:24px}.clear-button:hover,.close-button:hover{background:var(--surface-2);color:var(--ink)}.spinner{width:18px;height:18px;border:2px solid #d5d7d2;border-top-color:var(--accent);border-radius:50%;animation:spin .75s linear infinite;margin-right:14px;flex:0 0 auto}@keyframes spin{to{transform:rotate(360deg)}}.search-meta{min-height:32px;display:flex;justify-content:space-between;gap:16px;padding:10px 4px 0;color:var(--muted);font-size:13px}.recent{padding:22px 0 6px}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{margin:0;font-size:14px}.section-heading button{border:0;background:none;color:var(--accent);cursor:pointer;font-size:13px}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.chips button,.example-button{border:1px solid var(--line);border-radius:999px;background:#ffffff8c;cursor:pointer}.chips button{padding:8px 12px;font-size:13px}.chips button:hover,.example-button:hover{border-color:var(--accent);color:var(--accent)}.results{display:grid;gap:10px;margin-top:20px}.result-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 20px;border:1px solid var(--line);border-radius:16px;background:#fffdf8bd;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease}.result-card:hover{transform:translateY(-2px);border-color:#b8c8c1;background:var(--surface)}.result-content{min-width:0;display:grid;gap:6px}.keyword{font:600 21px/1.25 Georgia,serif}.translation{color:#46504c;line-height:1.5}.root-info{display:grid;gap:3px;margin-top:7px;padding-top:10px;border-top:1px dashed var(--line);color:var(--muted);font-size:13px}.root-label{color:var(--accent);font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.open-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto;border-radius:50%;background:var(--surface-2)}.open-icon svg{width:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}mark{border-radius:4px;background:var(--highlight);color:inherit;padding:0 .08em}.empty-state{padding:55px 24px;border:1px dashed #cac7be;border-radius:20px;text-align:center;background:#ffffff47}.empty-icon,.book-mark{display:grid;place-items:center;margin:0 auto 18px;background:var(--highlight);color:var(--accent-dark);font-family:Georgia,serif}.empty-icon{width:54px;height:54px;border-radius:17px}.empty-state h2{margin-bottom:8px;font:500 24px Georgia,serif}.empty-state p{max-width:460px;margin:0 auto;color:var(--muted);line-height:1.6}.example-button{margin-top:18px;padding:9px 15px}.details-panel{position:sticky;top:24px;min-height:390px;padding:28px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 18px 42px #2d343012}.details-placeholder{display:grid;align-content:center;text-align:center}.book-mark{width:66px;height:78px;border-radius:7px 7px 17px 17px}.details-placeholder h2{margin-bottom:9px;font:500 25px Georgia,serif}.details-placeholder p{margin:0;color:var(--muted);line-height:1.6}.details-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--line)}.details-header h2{margin:5px 0 0;font:500 27px Georgia,serif}.close-button{width:38px;height:38px;border-radius:50%;font-size:26px}.detail-loading{display:flex;align-items:center;padding:32px 0;color:var(--muted)}.detail-list{display:grid;gap:0}.detail-entry{padding:20px 0;border-bottom:1px solid var(--line)}.detail-entry:last-child{border-bottom:0}.detail-entry h3{margin-bottom:7px;font:600 19px Georgia,serif}.detail-entry p{margin:0;color:#46504c;line-height:1.55}.muted{color:var(--muted)}.error-message{margin-top:18px;padding:13px 15px;border:1px solid #e3bcb6;border-radius:12px;background:#fff2ef;color:var(--danger);line-height:1.45}footer{display:flex;justify-content:center;padding:24px 0 38px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}@media (max-width: 860px){.main-layout{grid-template-columns:1fr;gap:30px;padding-top:44px}.details-panel{position:static;min-height:0}}@media (max-width: 620px){.app-shell{width:min(100% - 22px,1180px)}.site-header{align-items:flex-start;flex-direction:column;padding:18px 0}.language-switch{width:100%;justify-content:space-between}.language-switch button{flex:1}.main-layout{padding-top:34px}h1{font-size:39px}.hero-copy p{font-size:16px}.search-field-wrap kbd{display:none}.search-meta{flex-direction:column;gap:3px}.result-card{padding:17px}.details-panel{padding:22px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}#translation-direction{display:inline-block;transition:transform .2s ease}#translation-direction.reverse{transform:rotate(180deg)}
