/* FreeStudyAdda Logarithm Lab | design adapted from uploaded Stitch learning lab */
:root{--ll-ink:#10223e;--ll-muted:#5a6b85;--ll-blue:#137dbb;--ll-blue-dark:#08628f;--ll-lav:#6d4bd2;--ll-mint:#087c58;--ll-stroke:#dfe8f3;--ll-bg:#f8faff;--ll-white:#fff;--ll-sky:#eaf7ff;--ll-gold:#fff5dd;--ll-radius:17px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color-scheme:light}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ll-bg);color:var(--ll-ink);line-height:1.5}
button,input,select{font:inherit}
button,a,input,select{outline-offset:3px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #1c92de}
a{color:inherit;text-decoration:none}
button{cursor:pointer}
.ll-container{width:min(1280px,calc(100% - 40px));margin-inline:auto}
.ll-top{background:#fff;border-bottom:1px solid #e9edf6}
.ll-headrow{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:74px}
.ll-brand{display:flex;align-items:center;gap:12px;min-width:0}
.ll-brandicon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#315fe5;color:white;font-weight:900;font-size:22px}
.ll-brand strong{font-size:17px;display:block;font-weight:800;line-height:1.2}
.ll-brand small{display:block;color:var(--ll-muted);font-size:10px;letter-spacing:.04em}
.ll-head-actions{display:flex;align-items:center;gap:14px;font-size:13px}
.ll-head-actions a{color:#37567a;font-weight:600}
.ll-langlabel{color:#52617c;font-weight:600}
#ll-lang{padding:8px;border:1px solid var(--ll-stroke);border-radius:9px;background:white}
.ll-nav{background:#fff;position:sticky;top:0;z-index:15;border-bottom:1px solid var(--ll-stroke);box-shadow:0 3px 10px #10234005}
.ll-tabs{display:flex;gap:7px;align-items:center;overflow-x:auto;scrollbar-width:thin;padding-block:9px;white-space:nowrap}
.ll-tabs a{display:inline-flex;align-items:center;gap:5px;border-radius:9px;padding:9px 12px;font-size:13px;font-weight:700;color:#4e5b70}
.ll-tabs a:hover{background:#f2f7ff}
.ll-tabs a.active{background:#e8f2ff;color:#145cb7}
.ll-main{padding-block:30px 65px;min-height:70vh}
.ll-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.78fr);gap:48px;align-items:center;padding:35px 0 50px}
.ll-pill,.ll-eyebrow{display:inline-flex;align-items:center;gap:6px;color:#7050b9;background:#f2edff;padding:7px 13px;font-size:12px;font-weight:800;letter-spacing:.025em;border-radius:999px}
.ll-hero h1{font-size:clamp(38px,4.2vw,62px);line-height:1.1;letter-spacing:-.048em;max-width:700px;margin:22px 0}
.ll-hero p,.ll-section-heading p{font-size:16px;color:var(--ll-muted);max-width:685px;line-height:1.75}
.ll-hero-actions,.ll-hero-tags,.ll-inline,.ll-print-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ll-hero-actions{margin:25px 0}
.ll-hero-tags span{background:white;border:1px solid #ebeff6;border-radius:9px;padding:8px 11px;font-size:12px;color:#425978}
.ll-hero-widget{background:white;border-radius:22px;padding:28px;border:1px solid #e6eaf3;box-shadow:0 12px 45px #183a660d}
.ll-widget-tag{font-size:12px;color:var(--ll-mint);font-weight:800;letter-spacing:.05em}
.ll-hero-widget label{display:block;font-size:14px;font-weight:650;margin:15px 0 7px}
.ll-hero-widget .ll-inline input{flex:1;min-width:110px}
.ll-btn{border:1px solid #cfdcea;padding:11px 16px;border-radius:10px;background:#fff;font-weight:750;color:#1d4069;min-height:43px;display:inline-flex;justify-content:center;align-items:center;gap:7px;white-space:normal;text-align:center}
.ll-btn.primary{background:#206fd1;color:#fff;border-color:#206fd1;box-shadow:0 4px 14px #206fd127}
.ll-btn.primary:hover{background:#1254ae}
.ll-btn.soft{background:#ecf5ff;color:#176caf;border-color:#ecf5ff}
.ll-btn:disabled{opacity:.55;cursor:not-allowed}
.ll-hero-widget .ll-inline button{flex-shrink:0}
input[type=number],input[type=text],select{border:1px solid #cdd9e9;background:#fff;border-radius:10px;padding:10px 12px;min-height:43px;color:var(--ll-ink);max-width:100%}
.ll-hero-widget input{width:100%}
.ll-big-number{border-radius:15px;background:linear-gradient(125deg,#eff9ff,#f7f5ff);border:1px solid #d8eaf8;padding:20px;margin-top:18px;min-height:125px;display:flex;flex-direction:column;justify-content:center;gap:6px;font-variant-numeric:tabular-nums}
.ll-big-number strong{font-size:clamp(26px,3vw,38px);letter-spacing:-.04em;color:#12689a;overflow-wrap:anywhere}
.ll-kpi-label{font-size:14px;font-weight:800;color:#50657b}
.ll-kpi-sub,.ll-muted{font-size:13px;color:var(--ll-muted)}
.ll-section-heading{margin:12px 0 25px}
.ll-section-heading h1,.ll-section-heading h2{font-size:clamp(28px,3vw,39px);letter-spacing:-.035em;margin:10px 0}
.ll-section-heading .ll-eyebrow{background:transparent;padding:0;color:#3664bc}
.ll-spacing{margin-top:8px}
.ll-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ll-toolgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
.ll-tool{display:flex;flex-direction:column;gap:9px;min-height:195px;padding:24px;background:#fff;border:1px solid var(--ll-stroke);border-radius:var(--ll-radius);transition:transform .2s,border-color .2s,box-shadow .2s}
.ll-tool:hover{transform:translateY(-3px);border-color:#9bc5ee;box-shadow:0 8px 24px #204f8512}
.ll-tool-icon{font-size:29px}
.ll-tool strong{font-size:16px}
.ll-tool small{color:var(--ll-muted);font-size:13px;line-height:1.4}
.ll-arrow{color:var(--ll-blue);font-size:13px;font-weight:800;margin-top:auto}
.ll-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.ll-card{padding:23px;border:1px solid var(--ll-stroke);border-radius:var(--ll-radius);background:white;box-shadow:0 2px 8px #182a4106;min-width:0}
.ll-card h2{font-size:20px;letter-spacing:-.02em;margin:0 0 16px}
.ll-card label{font-weight:750;font-size:13px;display:block;margin:12px 0 6px}
.ll-card input,.ll-card select{width:100%}
.ll-card .ll-inline input{width:0;min-width:110px;flex:1}
.ll-lookup-card{min-height:280px}
.ll-lookup-result{border-top:1px solid #ebf0f6;margin-top:20px;padding-top:14px;font-variant-numeric:tabular-nums}
.ll-lookup-result p{margin:9px 0;font-size:13px}
.ll-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ll-metrics>div{padding:13px;background:#f4f8ff;border-radius:12px;min-width:0}
.ll-metrics span{display:block;font-size:11px;color:var(--ll-muted);margin-bottom:8px}
.ll-metrics strong{font-size:20px;color:#0a698d;overflow-wrap:anywhere}
.ll-note{padding:12px 14px;background:#f3f0ff;border-left:4px solid #9066e0;border-radius:6px;font-size:13px;color:#4d426c}
.ll-steps{padding-left:20px;line-height:1.75;font-size:14px}
.ll-table-card{margin-top:18px;overflow:hidden}
.ll-tablebar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.ll-tablebar p{color:var(--ll-muted);font-size:13px}
.ll-chip{background:#eaf6ff;color:#136b9b;font-weight:700;font-size:12px;padding:6px 12px;border-radius:9px}
.ll-table-scroll{overflow:auto;max-height:min(67vh,640px);border:1px solid #d9e5f0;border-radius:11px;scrollbar-width:thin}
.ll-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-size:12px;text-align:center}
.ll-table th,.ll-table td{padding:8px 9px;border-right:1px solid #eff2f8;border-bottom:1px solid #eef2f8;min-width:49px}
.ll-table thead th{position:sticky;top:0;z-index:3;background:#e9f2ff;color:#25426a;font-size:11px;font-weight:900}
.ll-table .ll-rowhead{position:sticky;left:0;z-index:2;background:#f5f9ff;color:#355b7a;font-weight:850;min-width:55px}
.ll-table thead .ll-rowhead{z-index:5}
.ll-table td[data-table-row]{cursor:pointer}
.ll-table td[data-table-row]:hover{background:#d9edff}
.ll-table .ll-rowactive{background:#eaf5ff}
.ll-table .ll-selected{background:#b9e5ff!important;color:#074c87;font-weight:900;box-shadow:inset 0 0 0 2px #228bd2}
.ll-table .ll-mdhead{background:#fff3d6}
.ll-table .ll-mdcell{background:#fffaf0;color:#936b27}
.ll-twofields{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:13px 0}
.ll-output-card{min-height:290px}
.ll-result{background:#e9fff4;border:1px solid #b7e8ce;padding:20px;border-radius:12px;margin:12px 0;color:#155a3e}
.ll-result span{font-size:13px;font-weight:750;display:block}
.ll-result strong{display:block;font-size:29px;letter-spacing:-.03em;margin:5px 0;overflow-wrap:anywhere}
.ll-error,.ll-feedback{background:#fff3ef;color:#9a3225;border:1px solid #f1cdc5;padding:14px;border-radius:12px}
.ll-lessons{display:grid;gap:7px}
.ll-lessons button{text-align:left;background:#f8fbff;border:1px solid #e5ecf6;padding:12px;border-radius:10px;font-weight:700;color:#3b516c}
.ll-lessons button span{margin-right:10px;color:#6991bb}
.ll-lessons button.active{background:#eaf4ff;border-color:#a3cbf0;color:#185db0}
.ll-lesson-body{padding:10px 5px}
.ll-lesson-body h3{font-size:24px}
.ll-lesson-body p{font-size:16px;line-height:1.7}
.ll-radio{display:inline-flex!important;align-items:center;margin:0!important;gap:7px}
.ll-radio input{width:auto}
.ll-quizbox{max-width:760px;margin:0 auto;background:#fff;padding:30px;border-radius:20px;border:1px solid #e0e8f4;box-shadow:0 9px 30px #123d7009}
.ll-quiztop{display:flex;justify-content:space-between;color:#587192;font-size:13px;font-weight:800}
.ll-progress{height:8px;border-radius:99px;background:#eaf0f8;margin:15px 0 24px;overflow:hidden}
.ll-progress span{display:block;background:#2389c1;height:100%}
.ll-quizbox h2{font-size:23px;margin-bottom:25px}
.ll-choices{display:grid;gap:9px;margin-bottom:18px}
.ll-choices button{border:1px solid #dde7f2;border-radius:10px;padding:13px 15px;text-align:left;background:#fcfdff;color:#233b57;min-height:48px;font-size:15px}
.ll-choices button.selected{border-color:#258fd1;background:#e7f5ff}
.ll-choices button.correct{background:#e2faed;border-color:#50bb86}
.ll-choices button.wrong{background:#fff0ee;border-color:#ef987a}
.ll-feedback{background:#effbf4;color:#185b3f;border-color:#c4e9d1;margin-bottom:14px}
.ll-formula-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ll-equation{font-size:20px;font-weight:800;padding:20px 12px;background:#f3f0ff;border-radius:10px;margin-bottom:12px;overflow-wrap:anywhere}
.ll-print-actions{margin-bottom:20px}
.ll-paper{margin-bottom:23px}
.ll-printlaws{font-size:13px;line-height:1.7}
.ll-status:empty{display:none}
.ll-status:not(:empty){position:fixed;right:18px;bottom:18px;max-width:min(420px,calc(100% - 36px));background:#172e4a;color:white;padding:13px 18px;border-radius:10px;box-shadow:0 5px 20px #0a234233;z-index:50}
.ll-footer{border-top:1px solid var(--ll-stroke);padding:25px 0;color:#677791;background:#fff;font-size:13px}
.ll-footer a{color:var(--ll-blue);text-decoration:underline}
@media(max-width:1020px){.ll-toolgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.ll-hero{gap:22px}.ll-other{display:none}}
@media(max-width:760px){.ll-container{width:min(100% - 26px,1280px)}.ll-headrow{min-height:62px}.ll-brand small{display:none}.ll-head-actions{gap:6px}.ll-langlabel{display:none}.ll-nav{top:0}.ll-tabs a{padding:8px;font-size:12px}.ll-main{padding-top:20px}.ll-hero{grid-template-columns:1fr;padding:16px 0 24px}.ll-hero h1{font-size:38px}.ll-hero-widget{padding:20px}.ll-columns,.ll-grid,.ll-formula-grid{grid-template-columns:1fr}.ll-toolgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.ll-tool{padding:16px;min-height:155px}.ll-card{padding:17px}.ll-table th,.ll-table td{padding:7px;font-size:11px;min-width:43px}.ll-quizbox{padding:20px}.ll-metrics strong{font-size:16px}}
@media(max-width:420px){.ll-toolgrid{grid-template-columns:1fr}.ll-hero h1{font-size:34px}.ll-head-actions select{max-width:108px}.ll-twofields{grid-template-columns:1fr}.ll-inline button{width:100%}.ll-hero-widget .ll-inline button{width:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}}
@page{size:A4 landscape;margin:9mm}
@media print{body{background:white;font-size:8pt}.ll-top,.ll-nav,.ll-footer,.ll-print-actions,.ll-hero,.ll-status{display:none!important}.ll-container{max-width:none;width:100%}.ll-main{padding:0}.ll-section-heading{margin:0 0 10px}.ll-section-heading h1{font-size:19px}.ll-paper{break-before:page;margin:0 0 15px}.ll-paper:first-of-type{break-before:auto}.ll-card{border:0;padding:0;box-shadow:none}.ll-card h2{font-size:14px}.ll-table-scroll{overflow:visible;max-height:none;border:0}.ll-table{font-size:6px;width:100%;min-width:0}.ll-table th,.ll-table td{font-size:6px;padding:2px;min-width:0;border-color:#ccc}.ll-table thead th,.ll-table .ll-rowhead{position:static!important}.ll-table thead{display:table-header-group}.ll-table tr{break-inside:avoid}.ll-note,.ll-muted{font-size:8px}.ll-paper .ll-card{break-inside:auto}}