/*! OfficeCalculator.Net v242 — reverse-counting rules */
/* assets/css/source/sections/reverse-counting.css */
@media (max-width:700px){.oc-r47-result.has-result:not(.is-closed){max-height:min(82dvh,620px);overscroll-behavior:contain}}@media (max-width:390px){.oc-r47-result.has-result:not(.is-closed){top:auto;max-height:86dvh}.oc-r47-main{font-size:clamp(1.8rem,11vw,2.7rem)}}@media (max-width:700px) and (max-height:700px){.oc-r47-result.has-result:not(.is-closed){max-height:88dvh;padding:14px 14px 12px}.oc-r47-main{font-size:clamp(1.65rem,9vw,2.35rem);margin:3px 0 6px}}@media (max-width:700px){.oc-r47-result.has-result:not(.is-closed){max-height:min(86dvh,640px)}}@media (max-width:700px){.oc-r47-result.has-result:not(.is-closed){max-height:min(86dvh,640px)}}.oc-r58-legacy-adopted{margin-top:22px}.oc-r58-input-panel{min-width:0}.oc-r58-original-result{position:absolute!important;left:-100000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}.oc-r58-result-panel{position:sticky;top:96px;min-height:310px;border:1px solid #c8dafa;border-radius:22px;background:linear-gradient(145deg,#f3f7ff,#fff);box-shadow:0 16px 38px rgba(34,77,135,.1);padding:26px;box-sizing:border-box}.oc-r58-result-placeholder{min-height:255px;display:grid;place-items:center;text-align:center;color:#62708b;padding:12px}.oc-r58-result-placeholder strong{display:block;color:#17233d;font-size:1.15rem;margin-bottom:8px}.oc-r58-result-live,.oc-r58-result-panel.has-result .oc-r58-result-placeholder{display:none}.oc-r58-result-panel.has-result .oc-r58-result-live{display:block}.oc-r58-result-copy{font-size:1rem;line-height:1.6;color:#1c2944;overflow-wrap:anywhere}.oc-r58-result-copy :first-child{margin-top:0}.oc-r58-result-copy :last-child{margin-bottom:0}@media (max-width:980px){.oc-r58-result-panel{position:relative;top:auto;min-height:240px}.oc-r58-result-placeholder{min-height:190px}}@media (max-width:700px){.oc-r58-result-panel{border-radius:18px;padding:20px}}html.oc-dark-preload .oc-r58-result-panel,body.oc-dark .oc-r58-result-panel{background:linear-gradient(145deg,#142038,#101827);border-color:#2b4770}html.oc-dark-preload .oc-r58-result-placeholder strong,body.oc-dark .oc-r58-result-placeholder strong{color:#edf4ff}html.oc-dark-preload .oc-r58-result-copy,body.oc-dark .oc-r58-result-copy{color:#e6eefc}.oc-r58-validation{margin-top:12px;padding:11px 13px;border:1px solid #fecaca;border-left:4px solid #dc2626;border-radius:11px;background:#fff1f2;color:#991b1b;font-size:.86rem;font-weight:700;line-height:1.45}.oc-r58-validation[hidden]{display:none!important}html.oc-dark-preload .oc-r58-validation,body.oc-dark .oc-r58-validation{border-color:#7f1d1d #7f1d1d #7f1d1d #ef4444;background:#321c22;color:#fecaca}:root{--oc59-header-gap:12px}body[data-oc-workspace=stable-v30] .oc-r47-breadcrumb{margin:0 0 9px!important;font-size:.76rem!important;line-height:1.35!important}body[data-oc-workspace=stable-v30] .oc-r47-hero{margin:0 0 14px!important;padding:14px 18px!important;border-radius:16px!important;box-shadow:0 7px 20px rgba(34,52,84,.045)!important}body[data-oc-workspace=stable-v30] .oc-r47-eyebrow{margin:0 0 4px!important;font-size:.66rem!important;letter-spacing:.075em!important;line-height:1.25!important}body[data-oc-workspace=stable-v30] .oc-r47-hero h1{margin:0!important;font-size:clamp(1.65rem,3vw,2.35rem)!important;line-height:1.02!important;letter-spacing:-.035em!important}body[data-oc-workspace=stable-v30] .oc-r47-hero>p{max-width:920px!important;margin:7px 0 0!important;font-size:.91rem!important;line-height:1.45!important}body[data-oc-workspace=stable-v30] .bt-category-hero,body[data-oc-workspace=stable-v30] .oc-category-hero{margin:0 0 16px!important;padding:17px 20px!important;border-radius:18px!important;box-shadow:0 12px 26px rgba(22,56,106,.12)!important}body[data-oc-workspace=stable-v30] .oc-category-hero h1{margin:0 0 6px!important;font-size:clamp(1.65rem,3vw,2.35rem)!important;line-height:1.05!important}body[data-oc-workspace=stable-v30] .oc-category-hero p{margin:6px 0 0!important;line-height:1.48!important;font-size:.92rem!important}@media (max-width:900px){body[data-oc-workspace=stable-v30] .content{padding-top:12px!important}body[data-oc-workspace=stable-v30] .oc-r47-hero{padding:12px 14px!important;margin-bottom:10px!important;border-radius:14px!important}body[data-oc-workspace=stable-v30] .oc-r47-hero h1{font-size:clamp(1.52rem,6vw,2rem)!important}body[data-oc-workspace=stable-v30] .oc-r47-hero>p{font-size:.86rem!important;line-height:1.4!important;margin-top:5px!important}body[data-oc-workspace=stable-v30] .bt-category-hero,body[data-oc-workspace=stable-v30] .oc-category-hero{padding:14px 15px!important;margin-bottom:12px!important;border-radius:15px!important}}@media (max-width:640px){body[data-oc-workspace=stable-v30] .oc-r47-breadcrumb,body[data-oc-workspace=stable-v30] .oc-r47-eyebrow{display:none!important}body[data-oc-workspace=stable-v30] .oc-r47-hero{padding:10px 12px!important}body[data-oc-workspace=stable-v30] .oc-r47-hero h1{font-size:1.48rem!important}body[data-oc-workspace=stable-v30] .oc-r47-hero>p{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}body[data-oc-workspace=stable-v30] .oc-category-hero p{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}body[data-oc-workspace=stable-v30] [hidden]{display:none!important}body[data-oc-workspace=stable-v30] .oc-r47-result.has-result{animation:.18s ease-out oc63ResultIn}@keyframes oc63ResultIn{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}body[data-oc-workspace=stable-v30] input:focus-visible,body[data-oc-workspace=stable-v30] select:focus-visible,body[data-oc-workspace=stable-v30] textarea:focus-visible,body[data-oc-workspace=stable-v30] button:focus-visible,body[data-oc-workspace=stable-v30] a:focus-visible{outline:rgba(37,99,235,.24) solid 3px;outline-offset:2px}:root{--v103-bg:var(--r47-surface,#fff);--v103-soft:var(--r47-soft,#f4f7fb);--v103-strong:var(--r47-strong,#eaf0f8);--v103-text:var(--r47-text,#152036);--v103-muted:var(--r47-muted,#667189);--v103-line:var(--r47-line,#d8e2ef);--v103-blue:var(--r47-primary,#2563eb);--v103-blue-hover:var(--r47-primary-hover,#1d4ed8);--v103-shadow:0 18px 48px rgba(25,48,82,.10)}@keyframes ocV103TimerDone{50%{box-shadow:0 0 0 8px rgba(37,99,235,.16),0 18px 40px rgba(14,46,81,.2)}}.oc-rc-tool{margin:22px 0 26px;border:1px solid #dbe5ef;border-radius:24px;background:#f8fbff;overflow:hidden;box-shadow:0 14px 34px rgba(17,42,70,.08)}.oc-rc-head{padding:22px 24px;border-bottom:1px solid #dbe5ef;background:#fff;display:flex;gap:18px;align-items:flex-start;justify-content:space-between}.oc-rc-head h2{margin:0 0 6px;font-size:clamp(1.35rem,2.2vw,1.85rem)}.oc-rc-head p{margin:0;color:#526377;max-width:760px}.oc-rc-grid{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:18px;padding:18px}.oc-rc-panel,.oc-rc-stage,.oc-rc-practice,.oc-rc-worksheet{background:#fff;border:1px solid #dce6ef;border-radius:20px;min-width:0}.oc-rc-pad{padding:20px}.oc-rc-label{display:block;font-weight:750;color:#24384c;margin-bottom:7px}.oc-rc-field{margin-bottom:15px}.oc-rc-field input,.oc-rc-field select{width:100%;box-sizing:border-box;border:1px solid #cbd7e2;border-radius:12px;background:#fff;color:#172b3f;padding:11px 12px;font:inherit;min-height:44px}.oc-rc-field input:focus,.oc-rc-field select:focus{outline:rgba(43,123,190,.18) solid 3px;border-color:#2f7fc0}.oc-rc-fields2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.oc-rc-quick{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 18px}.oc-rc-chip{border:1px solid #cbd7e2;background:#fff;color:#24445f;border-radius:999px;padding:9px 12px;font-weight:750;cursor:pointer;min-height:42px}.oc-rc-chip:hover{border-color:#7fa7ca}.oc-rc-chip.is-active{background:#173f67;color:#fff;border-color:#173f67}.oc-rc-options{display:grid;gap:8px;margin:6px 0 16px}.oc-rc-check{display:flex;align-items:center;gap:9px;font-weight:650;color:#314b62}.oc-rc-check input{width:20px;height:20px}.oc-rc-note{font-size:.9rem;color:#607286;margin:8px 0 0}.oc-rc-actions{display:flex;flex-wrap:wrap;gap:9px}.oc-rc-btn{border:1px solid #bdd0e2;border-radius:12px;background:#fff;color:#173f67;padding:10px 14px;min-height:44px;font-weight:800;cursor:pointer}.oc-rc-btn.primary{background:#173f67;color:#fff;border-color:#173f67}.oc-rc-btn:disabled{opacity:.52;cursor:not-allowed}.oc-rc-stage{padding:22px;display:flex;flex-direction:column;justify-content:center;text-align:center;position:relative;overflow:hidden}.oc-rc-stage::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 10%,rgba(53,137,203,.1),transparent 52%);pointer-events:none}.oc-rc-stage>*{position:relative}.oc-rc-status{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#5a6c7c;font-size:.9rem;font-weight:700}.oc-rc-number{font-size:clamp(5rem,15vw,10rem);line-height:1;font-weight:900;letter-spacing:-.055em;color:#122b43;margin:18px 0 10px;font-variant-numeric:tabular-nums}.oc-rc-number.is-pop{animation:.18s ease-out ocRcPop}.oc-rc-seq{color:#5a6c7c;font-size:clamp(.95rem,2vw,1.1rem);min-height:1.6em}.oc-rc-progress{height:10px;background:#e8eef4;border-radius:999px;overflow:hidden;margin:20px 0 10px}.oc-rc-progress>span{display:block;height:100%;width:0;background:#2f7fc0;border-radius:inherit;transition:width .18s linear}.oc-rc-big-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:16px}.oc-rc-big-actions .oc-rc-btn{min-width:104px}.oc-rc-message{min-height:1.4em;margin:15px 0 0;color:#445b70}.oc-rc-kbd{margin-top:12px;font-size:.82rem;color:#738292}.oc-rc-kbd kbd{border:1px solid #cbd7e2;border-bottom-width:2px;background:#fff;border-radius:6px;padding:2px 6px;color:#31465a}.oc-rc-learning{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 18px 18px}.oc-rc-practice,.oc-rc-worksheet{padding:20px}.oc-rc-practice h3,.oc-rc-worksheet h3{margin:0 0 6px;font-size:1.2rem}.oc-rc-practice p,.oc-rc-worksheet p{color:#607286}.oc-rc-question{border-radius:16px;background:#f4f8fc;padding:18px;margin:14px 0;font-size:1.15rem;font-weight:800;color:#183a58}.oc-rc-answerrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.oc-rc-answerrow input{min-width:0;border:1px solid #cbd7e2;border-radius:12px;padding:11px 12px;font:inherit;font-size:16px}.oc-rc-score{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;color:#4c6175;font-weight:700}.oc-rc-feedback{min-height:1.4em;font-weight:800;margin:10px 0 0}.oc-rc-feedback.good{color:#167044}.oc-rc-feedback.bad{color:#a6403c}.oc-rc-worksheet-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0}.oc-rc-sheet{border:1px dashed #b8c8d7;border-radius:16px;padding:16px;margin-top:14px;background:#fff}.oc-rc-sheet-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid #dce6ef;padding-bottom:10px;margin-bottom:12px}.oc-rc-sheet-head h4{margin:0;font-size:1.05rem}.oc-rc-sheet-meta{font-size:.82rem;color:#63788b}.oc-rc-sheet-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.oc-rc-cell{min-height:38px;display:flex;align-items:center;justify-content:center;border:1px solid #e0e8ef;border-radius:8px;font-weight:800;font-variant-numeric:tabular-nums}.oc-rc-cell.blank{border-bottom:2px solid #687e91;color:transparent;background:#fbfdff}.oc-rc-sheet.show-answers .oc-rc-cell.blank{color:#8c4f14;background:#fff9ef}.oc-rc-sheet-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.oc-rc-static-seq{font-variant-numeric:tabular-nums;line-height:1.9;background:#f7fafc;border:1px solid #e1e8ee;border-radius:14px;padding:14px 16px;color:#314b62}.oc-rc-tablewrap{overflow:auto}.oc-rc-tablewrap table{width:100%;border-collapse:collapse;min-width:600px}.oc-rc-tablewrap th,.oc-rc-tablewrap td{text-align:left;padding:10px 12px;border-bottom:1px solid #e1e8ee}.oc-rc-tablewrap th{background:#f5f8fb;color:#263f57}.oc-rc-source-note{font-size:.92rem;color:#617488}.oc-rc-source-note a{font-weight:700}@keyframes ocRcPop{0%{transform:scale(.96);opacity:.72}100%{transform:scale(1);opacity:1}}@media (max-width:820px){.oc-rc-head{padding:18px;flex-direction:column}.oc-rc-grid,.oc-rc-learning{grid-template-columns:1fr;padding:12px;gap:12px}.oc-rc-learning{padding-top:0}.oc-rc-stage{min-height:360px}.oc-rc-number{font-size:clamp(5rem,34vw,8rem)}.oc-rc-pad,.oc-rc-practice,.oc-rc-worksheet{padding:16px}}@media (max-width:480px){.oc-rc-fields2,.oc-rc-worksheet-controls{grid-template-columns:1fr}.oc-rc-sheet-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.oc-rc-cell{font-size:.9rem;min-height:34px}.oc-rc-big-actions .oc-rc-btn{flex:1 1 42%;min-width:0}.oc-rc-status{font-size:.8rem}.oc-rc-stage{padding:16px;min-height:330px}}@media (prefers-reduced-motion:reduce){.oc-rc-number.is-pop{animation:none}.oc-rc-progress>span{transition:none}}@media print{body.oc-rc-printing *{visibility:hidden!important}body.oc-rc-printing .oc-rc-sheet,body.oc-rc-printing .oc-rc-sheet *{visibility:visible!important}body.oc-rc-printing .oc-rc-sheet{position:absolute;left:0;top:0;width:100%;border:0;border-radius:0;padding:10mm;background:#fff;color:#000}body.oc-rc-printing .oc-rc-sheet-actions{display:none!important}body.oc-rc-printing .oc-rc-cell{border-color:#aaa;color:#000}body.oc-rc-printing .oc-rc-cell.blank{color:transparent!important;border-bottom:2px solid #333!important}body.oc-rc-printing .oc-rc-sheet.show-answers .oc-rc-cell.blank{color:#000!important}}.oc-r58-input-panel{container:oc-content/inline-size}
