
:root{--bg:#f6f7f5;--surface:#fff;--ink:#202923;--muted:#68716b;--line:#e3e7e2;--green:#276648;--green-deep:#214e38;--mint:#eaf4e9;--lime:#dff19c;--radius:20px;--shadow:0 2px 3px #203c2803,0 10px 32px #203c2807;--sidebar:250px;--header:80px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:102px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.55;letter-spacing:-.012em}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #59865c;outline-offset:3px}input,select{min-width:0}input[type=number]{appearance:textfield}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}button{border:0;background:none}svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.hidden,[hidden]{display:none!important}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;left:20px;top:-60px;z-index:100;background:var(--ink);color:white;padding:12px 20px;border-radius:8px}.skip:focus{top:12px}.app-header{height:var(--header);background:#fffffff5;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:30;gap:20px;backdrop-filter:blur(12px)}.brand{display:inline-flex;gap:11px;align-items:center;font-size:27px;line-height:1;font-weight:760;letter-spacing:-1.4px}.brand-mark{width:36px;height:36px;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-items:center;border-radius:11px;background:var(--ink);color:#fff;font-size:18px;gap:0;padding:5px;box-shadow:0 3px 0 #17231b2b;line-height:12px;letter-spacing:0}.brand-mark span:nth-child(2){color:var(--lime)}.brand-mark span:nth-child(3){color:var(--lime)}.top-tabs{display:flex;align-self:stretch;gap:36px;position:absolute;left:50%;transform:translateX(-50%)}.top-tab{display:flex;align-items:center;gap:9px;position:relative;font-weight:560;color:var(--muted);padding:0 3px}.top-tab.active{color:var(--green-deep)}.top-tab.active:after{content:"";height:3px;position:absolute;left:0;right:0;bottom:-1px;background:var(--green);border-radius:4px 4px 0 0}.header-end{display:flex;align-items:center;gap:24px}.text-link{display:flex;align-items:center;gap:7px;font-size:15px;color:#4e5951}.free-tag{font-size:13px;color:#345344;display:flex;align-items:center;gap:6px}.status-dot{width:6px;height:6px;background:#4c8a58;border-radius:50%;display:inline-block}.icon-btn{width:40px;height:40px;border:1px solid var(--line);background:white;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}.mobile-menu{display:none}.layout{max-width:1760px;margin:auto;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}.sidebar{padding:31px 20px 24px 25px;border-right:1px solid var(--line);background:#fcfdfb;position:sticky;top:var(--header);height:calc(100dvh - var(--header));overflow:auto;scrollbar-width:thin;scrollbar-color:#dfe4df transparent}.side-label{font-size:11px;font-weight:700;letter-spacing:1.45px;color:#7b847d;padding:0 11px;margin:0 0 13px}.side-search{border:1px solid var(--line);border-radius:10px;background:#fff;display:flex;align-items:center;gap:10px;padding:11px 12px;font-size:14px;width:100%;text-align:left;color:var(--muted);margin-bottom:24px}.side-search svg{width:17px}.keyhint{margin-left:auto;font-size:11px;border:1px solid #e6e9e3;border-radius:4px;padding:0 4px;color:#929b93}.side-links{display:grid;gap:4px}.side-link{width:100%;display:flex;align-items:center;gap:11px;padding:10px 11px;border-radius:9px;font-size:14px;color:#5a655c;font-weight:460;text-align:left;transition:background .15s}.side-link svg{width:18px;height:18px;opacity:.78}.side-link:hover{background:#f0f3ed}.side-link.active{background:#eaf2e6;color:#285039;font-weight:650}.side-link.active svg{opacity:1}.side-link .tiny-dot{width:5px;height:5px;border-radius:50%;background:var(--green);margin-left:auto}.side-divider{height:1px;background:var(--line);margin:23px 10px}.side-group summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:11px;padding:11px;font-size:14px;color:#58635c}.side-group summary::-webkit-details-marker{display:none}.side-group summary svg:first-child{width:18px;height:18px}.side-group .chevron{margin-left:auto;width:13px;height:13px;transition:transform .15s}.side-group[open] .chevron{transform:rotate(90deg)}.group-child{display:block;font-size:13px;color:#647068;padding:7px 7px 7px 41px;border-radius:6px}.group-child:hover{color:var(--green);background:#eff4ec}.side-bottom{border:1px solid #e3e9df;background:linear-gradient(135deg,#f6f9f2,#eef4e8);padding:16px 14px;border-radius:13px;margin-top:31px}.side-bottom .small-logo{width:28px;height:28px;background:white;border-radius:8px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 5px #294b2710;color:var(--green);margin-bottom:8px}.side-bottom strong{font-size:14px;display:block}.side-bottom p{margin:4px 0 0;font-size:12px;line-height:1.6;color:#74806f}.main{min-width:0;padding:35px 40px 25px;max-width:1430px;width:100%;margin:0 auto}.intro{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 0 24px}.eyebrow{font-size:11px;letter-spacing:1.4px;color:#74846f;font-weight:700;margin-bottom:7px}.intro h1{font-size:35px;line-height:1.2;font-weight:620;letter-spacing:-1.45px;margin:0 0 8px}.intro p{font-size:15px;margin:0;color:var(--muted)}.intro-art{display:flex;align-items:center;gap:0;min-width:126px;padding:0 9px}.art-tile{height:55px;width:55px;background:linear-gradient(140deg,#fff,#f0f3ec);border:1px solid white;box-shadow:0 5px 0 #e1e6dc,0 10px 18px #27382913;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:30px;color:#61745e;transform:rotate(-12deg);font-weight:400}.art-tile:last-child{background:linear-gradient(140deg,#e5f3c4,#d1e5a0);color:#436327;transform:rotate(12deg);margin-left:-7px;margin-top:18px;box-shadow:0 5px 0 #c3d797,0 10px 18px #27382914}.smart-search{display:flex;align-items:center;gap:13px;background:white;border:1px solid #dce4d7;border-radius:15px;padding:9px 10px 9px 19px;box-shadow:0 4px 14px #203c2805;margin-bottom:10px}.smart-search .search-symbol{color:var(--green);width:23px;height:23px}.smart-search input{flex:1;border:0;outline:0;background:transparent;min-height:38px;font-size:16px;color:var(--ink)}.smart-search input::placeholder{color:#8a928c}.smart-search input:focus-visible{outline:0}.search-go{height:40px;min-width:42px;border-radius:10px;background:#273e2c;color:#eff9d8;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 0 #152319}.suggestions{display:flex;gap:8px;align-items:center;color:#8a918a;font-size:12px;flex-wrap:wrap;margin:0 0 23px;padding-left:2px}.suggestions button{padding:3px 10px;color:#617158;background:#edf0e9;border:1px solid #e7ebe2;border-radius:7px;font-size:12px;transition:background .15s}.suggestions button:hover{background:#e2ebd9}.suggestions .finder-note{margin-left:auto;display:flex;gap:5px;align-items:center;font-size:11px;color:#7b8279}.finder-note svg{width:12px;height:12px}.workspace{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;scroll-margin-top:100px}.workspace-head{display:flex;align-items:center;justify-content:space-between;padding:22px 27px 17px;gap:18px}.tool-heading{display:flex;align-items:center;gap:13px}.tool-icon{width:43px;height:43px;border:1px solid #e3e9df;background:linear-gradient(150deg,#f7faf3,#ecf2e6);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--green);box-shadow:0 2px 1px #36502709}.tool-icon svg{width:22px;height:22px}.tool-heading h1{font-size:21px;line-height:1.4;margin:0;font-weight:630;letter-spacing:-.55px}.tool-heading .sub{font-size:12px;color:#829079;margin-top:2px}.workspace-actions{display:flex;gap:9px}.workspace-actions .small-button{font-size:12px;color:#657060;border:1px solid #e4e9df;border-radius:8px;padding:8px 11px;display:flex;align-items:center;gap:6px}.workspace-actions svg{width:15px;height:15px}.tool-body{padding:7px 27px 23px;min-height:353px}.calc-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,1fr);gap:25px}.calculator-device{background:#f3f5f0;border:1px solid #e7ebe2;border-radius:16px;padding:16px;box-shadow:inset 0 1px 2px #ffffff,0 4px 0 #eef0eb}.calc-display{background:#f9fbf6;border:1px solid #e1e7da;border-radius:12px;padding:10px 17px 11px;text-align:right;min-height:92px;box-shadow:inset 0 2px 4px #30402705;margin-bottom:14px;overflow:auto}.expression-line{font-size:13px;color:#829079;min-height:20px;white-space:nowrap;letter-spacing:.4px}.expression-input{border:0;padding:0;width:100%;display:block;font-size:37px;line-height:1.35;font-weight:520;letter-spacing:-1.5px;text-align:right;background:transparent;outline:0;color:#273827;font-variant-numeric:tabular-nums}.keypad{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.key{height:44px;border:1px solid #e4e8df;background:linear-gradient(180deg,#fff,#fafbf8);border-radius:9px;font-size:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 0 #dde2d7,0 4px 5px #25392404;transition:transform .08s,box-shadow .08s;user-select:none}.key:hover{background:#fff}.key:active{transform:translateY(2px);box-shadow:0 1px 0 #dce2d6}.key.operator{background:#e8efdf;border-color:#e2e9d8;color:#496333;box-shadow:0 3px 0 #d6dfc9}.key.clear{color:#996b52;background:#f3eee8;border-color:#eee5dc;box-shadow:0 3px 0 #e5dcd1;font-size:15px}.key.equal{background:#2b5035;border-color:#2b5035;color:white;box-shadow:0 3px 0 #183d24}.key.zero{grid-column:span 2}.calc-mode{display:flex;align-items:center;gap:10px;margin:14px 1px 0;font-size:11px;color:#89907f}.calc-mode button{font-size:11px;color:#5a6c4d;margin-left:auto;display:flex;gap:4px;align-items:center}.calc-mode svg{width:13px;height:13px}.right-panel{display:flex;flex-direction:column;gap:13px;min-width:0}.result-card{background:linear-gradient(145deg,#f3f8ed,#f7faf4);border:1px solid #e2e9d9;border-radius:15px;padding:20px 21px;flex:1;position:relative;min-height:172px;overflow:hidden}.result-label{font-size:11px;font-weight:650;letter-spacing:1.5px;color:#69805a;display:flex;align-items:center;gap:6px}.result-label svg{width:13px;height:13px}.result-number{font-size:46px;font-weight:540;letter-spacing:-2px;line-height:1.2;margin:13px 0 3px;color:#2b482c;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.result-caption{font-size:12px;color:#7b8872;line-height:1.65}.result-actions{display:flex;gap:8px;margin-top:17px}.small-button{font-size:12px;border:1px solid #dfe5d8;border-radius:8px;min-height:33px;padding:6px 10px;background:#ffffffa6;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#5b7050}.small-button svg{width:14px;height:14px}.small-button.primary{background:#2e5037;border-color:#2e5037;color:white}.note-box{border:1px solid #e8ece4;border-radius:13px;padding:14px 15px;display:flex;gap:10px;align-items:flex-start}.note-box svg{color:#7d8e70;width:18px;height:18px;margin-top:1px}.note-box strong{display:block;font-size:12px;font-weight:600;color:#526448}.note-box p{font-size:12px;line-height:1.65;color:#85907c;margin:3px 0 0}.calculation-details{display:grid;gap:7px;margin-top:14px;padding-top:13px;border-top:1px solid #e2ead9}.detail-row{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#748167}.detail-row strong{color:#425439;font-weight:570;text-align:right}.workspace-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e9ece5;padding:11px 27px;background:#fcfdfb;font-size:11px;color:#87917f;gap:12px}.workspace-footer span{display:flex;gap:6px;align-items:center}.workspace-footer svg{width:13px;height:13px}.workspace-footer button{font-size:11px;color:#6a7a5f;display:flex;align-items:center;gap:5px}.workspace-footer button svg{width:12px}.more-tools{margin:34px 0 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading h2{font-size:23px;font-weight:610;letter-spacing:-.7px;margin:0 0 3px}.section-heading p{font-size:13px;color:var(--muted);margin:0}.section-heading button{font-size:13px;color:#5b6c52;display:flex;align-items:center;gap:6px;white-space:nowrap}.section-heading button svg{width:15px;height:15px}.filter-row{display:flex;gap:8px;margin:0 0 17px;overflow:auto;padding:2px 0 5px;scrollbar-width:none}.filter{white-space:nowrap;display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;padding:6px 13px;border-radius:8px;font-size:12px;color:#778171}.filter.active{color:#446136;background:#eaf1e1;border-color:#dbe6ce;font-weight:600}.filter svg{width:13px;height:13px}.cards-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.tool-card{position:relative;display:flex;flex-direction:column;padding:20px 17px 16px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 0 #edf0e9,0 5px 8px #24362903;transition:transform .18s,box-shadow .18s,border .18s;min-height:164px;overflow:hidden}.tool-card:hover{transform:translateY(-3px);border-color:#b7c7a8;box-shadow:0 5px 0 #e9eee2,0 12px 24px #233c2509}.card-icon{width:39px;height:39px;background:linear-gradient(135deg,#f4f7ef,#e5eddb);color:#5b7846;border:1px solid #e0e9d6;border-radius:11px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 0 #e5e9e0;margin-bottom:13px}.card-icon svg{height:20px;width:20px}.tool-card[data-color=peach] .card-icon{background:linear-gradient(135deg,#fff6ee,#f8e4d3);color:#ad7953;border-color:#f1dfcb;box-shadow:0 3px 0 #eee4da}.tool-card[data-color=blue] .card-icon{background:linear-gradient(135deg,#f2f7fe,#e2ecfa);color:#6384ac;border-color:#e0e8f4;box-shadow:0 3px 0 #e2e8f1}.tool-card[data-color=lilac] .card-icon{background:linear-gradient(135deg,#f7f4fc,#ece4f5);color:#9272ad;border-color:#eae0f3;box-shadow:0 3px 0 #e9e3ef}.tool-card h3{font-size:15px;font-weight:600;letter-spacing:-.3px;line-height:1.35;margin:0 0 5px;padding-right:4px}.tool-card p{font-size:12px;line-height:1.65;color:#84907b;margin:0}.card-arrow{position:absolute;right:15px;top:18px;color:#a6afa0;width:16px;height:16px}.card-status{font-size:10px;letter-spacing:.2px;margin-top:10px;color:#929a8c}.browse-bar{background:linear-gradient(120deg,#edf2e7,#f7f9f1);border:1px solid #dfe7d6;border-radius:15px;padding:20px 23px;display:flex;align-items:center;justify-content:space-between;margin:29px 0;gap:20px}.browse-bar strong{font-size:16px;font-weight:600}.browse-bar p{font-size:13px;color:#7a8870;margin:3px 0 0}.browse-bar button{font-size:13px;background:white;border:1px solid #dce5d3;padding:9px 13px;border-radius:9px;display:flex;align-items:center;gap:9px;white-space:nowrap;box-shadow:0 2px 0 #e5ecde}.why-section{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding:6px 0 26px}.why-item{display:flex;align-items:flex-start;gap:11px}.why-item>svg{width:19px;height:19px;color:#799464;margin-top:4px}.why-item strong{font-weight:590;font-size:13px}.why-item p{font-size:12px;color:#8a9580;margin:4px 0 0;line-height:1.6}.ad-preview{border:1px dashed #dfe4da;border-radius:11px;min-height:78px;margin:5px 0 29px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f5f7f1;gap:4px}.ad-preview strong{font-size:9px;font-weight:600;letter-spacing:1.8px;color:#a0aa96}.ad-preview span{font-size:11px;color:#a0aa96}.faq{border-top:1px solid var(--line);padding:22px 0 6px}.faq h2{font-size:20px;font-weight:610;letter-spacing:-.5px}.faq details{padding:12px 0;border-bottom:1px solid #e5e9e0}.faq summary{cursor:pointer;font-size:14px;font-weight:520;list-style:none;display:flex;justify-content:space-between;align-items:center}.faq summary:after{content:"+";font-size:19px;color:#8b9780}.faq details[open] summary:after{content:"−"}.faq p{font-size:13px;line-height:1.8;color:#77816d;max-width:790px;margin:12px 0 3px}.footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:27px 0 2px;margin-top:25px;border-top:1px solid var(--line)}.footer .brand{font-size:19px;gap:8px}.footer .brand-mark{width:25px;height:25px;font-size:12px;line-height:9px;border-radius:7px;padding:3px}.footer-links{display:flex;gap:18px}.footer-links button{font-size:11px;color:#8a9481}.footer-note{font-size:10px;color:#99a18f;display:block;margin-top:13px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);background:#273c2b;color:#f4f8ef;border:1px solid #40573b;border-radius:12px;padding:13px 21px;box-shadow:0 8px 32px #1b301628;font-size:14px;max-width:min(90vw,610px);z-index:120;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.overlay{position:fixed;inset:0;background:#1b2b255e;backdrop-filter:blur(5px);z-index:70;display:grid;place-items:center;padding:24px}.modal{width:min(760px,100%);background:var(--bg);border-radius:23px;border:1px solid #fff;box-shadow:0 30px 100px #17301d35;max-height:87dvh;overflow:auto}.modal-top{position:sticky;top:0;padding:22px 26px;background:var(--bg);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);z-index:1}.modal-top h2{font-size:21px;font-weight:620;letter-spacing:-.6px;margin:0}.modal-content{padding:23px 26px 28px}.modal-content p{font-size:14px;color:#75806b;line-height:1.8}.modal-content h3{font-size:15px;font-weight:620;margin:21px 0 10px}.modal-search{width:100%;border:1px solid #dbe4d4;border-radius:11px;background:white;padding:12px 15px;font-size:16px;margin-bottom:10px}.directory-group{margin:19px 0}.directory-group h3{font-size:12px;color:#87977c;text-transform:uppercase;letter-spacing:1px}.directory-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.directory-link{padding:10px 11px;background:white;border:1px solid #e4e9de;display:flex;align-items:center;gap:9px;border-radius:9px;font-size:13px}.directory-link svg{width:16px;height:16px;color:#759162}.directory-link span{margin-left:auto;font-size:9px;color:#a3a994}.history-row{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:13px;background:white;padding:14px;margin:10px 0}.history-row .history-open{flex:1;text-align:left}.history-row strong{display:block;font-size:15px}.history-row small{font-size:11px;color:#8b9781}.history-value{font-size:22px;color:var(--green);font-weight:550}.history-delete{color:#979f92;min-height:35px}.empty-history{padding:40px 20px;text-align:center}.empty-history svg{width:37px;height:37px;color:#92a780;margin-bottom:9px}.empty-history h3{font-size:18px}.privacy-note{border:1px solid #e0e8d7;background:#edf3e5;padding:13px 16px;border-radius:10px;font-size:12px;color:#7b896e}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:13px;font-weight:550;color:#67755b}.field input,.field select{width:100%;height:49px;background:#fafcf7;border:1px solid #dfe6d8;border-radius:10px;padding:0 13px;color:#34482c;font-size:16px}.field-wide{grid-column:span 2}.field-hint{font-size:11px;color:#9aa18f}.form-calculate{display:flex;align-items:center;justify-content:center;width:100%;background:#2d5036;border:1px solid #23422b;color:#f5f9ef;box-shadow:0 3px 0 #203c28;border-radius:10px;padding:11px 18px;font-size:15px;font-weight:530;margin-top:20px;gap:9px}.form-note{font-size:11px;line-height:1.7;color:#8f9984;margin-top:15px}.error-note{color:#a55336;font-size:13px;margin:10px 0}.progress-track{height:7px;background:#e0e8d7;display:flex;border-radius:5px;overflow:hidden;margin:15px 0}.progress-track span:first-child{background:#759b50}.progress-track span:last-child{background:#c2d3a9}.science-keys{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:0 0 12px}.science-keys .key{height:34px;font-size:13px;color:#789064;background:#f4f7ef;box-shadow:0 2px 0 #dfe6d6}.time-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.85fr);gap:23px}.timer-stage{border:1px solid #e2e9d9;background:radial-gradient(ellipse at center,#fff 10%,#f2f6ee 100%);border-radius:16px;min-height:330px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:25px;position:relative}.timer-overline{font-size:11px;letter-spacing:1.4px;color:#8b9a7d;margin-bottom:14px}.timer-number{font-size:clamp(44px,4.5vw,70px);font-weight:450;letter-spacing:-2px;font-variant-numeric:tabular-nums;color:#365131;line-height:1.2;white-space:nowrap}.timer-ms{font-size:.6em;color:#98aa87}.timer-labels{font-size:10px;letter-spacing:3px;color:#9aa88d;margin-top:9px}.timer-controls{display:flex;justify-content:center;gap:10px;margin-top:27px}.timer-controls button{height:43px;padding:8px 19px;min-width:108px;border-radius:10px;border:1px solid #dce5d3;font-size:13px;background:#fff;display:flex;align-items:center;justify-content:center;gap:7px;box-shadow:0 2px 0 #e3e8dc}.timer-controls button:first-child{background:#315237;color:#f3fae9;border-color:#315237;box-shadow:0 2px 0 #214126}.preset-list{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:15px}.preset{border:1px solid #dfe7d4;background:#fff;border-radius:9px;padding:9px 7px;font-size:12px;color:#758968}.preset.active{background:#e5efd9;border-color:#cfdcbf;color:#4c6c38}.timer-custom{display:flex;gap:8px;margin-top:15px}.timer-custom input{width:100%;border:1px solid #dfe7d6;border-radius:8px;padding:8px 10px;font-size:13px;background:#fff}.timer-custom button{background:#e2ebd7;border-radius:8px;padding:7px 10px;font-size:12px}.lap-list{max-height:135px;overflow:auto;font-size:12px}.lap-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e3e9db}.clock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.clock-card{background:linear-gradient(140deg,#f5f8ef,#fafbf8);border:1px solid #e2e9da;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:4px}.clock-card.dark{background:#2a3c2f;color:#edf7de;border-color:#2a3c2f}.city-top{display:flex;justify-content:space-between;align-items:center;color:#7a8c6b;font-size:11px;gap:7px}.dark .city-top{color:#b5c7a3}.city-name{font-size:16px;font-weight:590;margin-top:11px}.city-time{font-size:29px;font-variant-numeric:tabular-nums;letter-spacing:-1px;margin-top:3px;white-space:nowrap}.city-date{font-size:11px;color:#8e9a83}.dark .city-date{color:#a0b38f}.calendar-wrap{border:1px solid #e2e8db;border-radius:15px;background:#f9fbf6;padding:20px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.calendar-head strong{font-size:19px;font-weight:580}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:4px}.calendar-week span{font-size:11px;color:#8a9a7a;padding-bottom:13px}.calendar-day{padding:9px 2px;border-radius:8px;font-size:14px}.calendar-day.weekend{color:#91a380}.calendar-day.today{background:#426a33;color:white;font-weight:650}.calendar-day.selected{outline:2px solid #98b783;outline-offset:-2px}.calendar-day:hover{background:#e7efdf}.calendar-day.today:hover{background:#426a33}.calendar-day.muted{opacity:.3}.calendar-aside{padding:20px}.calendar-aside .big-date{font-size:70px;line-height:1.2;font-weight:500;letter-spacing:-3px;color:#62844f}.calendar-aside h3{font-size:16px;font-weight:530;margin:10px 0 2px}.calendar-aside p{font-size:12px;color:#8b9a7b}.coming-panel{border:1px solid #e1e7d9;background:#f7faf2;border-radius:16px;padding:38px;text-align:center}.coming-panel .card-icon{margin:0 auto 18px;width:55px;height:55px}.coming-panel h3{font-size:22px;font-weight:570}.coming-panel p{font-size:14px;max-width:490px;margin:0 auto 20px;color:#7e8e70}.sidebar-backdrop{display:none}
@media(min-width:1550px){.main{padding:40px 55px}.intro h1{font-size:39px}.tool-body{padding:9px 30px 28px}.key{height:50px}.calc-display{min-height:106px}.expression-input{font-size:43px}.tool-card{min-height:180px;padding:22px}.tool-card h3{font-size:17px}.tool-card p{font-size:13px}.calc-mode{font-size:12px}.note-box p,.result-caption,.detail-row{font-size:13px}}
@media(max-width:1220px){:root{--sidebar:222px}.sidebar{padding:26px 14px}.main{padding:30px 27px}.app-header{padding:0 25px}.cards-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.top-tabs{gap:27px}.free-tag{display:none}.calc-layout{gap:18px;grid-template-columns:minmax(0,1.2fr) minmax(220px,1fr)}.tool-body{padding:7px 22px 22px}.workspace-head{padding:21px 22px 17px}.workspace-actions .full-action{display:none}.intro h1{font-size:32px}.result-card{padding:19px 17px}.result-number{font-size:39px}.time-layout{grid-template-columns:minmax(0,1.3fr) minmax(200px,1fr)}.clock-grid{grid-template-columns:repeat(2,1fr)}.suggestions .finder-note{display:none}.top-tab{font-size:15px}.side-link{font-size:13px}}
@media(max-width:980px){:root{--sidebar:205px}.main{padding:27px 22px}.sidebar{padding:25px 11px}.intro-art{display:none}.intro h1{font-size:29px}.intro p{font-size:13px}.calc-layout{grid-template-columns:1fr}.right-panel{display:grid;grid-template-columns:1.1fr 1fr}.result-card{min-height:160px}.result-number{font-size:36px}.note-box{flex-direction:column;justify-content:center}.tool-heading h1{font-size:19px}.workspace-head{align-items:flex-start}.workspace-actions .small-button{padding:8px}.workspace-actions .small-button .label{display:none}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-end .text-link{font-size:13px}.top-tabs{gap:21px}.top-tab{font-size:14px}.top-tab svg{width:18px}.brand{font-size:24px}.brand-mark{width:32px;height:32px}.why-section{gap:16px}.why-item{flex-direction:column;gap:5px}.time-layout{grid-template-columns:1fr}.time-layout>.right-panel{grid-template-columns:1fr 1fr}.timer-number{font-size:68px}.timer-stage{min-height:290px}.result-actions{margin-top:12px}.calculator-device{padding:15px}.key{height:48px}.workspace-footer{padding:12px 20px}.footer-links{gap:9px}.footer-links button{font-size:10px}}
@media(max-width:740px){:root{--header:69px}.app-header{padding:0 17px;gap:10px}.mobile-menu{display:flex;width:35px;height:35px;margin-right:2px;background:none;border:0}.header-brand-wrap{display:flex;align-items:center;gap:6px}.brand{font-size:25px}.brand-mark{width:31px;height:31px}.top-tabs{position:static;transform:none;gap:17px;margin-left:auto}.top-tab{font-size:14px}.top-tab svg{display:none}.header-end{display:none}.layout{display:block}.sidebar{position:fixed;left:0;top:69px;bottom:0;height:calc(100dvh - 69px);z-index:45;width:264px;transform:translateX(-100%);transition:transform .2s;padding:25px 20px}.sidebar.open{transform:translateX(0)}.sidebar-backdrop.open{display:block;position:fixed;inset:69px 0 0;background:#20341f50;backdrop-filter:blur(2px);z-index:44}.main{padding:25px 18px 24px}.intro{margin-bottom:21px}.intro h1{font-size:31px;letter-spacing:-1.3px}.intro p{font-size:14px;max-width:330px;line-height:1.6}.eyebrow{font-size:10px;margin-bottom:10px}.smart-search{padding:7px 8px 7px 12px;gap:9px;border-radius:12px}.smart-search input{font-size:14px;min-height:35px}.smart-search .search-symbol{width:19px}.search-go{height:37px;min-width:36px}.suggestions{font-size:11px;gap:5px;margin-bottom:23px}.suggestions button{font-size:10px;padding:3px 7px}.suggestions button:nth-of-type(3){display:none}.workspace-head{padding:18px 17px 16px}.tool-heading{gap:10px}.tool-heading h1{font-size:19px}.tool-icon{width:38px;height:38px;border-radius:10px}.tool-heading .sub{font-size:11px}.workspace-actions{gap:6px}.workspace-actions .small-button{padding:7px}.workspace{border-radius:17px}.tool-body{padding:0 15px 17px}.calc-layout{gap:16px}.calculator-device{padding:13px}.calc-display{min-height:98px;padding:12px 15px}.expression-input{font-size:39px}.key{height:48px;font-size:22px;border-radius:9px}.keypad{gap:9px}.calc-mode{margin-top:15px}.right-panel{grid-template-columns:1fr}.result-card{padding:18px 20px;min-height:174px}.result-number{font-size:42px}.result-caption{font-size:13px}.note-box{flex-direction:row;justify-content:flex-start;padding:13px 15px}.note-box p{font-size:12px}.workspace-footer{padding:12px 18px;font-size:10px}.workspace-footer .hide-mobile{display:none}.workspace-footer button{font-size:10px}.more-tools{margin-top:29px}.section-heading h2{font-size:22px}.section-heading p{font-size:12px}.section-heading button{font-size:12px}.cards-grid{gap:11px}.tool-card{padding:17px 14px;min-height:166px}.tool-card h3{font-size:15px}.tool-card p{font-size:12px}.card-icon{width:36px;height:36px;margin-bottom:14px}.filter{font-size:12px;padding:6px 12px}.browse-bar{padding:17px;align-items:flex-start;flex-direction:column;gap:13px}.browse-bar strong{font-size:16px}.browse-bar p{font-size:12px}.why-section{grid-template-columns:1fr;gap:19px;padding:0 4px 25px}.why-item{flex-direction:row;gap:11px}.why-item strong{font-size:14px}.why-item p{font-size:12px}.footer{flex-direction:column;align-items:flex-start;gap:18px}.footer-links{gap:21px}.footer-links button{font-size:12px}.footer-note{font-size:10px;line-height:1.7}.overlay{padding:15px}.modal{border-radius:18px;max-height:90dvh}.modal-top{padding:18px 19px}.modal-content{padding:17px 19px 22px}.directory-grid{grid-template-columns:1fr}.directory-link{font-size:14px;padding:12px}.time-layout>.right-panel{grid-template-columns:1fr}.timer-number{font-size:62px}.timer-stage{min-height:280px;padding:18px}.form-grid{gap:14px 11px}.field label{font-size:12px}.field input,.field select{font-size:16px;padding:0 11px}.form-note{font-size:12px}.clock-grid{gap:11px}.clock-card{padding:16px 13px}.city-time{font-size:25px}.city-name{font-size:16px}.coming-panel{padding:26px 17px}.timer-labels{font-size:9px}.result-actions .small-button{font-size:13px;min-height:35px}.calendar-aside{display:none}.history-row{gap:8px;padding:12px}.history-value{font-size:18px}}
@media(max-width:365px){.brand{font-size:21px}.brand-mark{width:27px;height:27px;font-size:15px}.app-header{padding:0 10px}.top-tabs{gap:13px}.top-tab{font-size:12px}.main{padding:23px 13px}.intro h1{font-size:28px}.tool-heading h1{font-size:17px}.tool-card h3{font-size:14px}.timer-number{font-size:51px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
@media print{.app-header,.sidebar,.intro,.smart-search,.suggestions,.more-tools,.browse-bar,.why-section,.ad-preview,.faq,.footer,.footer-note,.workspace-actions,.workspace-footer,.result-actions,.toast{display:none!important}.layout{display:block}.main{padding:0}.workspace{box-shadow:none;border:0}.tool-body{padding:15px}.calc-layout{grid-template-columns:1fr 1fr}.calendar-wrap{break-inside:avoid}.calendar-day{padding:17px}}

/* Readable type and restrained elevation; the workspace stays the visual priority. */
.top-tabs{top:0;bottom:0;height:var(--header)}
.top-tab{white-space:nowrap}
.intro p{font-size:16px;color:#657060}
.side-link,.side-group summary{font-size:15px}
.group-child{font-size:14px;color:#596750}
.side-bottom p{font-size:13px;color:#64725c}
.smart-search input{font-size:17px}
.suggestions{font-size:13px}
.suggestions button{font-size:13px;color:#5d6e50}
.finder-note{color:#69765f!important}
.tool-heading h1{font-size:23px}
.tool-heading .sub{font-size:14px;color:#6e7e62}
.workspace-actions .small-button,.small-button{font-size:13px;min-height:36px}
.key{height:49px;font-size:23px}
.key.clear{font-size:16px}
.result-card{display:flex;flex-direction:column}
.result-number{font-size:49px}
.result-caption{font-size:14px;color:#6b7c5e}
.result-label{font-size:12px;color:#637952}
.result-actions{margin-top:auto;padding-top:18px}
.note-box strong{font-size:14px}
.note-box p{font-size:13px;color:#6e7c62}
.calc-mode,.calc-mode button{font-size:12px;color:#6d7c60}
.workspace-footer,.workspace-footer button{font-size:12px;color:#6d7b61}
.section-heading h2{font-size:25px}
.section-heading p{font-size:15px;color:#6b775f}
.section-heading button{font-size:14px}
.filter{font-size:14px;padding:7px 14px;color:#64715a}
.tool-card{min-height:183px;padding:21px 18px}
.tool-card h3{font-size:17px}
.tool-card p{font-size:14px;color:#6d7b61;line-height:1.6}
.browse-bar strong{font-size:18px}
.browse-bar p,.browse-bar button{font-size:14px;color:#627355}
.why-item strong{font-size:15px}
.why-item p{font-size:14px;color:#6f7b63}
.why-section{gap:20px}
.faq h2{font-size:22px}.faq summary{font-size:16px}.faq p{font-size:15px;color:#63725a}
.footer-links button{font-size:13px;color:#647259}
.footer-note{font-size:12px;color:#748165}
.field label{font-size:15px;color:#596c4d}
.form-note{font-size:13px;color:#6c7c5e}
.detail-row{font-size:14px;color:#657657}
.calculation-details{gap:9px}
.timer-controls{flex-wrap:wrap}.timer-controls button{min-width:86px}
.timer-overline{font-size:12px;color:#6a7d5b}
.city-top,.city-date{font-size:13px;color:#667b56}
.city-name{font-size:18px}.city-time{font-size:30px}
.preset{font-size:14px;color:#5f754f}.timer-custom input,.timer-custom button{font-size:14px}
.result-card .result-actions{flex-wrap:wrap}
.directory-link{font-size:14px}
@media(min-width:1550px){.key{height:54px}.tool-card h3{font-size:18px}.tool-card p{font-size:15px}}
@media(max-width:1220px){.side-link,.side-group summary{font-size:14px}.main{padding-left:25px;padding-right:25px}.result-number{font-size:42px}.field label{font-size:14px}}
@media(max-width:980px){.intro p{font-size:15px}.tool-heading h1{font-size:22px}.result-card{min-height:185px}.note-box p{font-size:13px}.result-number{font-size:38px}.why-section{grid-template-columns:1fr;gap:17px}.why-item{flex-direction:row}.top-tabs{gap:23px}}
@media(max-width:740px){.top-tabs{height:100%;gap:14px}.top-tab{font-size:13px;white-space:nowrap}.brand{font-size:23px}.mobile-menu{width:29px}.main{padding-left:18px;padding-right:18px}.intro p{font-size:15px;max-width:none}.smart-search input{font-size:15px}.suggestions,.suggestions button{font-size:12px}.suggestions button{padding:3px 7px}.tool-heading h1{font-size:21px}.tool-heading .sub{font-size:13px}.key{height:52px;font-size:24px}.result-number{font-size:46px}.result-caption{font-size:14px}.result-card{min-height:184px}.result-actions{padding-top:14px}.section-heading h2{font-size:24px}.section-heading p{font-size:14px;max-width:220px}.section-heading button{font-size:13px}.cards-grid{gap:12px}.tool-card{padding:18px 14px;min-height:185px}.tool-card h3{font-size:16px}.tool-card p{font-size:14px}.filter{font-size:13px;padding:7px 12px}.workspace-footer{font-size:11px}.workspace-footer button{font-size:11px}.calc-mode,.calc-mode button{font-size:11px}.field label{font-size:14px}.city-top,.city-date{font-size:11px}.city-name{font-size:16px}.city-time{font-size:25px}.timer-controls button{min-width:75px;padding:8px 12px}.footer-links button{font-size:13px}.footer-note{font-size:11px}.why-item p{font-size:14px}.directory-link{font-size:14px}}
@media(max-width:365px){.app-header{padding:0 10px}.brand{font-size:21px}.top-tabs{gap:10px}.top-tab{font-size:12px}.main{padding-left:13px;padding-right:13px}.tool-heading h1{font-size:18px}.tool-card h3{font-size:15px}.tool-card p{font-size:13px}.tool-heading .sub{font-size:12px}.workspace-actions .small-button{padding:6px}.timer-controls{gap:7px}.timer-controls button{min-width:68px;padding:8px;font-size:12px}}
@media(max-width:740px){.top-tab>span{display:none}}

/* V2: preserve the approved palette, spacing and raised keys. */
.scientific-device{padding:20px;max-width:none}.scientific-device .calc-display{padding:14px 21px 17px;margin-bottom:20px;min-height:118px}.display-meta{display:flex;justify-content:space-between;font-size:11px;font-weight:650;letter-spacing:1.3px;color:#77856d}.mode-indicator{background:#e6efdc;color:#4d683d;padding:2px 8px;border-radius:5px}.scientific-device .expression-line{margin-top:5px;font-size:14px;color:#687861;overflow-wrap:anywhere;white-space:normal}.scientific-device .expression-input{font-size:44px;font-weight:500;letter-spacing:-1.2px;color:#253e2a}.scientific-controls{display:grid;grid-template-columns:1fr 1fr;gap:22px}.scientific-pad,.numeric-pad{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;min-width:0}.scientific-device .key{height:54px;font-size:23px;white-space:nowrap;padding:0 2px;min-width:0}.scientific-device .function-key{font-size:21px;background:linear-gradient(180deg,#fafff6,#eff4e9);color:#3b5234}.scientific-device .key sup{font-size:.65em;align-self:center;transform:translateY(-6px);margin-left:1px}.scientific-device .key.utility{font-size:17px;color:#5e7350;background:#f2f6ec}.scientific-device .key.clear{font-size:17px}.angle-toggle{grid-column:span 2;border:1px solid #dfe7d5;padding:0 7px;margin:0;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:10px;background:#fbfcf8;min-width:0}.angle-toggle label{display:flex;align-items:center;gap:4px;font-size:16px;cursor:pointer}.angle-toggle input{accent-color:#31583b;min-width:0;width:16px;height:16px;margin:0}.scientific-device .calc-mode{justify-content:space-between;font-size:13px;gap:14px;margin-top:20px}.scientific-device .calc-mode button{font-size:13px;min-height:35px}.scientific-result{display:flex;align-items:center;justify-content:space-between;padding:19px 3px 0;gap:20px}.scientific-result>div:first-child{min-width:0}.scientific-result #result-number{display:block;font-size:30px;color:#315038;line-height:1.3;overflow-wrap:anywhere;max-width:100%}.scientific-result #result-caption{font-size:13px;overflow-wrap:anywhere;display:block;margin-top:4px}.scientific-result .result-actions{margin:0;padding:0;flex-shrink:0}.scientific-result .result-label{font-size:10px;letter-spacing:1.3px;margin-bottom:6px}.scientific-result #result-details:empty{display:none}.scientific-error{margin-bottom:0}.time-home-hero{display:grid;grid-template-columns:1.14fr 1fr;gap:19px}.current-time-card{background:linear-gradient(145deg,#eff6e6,#f9fbf5);border:1px solid #dce6d2;border-radius:17px;padding:24px;overflow:hidden;min-width:0}.hub-eyebrow{font-size:11px;font-weight:650;letter-spacing:1.5px;color:#647954;display:flex;gap:7px;align-items:center}.hub-eyebrow #home-zone-abbr{margin-left:auto;letter-spacing:.2px}.current-time-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:23px}.home-day{font-size:26px;font-weight:570;letter-spacing:-.7px}.home-date{font-size:15px;color:#6b7c5d;margin-top:3px}.analog-clock{width:93px;height:93px;flex-shrink:0;filter:drop-shadow(0 4px 0 #dfe6d550)}.home-clock{font-size:clamp(40px,4.5vw,73px);font-weight:510;color:#2a4f33;letter-spacing:-2px;font-variant-numeric:tabular-nums;line-height:1.15;margin:21px 0 17px}.home-location{display:flex;align-items:center;gap:7px;color:#546e44}.home-location svg{width:17px;height:17px}.home-location select{color:#48623b;border:0;border-bottom:1px solid #c3d3b5;background:transparent;padding:5px 23px 5px 0;font-size:16px;max-width:90%}.time-hero-links{display:flex;gap:18px;margin-top:21px;flex-wrap:wrap}.time-hero-links a{display:flex;gap:6px;font-size:13px;align-items:center;color:#37593a;font-weight:550}.time-hero-links svg{width:14px;height:14px}.device-clock-note{font-size:11px;line-height:1.6;margin-top:20px;color:#758869}.calendar-builder-card{border:1px solid #e3e8dc;border-radius:17px;padding:22px;background:#fcfdf9;min-width:0}.calendar-builder-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.calendar-builder-heading h3{font-size:25px;line-height:1.2;margin:6px 0 0;font-weight:590;letter-spacing:-.5px}.date-tile{background:white;border:1px solid #dfe7d6;border-radius:9px;text-align:center;min-width:50px;box-shadow:0 3px 0 #e6ecdf;overflow:hidden}.date-tile span{display:block;background:#e6efda;font-size:10px;letter-spacing:.7px;padding:1px 9px;text-transform:uppercase;color:#5f7a46;font-weight:650}.date-tile strong{font-size:22px;display:block;line-height:1.4;font-weight:580}.segmented{display:flex;border:1px solid #e0e7d8;border-radius:9px;padding:3px;gap:4px;background:#eef2e8;margin:0 0 16px}.segmented label{flex:1;cursor:pointer;text-align:center}.segmented input{position:absolute;width:1px;height:1px;opacity:0}.segmented span{display:block;border:1px solid transparent;border-radius:6px;font-size:14px;padding:5px 9px;color:#687c58}.segmented input:checked+span{background:white;color:#2e5435;border-color:#dce5d2;box-shadow:0 2px 3px #334e2710}.segmented input:focus-visible+span{outline:2px solid #59865c}.calendar-builder-card .field label{font-size:13px}.calendar-builder-card input,.calendar-builder-card select{height:42px;font-size:15px;background:#fff}.calendar-builder-card .form-grid{gap:12px}.calendar-builder-card .form-calculate{padding:9px 16px;margin-top:16px;font-size:14px}.calendar-builder-card .form-note{font-size:11px;margin-bottom:0;line-height:1.7}.home-world-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e4e9df;border-radius:13px;margin:19px 0 28px;background:#fafcf7;overflow:hidden}.world-strip-item{display:flex;flex-direction:column;padding:14px 18px;gap:2px}.world-strip-item+ .world-strip-item{border-left:1px solid #e4e9df}.world-strip-item>span{font-size:12px;font-weight:550;color:#6a7c5c}.world-strip-item strong{font-size:25px;font-weight:550;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:#36553b}.world-strip-item small{font-size:11px;color:#7a8970}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hub-category{border:1px solid #e4e9de;border-radius:15px;padding:19px 16px;background:#fff;box-shadow:0 3px 0 #f0f3ec;min-width:0}.hub-category-head .card-icon{width:34px;height:34px;border-radius:10px;margin-bottom:14px}.hub-category h3{font-size:17px;font-weight:610;letter-spacing:-.35px;margin:0 0 4px;line-height:1.35}.hub-category p{font-size:12px;line-height:1.6;color:#728266;margin:0 0 16px}.hub-tool-link{display:flex;justify-content:space-between;align-items:center;font-size:13px;line-height:1.5;gap:8px;color:#3c5834;padding:9px 0;border-top:1px solid #edf1e7;min-height:39px}.hub-tool-link:hover{color:#23543b}.hub-tool-link svg{width:13px;height:13px;color:#829671}.planned-tag{font-size:9px;color:#76806e;border:1px solid #e2e7db;border-radius:4px;padding:1px 4px;white-space:nowrap}.hub-preview-note{font-size:12px;line-height:1.7;margin-bottom:0}.clock-add-form{display:flex;align-items:end;gap:12px;margin-bottom:20px}.clock-add-form .field{flex:1}.clock-add-form .small-button{height:49px}.remove-city{display:flex;padding:3px;color:inherit}.remove-city svg{width:16px;height:16px}.utc-clock-grid{grid-template-columns:minmax(0,1fr);max-width:470px}.utc-clock-grid .city-time{font-size:55px}.utc-clock-grid .clock-card{padding:25px}.time-home-workspace .workspace-head{padding-bottom:23px}.time-home-workspace .workspace-footer{display:none}.calendar-settings{display:grid;grid-template-columns:100px 1fr 1fr 1.2fr auto;gap:12px;align-items:end;padding:2px 0 20px;border-bottom:1px solid var(--line)}.calendar-settings .field label{font-size:12px}.calendar-settings .field input,.calendar-settings .field select{height:41px;font-size:14px;padding:0 10px}.calendar-settings>button{height:41px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0}.calendar-toolbar>div{display:flex;align-items:center;gap:10px}.calendar-toolbar strong{font-size:20px;font-weight:560;margin:0 5px}.calendar-toolbar .icon-btn{width:33px;height:33px}.year-calendar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mini-calendar{padding:15px 13px;min-width:0}.mini-calendar .calendar-head{margin-bottom:15px}.mini-calendar .calendar-head strong{font-size:16px}.mini-calendar .calendar-day{padding:4px 0;font-size:12px;min-height:27px}.mini-calendar .calendar-week span{font-size:11px;padding-bottom:7px}.mini-calendar .calendar-week,.mini-calendar .calendar-days{gap:2px}.calendar-day.today.weekend{color:white}.duration-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}.duration-fields input{font-size:21px;text-align:center;padding:7px;min-width:0;width:100%;border:1px solid #dce5d2;border-radius:8px;background:white}.duration-fields label{font-size:12px;color:#617451;display:flex;flex-direction:column;gap:4px}.timer-extra-field{margin-top:13px}.timer-extra-field label{font-size:13px}.timer-extra-field input,.timer-extra-field select{height:40px;background:white;font-size:14px}.timer-sound-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.timer-sound-line button{font-size:12px}.planned-note{background:#f4f6ee;color:#75826c;font-size:12px;padding:12px 15px;border:1px dashed #d6dfca;border-radius:10px;margin-top:16px}.stopwatch-export{margin-top:12px}
@media(min-width:1550px){.scientific-device .key{height:60px;font-size:25px}.scientific-device .function-key{font-size:23px}.scientific-device .key.utility{font-size:18px}.hub-tool-link{font-size:14px}.hub-category p{font-size:13px}.home-clock{font-size:78px}.home-day{font-size:29px}}
@media(max-width:1220px){.scientific-device{padding:16px}.scientific-controls{gap:15px}.scientific-pad,.numeric-pad{gap:7px}.scientific-device .key{height:50px;font-size:22px}.scientific-device .function-key{font-size:18px}.scientific-device .key.utility{font-size:15px}.angle-toggle{gap:7px;padding:0 4px}.angle-toggle label{font-size:14px}.angle-toggle input{width:14px;height:14px}.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.current-time-card,.calendar-builder-card{padding:19px}.time-home-hero{gap:15px}.home-day{font-size:23px}.home-date{font-size:14px}.analog-clock{width:76px;height:76px}.home-clock{font-size:59px}.calendar-settings{grid-template-columns:85px 1fr 1fr}.calendar-settings .field:nth-child(4){grid-column:span 2}}
@media(max-width:1050px) and (min-width:741px){.scientific-controls{grid-template-columns:1fr}.scientific-pad{order:2}.numeric-pad{order:1}.scientific-device .key{height:50px}.scientific-device .function-key{font-size:22px}.scientific-device .key.utility{font-size:18px}.angle-toggle label{font-size:17px}.time-home-hero{grid-template-columns:1fr}.current-time-card{padding:24px}.home-clock{font-size:72px}.calendar-builder-card .form-grid{grid-template-columns:1fr 1fr 1.5fr}.calendar-builder-card .field-wide{grid-column:auto}.year-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.world-strip-item{padding:12px}.world-strip-item strong{font-size:23px}}
@media(max-width:740px){.scientific-device{padding:12px}.scientific-device .calc-display{min-height:105px;padding:12px 14px;margin-bottom:16px}.scientific-device .expression-input{font-size:36px}.scientific-device .expression-line{font-size:12px}.scientific-controls{grid-template-columns:1fr;gap:20px}.scientific-pad{order:2}.numeric-pad{order:1}.scientific-device .key{height:47px;font-size:22px;border-radius:8px}.scientific-device .function-key{font-size:19px}.scientific-device .key.utility{font-size:14px}.scientific-device .key.clear{font-size:16px}.scientific-pad,.numeric-pad{gap:7px}.angle-toggle{gap:8px}.angle-toggle label{font-size:15px}.scientific-device .calc-mode{font-size:11px;gap:7px;margin-top:15px;flex-wrap:wrap}.scientific-device .calc-mode button{font-size:11px}.scientific-result{align-items:flex-start;gap:14px;flex-direction:column;padding:20px 3px 0}.scientific-result .result-actions{width:100%}.scientific-result .small-button{flex:1}.time-home-hero{grid-template-columns:1fr}.current-time-card,.calendar-builder-card{padding:20px}.home-clock{font-size:62px}.home-day{font-size:25px}.analog-clock{width:87px;height:87px}.home-world-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:21px}.world-strip-item{padding:13px 17px}.world-strip-item:nth-child(3){border-left:0;border-top:1px solid #e4e9df}.world-strip-item:nth-child(4){border-top:1px solid #e4e9df}.world-strip-item strong{font-size:25px}.hub-grid{grid-template-columns:1fr;gap:13px}.hub-category{padding:19px}.hub-category-head{display:flex;align-items:flex-start;gap:12px}.hub-category-head .card-icon{flex-shrink:0;width:35px;height:35px}.hub-category h3{font-size:18px}.hub-category p{font-size:13px}.hub-tool-link{font-size:14px;min-height:44px;padding:11px 0}.planned-tag{font-size:10px}.calendar-settings{grid-template-columns:1fr 1fr;gap:12px}.calendar-settings .field:nth-child(4){grid-column:auto}.calendar-settings>button{grid-column:span 2}.year-calendar-grid{grid-template-columns:1fr}.mini-calendar{padding:18px}.mini-calendar .calendar-day{font-size:15px;padding:8px 1px;min-height:35px}.mini-calendar .calendar-week span{font-size:12px}.calendar-toolbar{flex-wrap:wrap}.calendar-toolbar strong{font-size:19px}.time-home-workspace .workspace-actions{display:none}}
@media(max-width:365px){.scientific-device{padding:10px}.scientific-pad,.numeric-pad{gap:5px}.scientific-device .key{height:46px;font-size:20px}.scientific-device .function-key{font-size:17px}.scientific-device .key.utility{font-size:12px}.angle-toggle label{font-size:13px}.angle-toggle{gap:6px}.home-clock{font-size:51px}.analog-clock{width:73px;height:73px}.home-day{font-size:22px}.home-date{font-size:13px}.tool-body{padding-left:11px;padding-right:11px}.calendar-builder-card .field label{font-size:12px}}
@media print{.calendar-settings,.calendar-toolbar,.calendar-aside,.scientific-result .result-actions{display:none!important}.year-calendar-grid{grid-template-columns:repeat(3,1fr);gap:10px}.mini-calendar{break-inside:avoid}.mini-calendar .calendar-day{font-size:10px;min-height:20px;padding:3px}.calendar-wrap{background:white}.scientific-controls{grid-template-columns:1fr 1fr}.scientific-pad{order:0}.time-home-hero{grid-template-columns:1fr 1fr}}


/* Result explanations: one short paragraph after the full calculation, never a chat UI. */
.result-explanation{margin-top:20px;padding:20px 23px;background:#f5f8f0;border:1px solid #dfe7d7;border-radius:14px;color:#34472e}
.explanation-heading{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.explanation-heading>svg{width:20px;height:20px;color:#61794e;flex-shrink:0}
.explanation-heading h3{margin:0;font-size:17px;font-weight:620;letter-spacing:-.25px;line-height:1.5}
.result-explanation p{margin:0;font-size:16px;line-height:1.75;color:#52644a;overflow-wrap:anywhere}
@media(max-width:740px){.result-explanation{padding:17px 16px;margin-top:17px}.explanation-heading h3{font-size:16px}.result-explanation p{font-size:16px;line-height:1.7}}
@media print{.result-explanation{break-inside:avoid}}
.form-actions{display:flex;align-items:stretch;gap:10px}.form-actions .form-calculate{flex:1;width:auto}.form-actions .small-button{margin-top:20px;padding-inline:16px;font-size:14px}
@media(max-width:430px){.form-actions{flex-wrap:wrap}.form-actions .form-calculate{min-width:65%}}
.basic-device .scientific-controls{display:block}.basic-device .scientific-pad{display:none}.basic-device .numeric-pad{max-width:620px;margin:auto}
.tool-guide{margin:28px 0 4px;padding:23px 26px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.tool-guide h2{font-size:21px;line-height:1.3;letter-spacing:-.5px;margin:0 0 10px}.tool-guide p{font-size:15px;line-height:1.7;color:#647064;max-width:90ch;margin:8px 0}.tool-guide p:last-child{margin-bottom:0}
@media(max-width:430px){.tool-guide{padding:18px}.tool-guide h2{font-size:19px}.tool-guide p{font-size:14px}}
.popular-links{border-top:1px solid var(--line);padding:23px 0 4px;margin-top:24px}.popular-links strong{display:block;font-size:14px;margin-bottom:12px}.popular-links>div{display:flex;flex-wrap:wrap;gap:8px}.popular-links a{font-size:13px;color:#4f6947;background:#fff;border:1px solid var(--line);border-radius:8px;padding:7px 10px}.popular-links a:hover{background:#edf3e8}
.breadcrumbs{display:flex;align-items:center;gap:7px;margin:0 0 13px;color:#657461;font-size:12px}.breadcrumbs a{color:#52714a}.breadcrumbs a:hover{text-decoration:underline}.related-tools{margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.related-tools strong,.category-links strong{display:block;font-size:14px;color:#405c3e;margin-bottom:10px}.related-tools>div,.category-links>div{display:flex;flex-wrap:wrap;gap:8px}.related-tools a,.category-links a{display:inline-block;padding:7px 10px;border:1px solid var(--line);border-radius:8px;color:#4f6947;background:#fff;font-size:13px}.related-tools a:hover,.category-links a:hover{background:#edf3e8}.category-links{margin-top:16px;padding:18px 0;border-top:1px solid var(--line)}
.tool-card p,.note-box p,.result-caption,.form-note,.footer-note,.why-item p,.faq p,.browse-bar p,.side-bottom p,.hub-category p,.section-heading p,.tool-heading .sub{color:#59655b}
.tool-card p,.result-caption,.why-item p,.faq p{font-size:14px}.note-box p,.form-note,.hub-category p,.section-heading p,.browse-bar p{font-size:13px}.footer-note{font-size:12px}.side-label,.card-status,.tool-card .card-status,.eyebrow,.workspace-footer{color:#526553}.tool-card .card-status{font-size:12px}.workspace-footer{font-size:12px}
.result-label,.calc-mode,.scientific-device .calc-mode,.footer-links button,.keyhint{color:#405c3e}.result-label{font-size:12px}.scientific-device .calc-mode{font-size:13px}.footer-links button{font-size:12px}
.header-end{gap:10px}.header-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid #dfe6db;border-radius:10px;background:#fff;color:#31543d;font-size:15px;font-weight:600;white-space:nowrap;box-shadow:0 2px 0 #e7ede3,0 4px 10px #203c2808;transition:transform .15s,box-shadow .15s,border-color .15s,background .15s}.header-action svg{width:18px;height:18px}.header-action:hover{transform:translateY(-1px);border-color:#b9cdb5;background:#fbfdf9;box-shadow:0 3px 0 #e0e9dc,0 7px 15px #203c280d}.header-action:active{transform:translateY(2px);box-shadow:0 0 0 #e0e9dc;background:#edf4e9}
.history-lookup{margin:18px 0;padding:15px;border:1px solid #dfe7d7;border-radius:12px;background:#fbfdf9}.history-lookup label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}.history-lookup>div{display:flex;gap:8px}.history-lookup input{min-width:0;flex:1;border:1px solid #cfddca;border-radius:9px;padding:10px 12px;font:inherit;font-size:16px}.history-lookup button{white-space:nowrap}.history-lookup [role="alert"]{margin:9px 0 0;color:#8b332b;font-size:13px}
@media(max-width:430px){.history-lookup>div{flex-wrap:wrap}.history-lookup input,.history-lookup button{width:100%}}
@media(max-width:740px){.header-end{display:flex;gap:7px}.header-action{font-size:14px;min-height:38px;padding:0 10px}.top-tab{font-size:14px}}
@media(max-width:620px){:root{--header:104px}.app-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:52px 52px;height:var(--header);padding:0 12px;gap:0 8px}.header-brand-wrap{grid-column:1;grid-row:1}.header-end{grid-column:2;grid-row:1;justify-self:end;gap:7px}.header-action{width:39px;min-width:39px;height:39px;min-height:39px;padding:0}.header-action-label{display:none}.top-tabs{grid-column:1/-1;grid-row:2;justify-content:center;align-self:stretch;margin:0;gap:27px;height:auto}.top-tab{font-size:14px}.sidebar{top:var(--header);height:calc(100dvh - var(--header))}.sidebar-backdrop.open{inset:var(--header) 0 0}.workspace{scroll-margin-top:116px}html{scroll-padding-top:116px}}
.brand-name{white-space:nowrap}
@media(max-width:620px){.header-brand-wrap .brand{gap:6px}.header-brand-wrap .brand-name{font-size:18px;letter-spacing:-.8px}.header-brand-wrap .brand-mark{width:30px;height:30px;font-size:15px}}
@media(max-width:365px){.header-brand-wrap .brand-name{font-size:15px}}
.not-found{max-width:640px;margin:12vh auto;padding:28px;color:var(--ink)}.not-found h1{font-size:clamp(2rem,6vw,3rem);margin:0 0 12px}.not-found p{color:var(--muted)}.not-found nav{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.not-found nav a{border:1px solid var(--line);border-radius:10px;padding:10px 16px;background:white;color:var(--green-deep);font-weight:600}
.amortization-schedule{margin:20px 0;padding:20px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.amortization-schedule h2{font-size:20px;margin:0 0 6px}.amortization-schedule p{font-size:14px;color:#59655b;margin:0 0 14px}.schedule-scroll{max-height:400px;overflow:auto}.schedule-scroll table{width:100%;min-width:600px;border-collapse:collapse;font-size:13px;text-align:right}.schedule-scroll th,.schedule-scroll td{padding:9px;border-bottom:1px solid #e6ece1;white-space:nowrap}.schedule-scroll th:first-child{text-align:left}.schedule-scroll thead{position:sticky;top:0;background:#f5f8f0;color:#405c3e}

/* Home benefits and header actions. */
.why-section{gap:28px;padding:10px 0 30px}
.why-item{align-items:flex-start;gap:16px;min-width:0}
.why-item>span{display:inline-flex;flex:none;width:29px;height:29px;margin-top:1px;color:#496d46}
.why-item>span svg{width:100%;height:100%;stroke-width:1.8}
.why-item strong{display:block;font-size:20px;font-weight:620;line-height:1.35;color:var(--ink)}
.why-item p{margin:8px 0 0;font-size:16px;line-height:1.6;color:#59655b}
.header-action{min-width:116px;min-height:44px;height:44px;padding:0 15px}
.header-action svg{width:19px;height:19px}
#header-find{background:var(--green-deep);border-color:var(--green-deep);color:#fff;box-shadow:0 2px 0 #183c2b,0 5px 12px #214e3826}
#header-find:hover{background:var(--green);border-color:var(--green);box-shadow:0 3px 0 #183c2b,0 8px 17px #214e3830}
#header-find:active{background:#1b422f;border-color:#1b422f;box-shadow:0 0 0 #183c2b}
#header-history{background:#fcfdfa;border-color:#d8e3d5;color:var(--green-deep)}
#header-history:hover{background:#f2f7ef;border-color:#b7cdb2}
#header-history:active{background:#e9f2e5}
@media(max-width:980px){.why-section{gap:20px;padding:8px 0 28px}}
@media(max-width:860px){.header-action{min-width:44px;width:44px;min-height:44px;height:44px;padding:0}.header-action-label{display:none}}
@media(max-width:620px){.header-action{min-width:44px;width:44px;min-height:44px;height:44px;padding:0}.why-item{gap:14px}.why-item strong{font-size:19px}.why-item>span{width:28px;height:28px}}

.history-row .history-open{min-height:44px;min-width:0}
.history-row .history-open strong{display:flex;align-items:center;justify-content:space-between;gap:8px}
.history-open-cue{font-size:12px;font-weight:600;color:var(--green);white-space:nowrap}

/* Cropped vector logo supplied for the CalcTimeTools brand. */
.brand-logo{display:block;width:auto;height:50px;max-width:none}
.footer .brand-logo{width:220px;height:46px}
@media(max-width:740px){.header-brand-wrap .brand-logo{height:37px}}
@media(max-width:620px){.header-brand-wrap .brand-logo{height:34px}}
@media(max-width:365px){.header-brand-wrap .brand-logo{height:29px}}

.field .field-label{font-size:13px;font-weight:550;color:#67755b}
.us-date-input{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;min-width:0;position:relative}
.field .us-native-picker{position:absolute;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none;left:100%;top:50%}
.field .us-picker-button{height:48px;width:44px;display:grid;place-items:center;border:1px solid #dce5d5;border-radius:10px;background:#f8faf5;color:#276648;box-shadow:0 2px 0 #e8eee3;transition:transform .15s,background .15s,box-shadow .15s}
.field .us-picker-button svg{width:21px;height:21px}
.field .us-picker-button:hover{background:#edf5e9;transform:translateY(-1px)}
.field .us-picker-button:active{transform:translateY(1px);box-shadow:none}
.date-time-picker-popup{position:fixed;z-index:90;max-height:calc(100dvh - 20px);overflow:auto;padding:15px;background:#fff;border:1px solid #dce6d6;border-radius:14px;box-shadow:0 16px 40px #1f3b2b25;color:#263c2d}
.picker-heading,.picker-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}
.picker-heading{margin-bottom:12px}.picker-heading strong{font-size:16px}.picker-heading button,.picker-footer button{min-width:38px;min-height:38px;padding:5px 10px;border:1px solid #dfe7da;border-radius:8px;background:#f7faf5;color:#276648}.picker-heading button{font-size:25px;line-height:1}
.picker-heading select,.picker-heading input{min-width:0;height:38px;border:1px solid #dfe7da;border-radius:8px;background:#f7faf5;color:#263c2d;font-size:14px}.picker-heading select{flex:1;padding:0 3px}.picker-heading input{width:68px;padding:0 5px;text-align:center}.picker-heading button:disabled,.picker-footer button:disabled{opacity:.45;cursor:not-allowed}
.picker-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.picker-grid span{font-size:12px;color:#70816e;padding:5px 0}.picker-grid button{min-height:34px;border-radius:7px;font-size:13px}.picker-grid button:hover{background:#edf5e9}.picker-grid button.today{outline:1px solid #729b76}.picker-grid button.selected{background:#276648;color:#fff}.picker-footer{justify-content:flex-end;margin-top:12px}
.picker-title{display:block;margin-bottom:13px;font-size:16px}.picker-time-row{display:flex;gap:8px}.picker-time-row label{flex:1;min-width:0;font-size:13px;color:#596c4d}.picker-time-row select{display:block;width:100%;height:44px;margin-top:5px;padding:0 6px;border:1px solid #dce5d5;border-radius:8px;background:#f8faf5;font-size:16px;color:#263c2d}
.time-card-layout .field .us-native-picker{width:1px;height:1px;padding:0;border:0}
.us-datetime-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-clock,.city-time,.world-strip-item strong{white-space:nowrap}
@media(max-width:740px){.us-datetime-fields{grid-template-columns:1fr}.home-clock{font-size:clamp(35px,10vw,62px)}}
.history-input-summary{display:block;overflow-wrap:anywhere;line-height:1.45;margin:4px 0 2px;color:#526553!important;font-size:12px!important}
.history-delete{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;font-size:12px;color:#6b514a}
@media(max-width:430px){.history-row{flex-wrap:wrap}.history-row .history-open{flex-basis:calc(100% - 60px)}.history-value{order:2;margin-left:auto}.history-delete{order:1}}
.modal .privacy-note{font-size:14px;line-height:1.6;color:#405c3e}
.modal-content p{color:#526553}
.modal-top .icon-btn{min-width:44px;min-height:44px}

/* Save stays with the workspace actions; Copy remains beside the result. */
.workspace-actions{flex-shrink:0}
.workspace-actions .small-button{min-width:44px;min-height:44px;padding:0 12px}
.workspace-actions svg{width:17px;height:17px}
.workspace-actions #save-result{background:var(--green-deep);border-color:var(--green-deep);color:#fff;box-shadow:0 2px 0 #183c2b,0 5px 12px #214e3820}
.workspace-actions #save-result:not(:disabled):hover{background:var(--green);transform:translateY(-1px)}
.workspace-actions #save-result:not(:disabled):active{transform:translateY(1px);box-shadow:0 0 0 #183c2b}
.first-history-code{text-align:center;margin:3px 0 18px;padding:14px;background:#edf4e9;border:1px solid #dce8d6;border-radius:12px;color:var(--green-deep);font-size:35px;font-weight:700;letter-spacing:.12em;font-variant-numeric:tabular-nums}
.modal-content .history-code-warning{font-size:15px;font-weight:600;line-height:1.55;margin:0 0 7px;color:#344d37}
.modal-content .history-code-privacy{font-size:14px;line-height:1.6;margin:0 0 20px}
.history-code-actions{display:flex;gap:9px;flex-wrap:wrap}
.history-code-actions .small-button,.history-code-bar .small-button{min-height:44px;padding:8px 14px;font-size:14px}
.history-code-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;margin-bottom:18px;background:#edf4e9;border:1px solid #dce8d6;border-radius:11px;color:var(--green-deep);font-size:15px}
.history-code-bar strong{font-size:18px;letter-spacing:.06em;font-variant-numeric:tabular-nums}
@media(max-width:740px){.workspace-actions .small-button{width:44px;min-width:44px;height:44px;padding:0}.workspace-actions .small-button .label{display:none}}
@media(max-width:430px){.workspace-head{flex-wrap:wrap}.workspace-actions{width:100%;justify-content:flex-end;margin-top:4px}.history-code-actions .small-button{flex:1;min-width:85px}.first-history-code{font-size:31px}}
/* Time card workspace */
.time-card-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr);gap:23px;align-items:start}.time-card-layout form{min-width:0}.time-card-layout .right-panel{display:block;position:sticky;top:100px}.time-card-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:17px;background:#f8faf5;border:1px solid #e1e8d9;border-radius:14px}.time-card-layout .field{min-width:0}.time-card-layout .field label{display:block;margin-bottom:5px;font-size:13px;font-weight:570;color:#58704f}.time-card-layout .field input,.time-card-layout .field select{width:100%;min-width:0;height:43px;padding:0 11px;border:1px solid #dce5d3;border-radius:9px;background:#fff;color:#263b2a;font-size:15px}.time-card-layout .field input[aria-invalid=true]{border-color:#ae624c;background:#fff8f5}.time-card-help{font-size:14px;line-height:1.6;color:#677666;margin:15px 0}.time-card-days{display:grid;gap:12px}.time-card-day{border:1px solid #e1e8d9;background:#fff;border-radius:13px;padding:15px 17px;box-shadow:0 3px 0 #edf1e9}.time-card-day-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.time-card-day h2{font-size:18px;line-height:1.25;margin:0;font-weight:630}.time-card-date{font-size:13px;color:#71836b;font-weight:480;margin-left:5px}.time-card-day-total{color:#2e5639;font-size:16px;font-variant-numeric:tabular-nums}.time-card-period{display:grid;grid-template-columns:78px repeat(2,minmax(0,1fr));gap:10px;align-items:end}.time-card-period-name{font-size:13px;color:#647b5b;font-weight:600;padding-bottom:12px}.time-card-second{margin-top:10px;padding-top:10px;border-top:1px solid #edf1e9}.time-card-day-foot{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:11px}.time-card-day-foot .field{width:135px}.time-card-add{color:#2c6445;font-size:14px;font-weight:570;min-height:43px;padding:6px 0}.time-card-add:hover{text-decoration:underline}.time-card-layout .form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.time-card-layout .form-calculate{width:auto;min-width:160px;margin-top:16px;min-height:44px}.time-card-layout .form-actions .small-button{margin-top:16px;min-height:44px}.time-card-layout .form-note{font-size:13px;line-height:1.6}.time-card-summary{margin-top:19px;border:1px solid #e2e9db;border-radius:14px;padding:18px;background:#fbfdf9}.time-card-summary h2{font-size:19px;margin:0 0 11px}.time-card-summary-row{display:grid;grid-template-columns:minmax(110px,1fr) auto minmax(130px,auto);gap:12px;padding:10px 0;border-top:1px solid #e8eee3;align-items:center;font-size:14px}.time-card-summary-row strong{font-weight:600}.time-card-summary-row span{font-variant-numeric:tabular-nums;color:#2b5338}.time-card-summary-row small{color:#697b62;font-size:12px;text-align:right}.time-card-guide{margin-top:28px;padding:25px 29px;background:#fff;border:1px solid #e2e9dd;border-radius:16px;line-height:1.7}.time-card-guide h2{font-size:23px;margin:0 0 8px}.time-card-guide h3{font-size:17px;margin:20px 0 4px}.time-card-guide p{font-size:15px;color:#61705f;margin:0 0 7px}.time-card-guide details{border-top:1px solid #e6ebe2;padding:9px 0}.time-card-guide summary{cursor:pointer;font-size:15px;font-weight:570;min-height:35px}
@media(max-width:1120px){.time-card-layout{grid-template-columns:1fr}.time-card-layout .right-panel{position:static}.time-card-layout .right-panel .note-box{display:none}}@media(max-width:650px){.time-card-settings{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px}.time-card-period{grid-template-columns:1fr 1fr}.time-card-period-name{grid-column:1/-1;padding:0}.time-card-day{padding:13px}.time-card-summary-row{grid-template-columns:1fr auto}.time-card-summary-row small{grid-column:1/-1;text-align:left}.time-card-guide{padding:19px}.time-card-guide h2{font-size:21px}}@media(max-width:365px){.time-card-settings{grid-template-columns:1fr}.time-card-day-foot .field{width:110px}.time-card-add{font-size:13px}}@media print{.time-card-layout{display:block}.time-card-layout .right-panel{position:static;margin-top:16px}.time-card-layout .form-actions,.time-card-add,.time-card-help,.time-card-guide{display:none!important}.time-card-day{break-inside:avoid;box-shadow:none}.time-card-settings{grid-template-columns:repeat(3,1fr)}.time-card-days{grid-template-columns:repeat(2,1fr)}}
.time-card-layout .field input,.time-card-layout .field select{height:44px}.time-card-add{min-height:44px}
/* Time card parity options stay compact until requested. */
.time-card-simple-note{margin:0 0 14px;color:#637261;font-size:14px;line-height:1.6}.time-card-options{margin-top:15px;border:1px solid #dae5d5;background:#f8faf5;border-radius:13px;overflow:hidden}.time-card-options>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;min-height:48px;color:#315b3d;font-size:15px;font-weight:650}.time-card-options>summary::-webkit-details-marker{display:none}.time-card-options>summary:after{content:'⌄';font-size:21px;line-height:1;transition:transform .15s}.time-card-options[open]>summary:after{transform:rotate(180deg)}.time-card-options>summary span{font-weight:450;color:#738370;font-size:13px;margin-left:auto}.time-card-options .time-card-settings{border:0;border-top:1px solid #e2e9dd;border-radius:0;background:transparent;padding:17px}.time-card-options-help{margin:0;padding:0 17px 17px;font-size:13px;color:#687b65;line-height:1.65}.time-card-note-field{grid-column:1/-1}.time-card-note-field textarea{width:100%;min-height:72px;resize:vertical;padding:9px 11px;border:1px solid #dce5d3;border-radius:9px;background:#fff;color:#263b2a;font:inherit;font-size:15px;line-height:1.5}.time-card-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;font-weight:570;color:#486846;cursor:pointer}.time-card-check input{width:18px;height:18px;accent-color:#31583b}.time-card-break-exact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(360px,100%)}.time-card-day-foot:has(.time-card-break-exact:not([hidden])){align-items:end}.time-card-day-foot:has(.time-card-break-exact:not([hidden])) .time-card-add{align-self:end}.time-card-day-foot .time-card-break-exact .field{width:auto}.time-card-range{font-size:13px;color:#61765b;margin:0 0 8px}.time-card-output-note{white-space:pre-wrap;overflow-wrap:anywhere;padding-top:11px;border-top:1px solid #e8eee3;font-size:14px;color:#405744}.time-card-layout .form-actions .small-button:disabled{opacity:.46}.time-card-options .field input,.time-card-options .field select{height:44px}
@media(max-width:650px){.time-card-options>summary span{display:none}.time-card-break-exact{width:100%}.time-card-day-foot{flex-wrap:wrap}.time-card-day-foot .time-card-break-exact{flex-basis:100%}.time-card-options .time-card-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.time-card-note-field{grid-column:1/-1}}@media(max-width:365px){.time-card-options .time-card-settings{grid-template-columns:1fr}.time-card-day-foot .time-card-break-exact .field{width:auto}.time-card-break-exact{grid-template-columns:1fr 1fr}.time-card-break-exact input{padding:0 7px!important}}
@media print{.time-card-options,.time-card-layout .form-actions,.time-card-layout .form-note,.time-card-simple-note{display:none!important}.time-card-layout{display:block}.time-card-layout .right-panel{display:block;position:static}.time-card-layout .note-box{display:none!important}.time-card-day{break-inside:avoid}.time-card-summary{break-inside:auto}.time-card-summary-row{break-inside:avoid}.time-card-output-note{white-space:pre-wrap}.time-card-layout .field input{border:0;padding:0;height:auto;background:transparent;box-shadow:none}.time-card-layout .field label{font-size:10px}.time-card-day-foot .field input{border:0}}
/* Keep Time Card clock fields readable alongside their picker buttons on narrow phones. */
@media(max-width:430px){.time-card-period,.time-card-break-exact{grid-template-columns:1fr}.time-card-period-name{grid-column:auto}.time-card-break-exact{width:100%}}
.footer-links a{font-size:13px;color:#405c3e}.footer-links a:hover,.legal-footer a:hover{text-decoration:underline}
.tool-guide{padding:18px 22px;margin-top:24px}.tool-guide h2{font-size:19px;margin-bottom:6px}.tool-guide p{font-size:15px;line-height:1.65;margin:0;max-width:78ch}
.embed-option{margin-top:24px;padding:20px 22px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.embed-option h2{font-size:19px;line-height:1.3;margin:0 0 5px}.embed-option p{font-size:15px;color:var(--muted);margin:0 0 13px}.embed-code-row{display:flex;align-items:flex-start;gap:12px}.embed-code-row textarea{flex:1;min-width:0;min-height:76px;resize:vertical;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#f8faf6;color:var(--ink);font:13px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}.embed-code-row button{white-space:nowrap}@media(max-width:600px){.embed-option{padding:17px}.embed-code-row{flex-direction:column}.embed-code-row textarea,.embed-code-row button{width:100%}}
.tool-disclaimer{font-size:13px;line-height:1.55;color:#667666;margin:13px 2px 0;max-width:82ch}
.legal-header{max-width:1180px;margin:auto;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.legal-header .brand-logo{height:40px;width:auto}.legal-header nav,.legal-footer nav{display:flex;gap:22px;flex-wrap:wrap}.legal-header nav a,.legal-footer a{font-size:14px;color:#405c3e}.legal-main{max-width:780px;margin:42px auto 60px;padding:30px 34px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.legal-main h1{font-size:34px;line-height:1.2;margin:0 0 18px}.legal-main h2{font-size:20px;margin:25px 0 7px}.legal-main p{font-size:16px;line-height:1.75;color:#526052;margin:0 0 15px}.legal-footer{max-width:1180px;margin:0 auto;padding:22px 24px 35px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;color:#67746a;font-size:13px}
@media(max-width:600px){.legal-header{padding:17px;flex-direction:column;align-items:flex-start}.legal-header nav{gap:16px}.legal-main{margin:20px 14px 36px;padding:24px 20px}.legal-main h1{font-size:28px}.legal-main p{font-size:16px}.legal-footer{padding:20px 17px;flex-direction:column}.legal-footer nav{gap:14px}.tool-guide{padding:17px}.tool-guide p{font-size:15px}}
.workspace-footer{justify-content:flex-end}.calc-display{position:relative}.calc-display-copy{margin-top:8px;min-height:36px;font-size:12px}
.history-empty-compact{margin:15px 0;color:#526553;font-size:15px}
/* Center the breadcrumb within the space between the header and workspace. */
.main{padding-top:0}.breadcrumbs{min-height:67px;margin-bottom:0;align-items:center}
@media(max-width:980px){.breadcrumbs{min-height:59px}}
@media(max-width:740px){.breadcrumbs{min-height:57px}}
@media(max-width:365px){.breadcrumbs{min-height:55px}}
.analytics-choice{position:fixed;z-index:1100;right:16px;bottom:16px;max-width:min(520px,calc(100vw - 32px));padding:16px 18px;background:#f7f9f3;color:#294b34;border:1px solid #d8e3d4;border-radius:16px;box-shadow:0 8px 28px #1c372426;font-size:15px;line-height:1.45}.analytics-choice[hidden]{display:none}.analytics-choice>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}.analytics-choice button{min-height:44px;padding:8px 14px;border:1px solid #cdd9c8;border-radius:10px;background:#fff;color:#254d37;font:inherit;cursor:pointer}.analytics-choice button:first-child{background:#24543c;color:#fff;border-color:#24543c}.analytics-choice a{color:#24543c;text-underline-offset:3px}@media(max-width:560px){.analytics-choice{left:12px;right:12px;bottom:12px;max-width:none}}

/* Shared site navigation and reading grid. */
.app-header{padding:0 24px;display:block}
.header-inner{height:100%;max-width:1280px;margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.header-brand-wrap{display:flex;align-items:center;gap:8px;flex-shrink:0}
.top-tabs{position:static;transform:none;margin-inline:auto;gap:30px;align-self:stretch}
.top-tab{font-size:16px;white-space:nowrap;cursor:pointer}
.top-tab svg:last-child{width:14px;height:14px;transform:rotate(90deg);transition:transform .16s}
.top-tab[aria-expanded="true"] svg:last-child{transform:rotate(-90deg)}
.top-tab:focus-visible{outline-offset:-6px}
.header-end{gap:10px;flex-shrink:0}
.site-menu{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);width:min(1200px,calc(100vw - 32px));max-height:min(72vh,740px);overflow-y:auto;background:#fcfdfb;border:1px solid var(--line);border-radius:0 0 19px 19px;box-shadow:0 20px 36px #173d2926;padding:22px 27px;z-index:31}
.site-menu.open{display:block}
.menu-panel{min-width:0}
.menu-overview{display:inline-block;color:var(--green-deep);font-weight:700;margin-bottom:18px;text-decoration:underline;text-underline-offset:4px}
.menu-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 26px}
#menu-calculators .menu-columns{grid-template-columns:repeat(5,minmax(0,1fr))}
.menu-group{min-width:0}
.menu-group-toggle{padding:0 0 9px;color:#527452;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:740;text-align:left;cursor:default}
.menu-group-toggle span{display:none}
.menu-group-links{display:grid;gap:1px}
.menu-group-links a{display:block;padding:7px 6px;margin-left:-6px;border-radius:8px;color:#374b3b;font-size:14px;line-height:1.35}
.menu-group-links a:hover,.menu-group-links a:focus-visible{background:#eaf2e6;color:var(--green-deep)}
.layout{display:block;max-width:1280px;margin-inline:auto}
.main{max-width:none;width:100%;padding:0 32px 28px}
.workspace,.tool-guide,.related-tools,.tool-disclaimer{max-width:1050px;margin-left:auto;margin-right:auto}
.workspace{width:100%}
body[data-tool-id="time-card-calculator"] .workspace{max-width:1216px}
.tool-free{display:inline-block;margin-top:7px;color:var(--green-deep);font-size:12px;font-weight:720;letter-spacing:.01em}
.tool-guide{line-height:1.65}
.tool-guide h3{font-size:17px;line-height:1.35;margin:19px 0 6px;color:#2d4c37}
.tool-guide p{max-width:78ch}
.tool-guide p a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.sidebar{display:none!important}
.footer{max-width:1216px;margin-left:auto;margin-right:auto}
@media(max-width:1100px){.app-header{padding-inline:24px}.header-inner{gap:12px}.top-tabs{gap:16px}.header-brand-wrap .brand-logo{height:42px}.menu-columns,#menu-calculators .menu-columns{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.header-inner{gap:8px}.header-brand-wrap .brand-logo{height:39px}.top-tab{font-size:15px}.main{padding-inline:24px}}
@media(max-width:740px){:root{--header:68px}.app-header{height:var(--header);padding:0 16px}.header-inner{display:flex;height:100%}.mobile-menu{display:inline-flex;min-width:44px;width:44px;height:44px;margin:0;border:1px solid var(--line);background:#fff}.top-tabs{display:none}.header-end{display:flex;gap:7px;margin-left:auto}.header-brand-wrap .brand-logo{height:34px}.site-menu{position:fixed;top:var(--header);left:0;right:0;transform:none;width:100%;max-height:calc(100dvh - var(--header));padding:12px 17px 25px;border-radius:0 0 16px 16px}.menu-panel{display:block}.menu-panel+.menu-panel{margin-top:20px;border-top:1px solid var(--line);padding-top:18px}.menu-overview{margin-bottom:10px}.menu-columns,#menu-calculators .menu-columns{display:block}.menu-group{border-top:1px solid #e8ece5}.menu-group-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:8px 2px;cursor:pointer;font-size:13px}.menu-group-toggle span{display:inline;font-size:22px;line-height:1;transition:transform .16s}.menu-group.expanded .menu-group-toggle span{transform:rotate(180deg)}.menu-group-links{display:none;padding:0 0 9px 8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 9px}.menu-group.expanded .menu-group-links{display:grid}.menu-group-links a{min-height:42px;display:flex;align-items:center;font-size:14px}.sidebar-backdrop.open{inset:var(--header) 0 0;z-index:29}.main{padding:0 18px 24px}.workspace,.tool-guide,.related-tools,.tool-disclaimer{max-width:100%}.workspace{scroll-margin-top:80px}html{scroll-padding-top:80px}}
@media(max-width:620px){:root{--header:68px}.app-header{display:block;height:var(--header);padding:0 12px}.header-brand-wrap{grid-column:auto;grid-row:auto}.header-end{grid-column:auto;grid-row:auto;justify-self:auto}.header-action{height:44px;min-width:44px;width:44px}.site-menu{top:var(--header)}.workspace{scroll-margin-top:80px}}
@media(max-width:390px){.app-header{padding-inline:8px}.header-inner{gap:4px}.header-brand-wrap{gap:3px}.header-brand-wrap .brand-logo{height:29px}.header-end{gap:4px}.main{padding-inline:16px}}

/* Compact tool workspaces and a shared visual language for both navigation families. */
.top-tab .nav-tile{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex:none;border:1px solid #c7ddc4;border-radius:10px;background:linear-gradient(145deg,#f5fff0,#c8ebc4);color:#276346;box-shadow:0 3px 0 #accfaa,0 5px 10px #244c3214;transition:transform .16s,box-shadow .16s}
.top-tab .nav-tile svg{width:26px;height:26px;transform:none!important}
.top-tab[aria-expanded="true"] .nav-tile svg{transform:none!important}
.top-tab .nav-tile-time{border-color:#cfd5ee;background:linear-gradient(145deg,#f7f8ff,#dce0fa);color:#515d9a;box-shadow:0 3px 0 #bdc5e9,0 5px 10px #3b488314}
.top-tab:hover .nav-tile,.top-tab:focus-visible .nav-tile{transform:translateY(-2px);box-shadow:0 5px 0 #accfaa,0 8px 14px #244c321b}
.top-tab:hover .nav-tile-time,.top-tab:focus-visible .nav-tile-time{box-shadow:0 5px 0 #bdc5e9,0 8px 14px #3b48831b}
.site-menu.open{animation:menu-enter .16s ease-out both}
@keyframes menu-enter{from{opacity:0;translate:0 -5px}to{opacity:1;translate:0 0}}
.menu-group-toggle{display:flex;align-items:center;gap:9px;min-height:36px}
.menu-group-toggle .menu-category-icon{width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;flex:none;border:1px solid #d1e5cc;border-radius:8px;background:linear-gradient(145deg,#f5fff1,#dbefcf);color:#367151;box-shadow:0 2px 0 #c5ddbd}
.menu-group-toggle .menu-category-icon svg{width:17px;height:17px}
#menu-time .menu-category-icon{border-color:#d8dcf1;background:linear-gradient(145deg,#f8f9ff,#e5e7f9);color:#5b649a;box-shadow:0 2px 0 #ced3ed}
#menu-time .menu-group-toggle{color:#555e90}
#menu-time .menu-group-links a:hover,#menu-time .menu-group-links a:focus-visible{background:#eff0fb;color:#4f588e}
.menu-group-toggle .menu-chevron{display:none}
.workspace{max-width:900px}
body[data-tool-id="calculator"] .workspace{max-width:760px}
body[data-tool-id="scientific-calculator"] .workspace{max-width:820px}
body[data-tool-id="time-card-calculator"] .workspace{max-width:1216px}
body[data-tool-id="calendar"] .workspace,body[data-tool-id="time-and-date"] .workspace{max-width:1160px}
body[data-tool-id="time-zone-converter"] .workspace,body[data-tool-id="world-clock"] .workspace{max-width:960px}
.workspace-head{padding:16px 22px 13px;gap:12px}
.breadcrumbs{min-height:52px}
.tool-heading h1{font-size:23px;line-height:1.25}
.tool-heading .sub{font-size:14px;line-height:1.35;margin-top:3px}
.tool-free{margin-top:4px;font-size:12px}
.tool-body{padding:5px 22px 18px}
.calc-layout{grid-template-columns:minmax(0,1.5fr) minmax(245px,1fr);gap:16px}
.calc-layout>.right-panel{align-self:start}
.calc-layout .result-card{flex:0 1 auto}
.form-grid{gap:12px 14px}
.field input,.field select{height:44px}
.form-calculate{margin-top:16px;min-height:44px}
.form-actions .small-button{margin-top:16px}
.result-card{padding:17px 18px;min-height:155px}
.scientific-device{padding:14px 16px}
.scientific-device .calc-display{min-height:118px;padding:9px 14px 10px;margin-bottom:12px}
.scientific-device .calc-display-copy{position:absolute;left:14px;bottom:9px;margin:0;min-height:30px;padding:4px 7px}
.scientific-device .expression-input{font-size:39px}
.scientific-device .key{height:44px;font-size:20px}
.scientific-device .function-key{font-size:18px}
.scientific-device .key.utility{font-size:15px}
.scientific-pad,.numeric-pad{gap:7px}
.scientific-controls{gap:14px}
.scientific-device .calc-mode{margin-top:12px}
.calc-display-copy{min-height:30px;margin-top:5px}
@media(max-width:980px){.calc-layout{grid-template-columns:1fr}.workspace{max-width:900px}}
@media(min-width:741px) and (max-width:860px){.header-brand-wrap .brand-logo{height:31px}.header-action{min-width:44px;width:44px;padding:0}.header-action-label{display:none}.top-tabs{gap:11px}.top-tab{font-size:14px}}
@media(max-width:740px){.workspace,.tool-guide,.related-tools,.tool-disclaimer{max-width:100%!important}.breadcrumbs{min-height:57px}.workspace-head{padding:16px 17px 14px}.tool-heading h1{font-size:21px}.tool-heading .sub{font-size:14px}.tool-body{padding:0 15px 17px}.scientific-device{padding:12px}.scientific-device .key{height:47px;font-size:21px}.scientific-device .function-key{font-size:18px}.scientific-device .key.utility{font-size:14px}.scientific-controls{gap:17px}.menu-group-toggle .menu-chevron{display:inline;margin-left:auto}.menu-group-toggle{gap:9px}.menu-group-toggle .menu-category-icon{width:27px;height:27px}.field input,.field select{height:46px}}
@media(prefers-reduced-motion:reduce){.site-menu.open{animation:none}.top-tab .nav-tile{transition:none}}

/* Shared dropdown arrow and picker alignment. */
.site-menu{padding-bottom:32px;max-height:min(calc(72vh + 28px),764px)}
select:not([multiple]){appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7 5 5 5-5' stroke='%233e6248' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 17px center!important;background-size:17px 17px!important;padding-right:46px!important}
.field .us-date-input>input:not(.us-native-picker),.field .us-picker-button{height:44px}
.us-date-input{align-items:center}
.field .us-picker-button svg{display:block;width:21px;height:21px;margin:auto}
.calendar-builder-card .field select,.calendar-settings .field select,.timer-extra-field select,.picker-time-row select{height:44px}
.picker-heading select{height:38px}
.home-location select{height:44px;border:1px solid #dfe6d8;border-radius:10px;background-color:#fafcf7;padding-left:12px;max-width:100%}
@media(max-width:740px){.site-menu{padding-bottom:32px}.field .us-date-input>input:not(.us-native-picker),.field .us-picker-button{height:46px}.time-card-layout .field .us-date-input>input:not(.us-native-picker),.time-card-layout .field .us-picker-button{height:44px}}

/* Give the six concise calculator menu groups their own columns on desktop. */
@media(min-width:1101px){#menu-calculators .menu-columns{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}}

/* Local content and reading pass: quiet white surfaces with a compact calculator. */
:root{--bg:#fbfcfa;--surface:#fff;--ink:#202b23;--muted:#556159;--line:#e2e8e2;--green:#246246;--green-deep:#1e4b35}
body{background:var(--bg)}
.workspace,.tool-guide{background:#fff}
.workspace{max-width:850px}
body[data-tool-id="calculator"] .workspace,body[data-tool-id="scientific-calculator"] .workspace{max-width:760px}
body[data-tool-id="mortgage-calculator"] .workspace,body[data-tool-id="house-affordability-calculator"] .workspace,body[data-tool-id="time-zone-converter"] .workspace,body[data-tool-id="world-clock"] .workspace{max-width:930px}
body[data-tool-id="time-card-calculator"] .workspace{max-width:1180px}
body[data-tool-id="calendar"] .workspace,body[data-tool-id="time-and-date"] .workspace{max-width:1160px}
.workspace-head{padding:16px 21px 15px}
.tool-heading h1{font-size:clamp(28px,2.8vw,34px);line-height:1.18;letter-spacing:-.035em;color:var(--ink)}
.tool-heading .sub{font-size:16px;line-height:1.45;color:var(--muted)}
.tool-free{font-size:14px;color:var(--green-deep)}
.tool-icon{background:#eff6ee;border-color:#dce9dc;box-shadow:none}
.tool-body{padding:4px 21px 18px}
.field .field-label,.field label{font-size:15px;font-weight:600;color:#374a3e}
.field input,.field select{height:50px;background-color:#fff;border-color:#d5dfd6;color:var(--ink)}
.field .us-date-input>input:not(.us-native-picker),.field .us-picker-button{height:50px}
.form-note,.tool-disclaimer{font-size:14px;color:var(--muted)}
.calc-layout{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:16px}
.calculator-device,.scientific-device{background:#f8faf7;border-color:#e3e9e3}
.result-card{background:#f3f8f2;border-color:#dce9dc;min-height:150px}
.result-label{font-size:13px;color:#3c6247}
.result-caption,.detail-row,.note-box p,.result-explanation p{color:#526158}
.workspace-actions .small-button{font-size:13px}
.result-explanation{background:#f8faf8;border-color:#e1e9e1;padding:17px 20px;margin-top:16px}
.tool-guide{max-width:820px;padding:26px 30px;margin-top:24px;box-shadow:0 3px 15px #1d392608}
.tool-guide h2{font-size:25px;line-height:1.3;margin:0 0 11px;color:var(--ink)}
.tool-guide h3{font-size:20px;line-height:1.35;margin:23px 0 7px;color:var(--ink)}
.tool-guide p{font-size:16px;line-height:1.65;color:#435149;max-width:76ch;margin:0}
.tool-guide .guide-example{background:#f7faf6;border:1px solid #e1e9e1;border-radius:13px;padding:16px 18px;margin-top:20px}
.tool-guide .guide-example h3{margin-top:0}
.tool-guide .guide-faq{margin-top:24px}
.tool-guide .guide-faq h3{margin-top:0}
.tool-guide .guide-faq details{border-top:1px solid var(--line);padding:10px 0}
.tool-guide .guide-faq summary{font-size:16px;font-weight:620;cursor:pointer;color:var(--ink)}
.tool-guide .guide-faq details p{margin-top:7px}
.tool-guide .guide-sources{font-size:14px;margin-top:22px;color:var(--muted)}
.tool-guide .guide-sources a{color:var(--green-deep);text-decoration:underline;text-underline-offset:3px}
.guide-table-wrap{max-width:100%;overflow-x:auto;margin-top:16px;border:1px solid var(--line);border-radius:12px}
.guide-formula-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;text-align:left}
.guide-formula-table caption{padding:12px 15px;text-align:left;font-size:14px;font-weight:600;color:var(--muted)}
.guide-formula-table th,.guide-formula-table td{padding:11px 14px;border-top:1px solid var(--line);vertical-align:top}
.guide-formula-table thead th{background:#f7faf6;color:var(--green-deep);font-weight:650}
.guide-formula-table tbody th{font-weight:620;color:var(--ink)}
.guide-formula-table tbody tr:nth-child(even){background:#fbfcfa}
.tool-guide .guide-compact-method{margin-top:12px;color:#435149}
.tool-guide .guide-compact-limit{margin-top:12px;color:var(--muted)}
.related-tools{max-width:820px}
.related-tools a{font-size:14px;color:#31543d}
@media(max-width:980px){.calc-layout{grid-template-columns:1fr}}
@media(max-width:740px){.workspace,.tool-guide,.related-tools,.tool-disclaimer{max-width:100%!important}.tool-heading h1{font-size:27px}.tool-heading .sub{font-size:15px}.tool-body{padding:2px 16px 17px}.form-grid{grid-template-columns:1fr}.field input,.field select,.field .us-date-input>input:not(.us-native-picker),.field .us-picker-button{height:48px}.tool-guide{padding:21px 20px}.tool-guide h2{font-size:23px}.tool-guide h3{font-size:19px}.tool-guide p{font-size:16px}.calc-layout{grid-template-columns:1fr}}

/* The workspace and its guide share one outer card width on these tools. */
body[data-tool-id="scientific-calculator"]{--tool-card-width:820px}
body[data-tool-id="mortgage-calculator"]{--tool-card-width:930px}
body[data-tool-id="bmi-calculator"]{--tool-card-width:850px}
body:is([data-tool-id="scientific-calculator"],[data-tool-id="mortgage-calculator"],[data-tool-id="bmi-calculator"]) :is(.workspace,.tool-guide){width:100%;max-width:var(--tool-card-width);margin-inline:auto;border-radius:var(--radius)}
body[data-tool-id="scientific-calculator"] .scientific-device{width:100%;max-width:760px;margin-inline:auto}

@media(min-width:741px){.site-menu{max-height:none;overflow:visible}.menu-group-links a{padding-block:6px}}

/* Shared tool header and form rhythm. Keep the icon aligned with the title. */
.breadcrumbs{min-height:44px}
.workspace-head{align-items:flex-start;padding:14px 22px 11px}
.tool-heading{align-items:flex-start;gap:14px;min-width:0}
.tool-heading>div:last-child{min-width:0}
.tool-icon{width:58px;height:58px;flex:0 0 58px;border-radius:15px}
.tool-icon svg{width:27px;height:27px}
.tool-heading h1{font-size:32px;line-height:1.16}
.tool-heading .sub{font-size:17px;line-height:1.4;margin-top:3px}
.tool-body{padding:3px 22px 18px}
.field{gap:6px}
@media(max-width:980px) and (min-width:741px){.tool-heading h1{font-size:30px}}
@media(max-width:740px){
 .breadcrumbs{min-height:43px}
 .workspace-head{padding:12px 16px 9px;gap:9px}
 .tool-heading{gap:11px}
 .tool-icon{width:48px;height:48px;flex-basis:48px;border-radius:12px}
 .tool-icon svg{width:24px;height:24px}
 .tool-heading h1{font-size:27px;line-height:1.16}
 .tool-heading .sub{font-size:15px;line-height:1.35;margin-top:3px}
 .tool-body{padding:1px 16px 16px}
 .field{gap:5px}
 .form-grid{row-gap:10px}
 .form-grid>.field-wide{grid-column:auto}
 .scientific-device{padding:10px}
 .scientific-device .calc-display{min-height:108px;margin-bottom:9px}
 .scientific-pad,.numeric-pad{gap:5px}
 .scientific-controls{gap:10px}
 .scientific-device .key{height:46px}
 .scientific-device .calc-mode{margin-top:8px}
 .time-card-layout .field .us-date-input>input:not(.us-native-picker),.time-card-layout .field .us-picker-button{height:48px}
}
@media(max-width:430px){.workspace-actions{margin-top:0}}

/* Shared tool page header: actions stay with the title above a quiet divider. */
.workspace:not(.time-home-workspace) .workspace-head{padding:18px 22px 20px;border-bottom:1px solid var(--line)}
.workspace:not(.time-home-workspace) .tool-heading h1{font-size:32px;line-height:1.18}
.workspace:not(.time-home-workspace) .tool-heading .sub{font-size:16px;line-height:1.4;margin-top:5px}
.workspace:not(.time-home-workspace) .tool-body{padding-top:24px}
@media(max-width:1100px){
 .workspace:not(.time-home-workspace) .workspace-head{flex-wrap:wrap}
 .workspace:not(.time-home-workspace) .tool-heading h1{font-size:29px}
 .workspace:not(.time-home-workspace) .workspace-actions{margin-left:auto}
}
@media(max-width:740px){
 .workspace:not(.time-home-workspace) .workspace-head{padding:14px 16px 16px;gap:10px}
 .workspace:not(.time-home-workspace) .tool-heading h1{font-size:26px}
 .workspace:not(.time-home-workspace) .tool-heading .sub{font-size:15px;margin-top:4px}
 .workspace:not(.time-home-workspace) .tool-icon{width:44px;height:44px;flex-basis:44px}
 .workspace:not(.time-home-workspace) .tool-body{padding-top:18px}
}

/* Keep the Payment Calculator's primary amount readable on one line. */
body[data-tool-id="payment-calculator"] .result-number{
 font-size:clamp(28px,3vw,38px);
 letter-spacing:-1.5px;
 white-space:nowrap;
}

