/* Приложение №1: учебный план на общей палитре сайта. */
.program{background:var(--hero-top);padding-bottom:80px}
.program-wrap{max-width:1280px}
.program-breadcrumb{font-size:14px;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:36px;color:var(--muted)}
.program-intro{max-width:920px}
.program .program-eyebrow{font-size:14px;color:var(--muted);max-width:660px;margin-bottom:20px}
.program h1{font-size:clamp(42px,6vw,76px);margin-bottom:24px;color:var(--green-dark)}
.program-description{max-width:670px}
.program-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:32px 0 50px}
.program-stats>div{padding:24px 28px;background:var(--mint);border:1px solid #d5dece;border-radius:var(--radius)}
.program-stats span{display:block;font-size:16px;margin-bottom:10px}
.program-stats strong{display:block;font:400 42px/1.15 var(--font-head);color:var(--green-dark)}
.program-stats small{font:400 14px/1.5 var(--font-body);display:block;margin-top:6px;color:var(--text)}
.program-contents{scroll-margin-top:100px;margin-bottom:28px}
.program-contents-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
.program-contents-head h2{margin:0;font-size:32px}.program-contents-head>span{font-size:14px;white-space:nowrap;color:var(--muted)}
.program-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.program-nav a{display:flex;align-items:center;gap:12px;padding:12px 16px;min-height:50px;border:1px solid #d5dece;border-radius:12px;text-decoration:none;font-size:14px;color:var(--text);background:#fff;transition:background .2s,border-color .2s}
.program-nav a:hover{background:var(--mint);border-color:var(--green-dark)}.program-nav a span{color:var(--green-dark);font-weight:700;font-variant-numeric:tabular-nums}
.program-tools{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 16px}.program-tools[hidden]{display:none}
.program-tools button{font:600 14px/1.4 var(--font-body);padding:12px 18px;border:1px solid #a8b69c;border-radius:100px;background:transparent;color:var(--green-dark);min-height:46px;cursor:pointer;transition:background .2s}
.program-tools button:hover{background:var(--mint)}.program .program-legend{font-size:14px;color:var(--muted);margin-bottom:24px}
.program-module{border:1px solid #d5dece;border-radius:var(--radius);margin:0 0 14px;background:#fff;scroll-margin-top:100px;overflow:hidden}
.program-module summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:42px 1fr auto 20px;gap:20px;align-items:center;padding:24px;min-height:98px;transition:background .2s}
.program-module summary::-webkit-details-marker{display:none}.program-module summary:hover{background:var(--mint-soft)}
.program-number{font:400 28px/1 var(--font-head);color:var(--green-dark)}
.program-module-title{font:400 25px/1.2 var(--font-head);text-transform:uppercase;letter-spacing:.1px}
.program-hours{font-weight:700;font-size:18px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--green-dark)}
.program-hours small{font-weight:400;font-size:12px;display:block;color:var(--muted);text-align:right}
.program-plus{width:18px;height:18px;position:relative;color:var(--green-dark)}.program-plus::before,.program-plus::after{content:'';position:absolute;background:currentColor;top:8px;left:1px;width:16px;height:2px}.program-plus::after{transform:rotate(90deg);transition:transform .2s}.program-module[open] .program-plus::after{transform:rotate(0)}
.program-module[open] summary{background:var(--mint)}
.program-module table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px;line-height:1.55}
.program-module th,.program-module td{padding:16px;text-align:left;vertical-align:top;border-bottom:1px solid #e2e6dc;overflow-wrap:anywhere}
.program-module thead th{font-size:13px;background:#edf2e8;color:#33432b;font-weight:700}
.program-module thead th:first-child{width:44%}.program-module thead th:nth-child(2),.program-module thead th:nth-child(3){width:10%}.program-module thead th:nth-child(4),.program-module thead th:nth-child(5){width:18%}
.program-module tbody th{font-weight:400}.program-module td{font-variant-numeric:tabular-nums}.program-module tr:nth-child(even){background:var(--mint-soft)}
.program-module .program-total{background:var(--mint)}.program-total th,.program-total td{font-weight:700!important}
.program-top{display:inline-block;padding:18px 24px;min-height:48px;font-size:14px}
@media(max-width:900px){.program-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.program-module summary{gap:12px}.program-module-title{font-size:23px}.program-module thead th:first-child{width:36%}.program-module thead th:nth-child(2),.program-module thead th:nth-child(3){width:12%}.program-module thead th:nth-child(4),.program-module thead th:nth-child(5){width:20%}}
@media(max-width:640px){.program-breadcrumb{margin-bottom:26px}.program-stats{gap:10px;margin-bottom:36px}.program-stats>div{padding:18px 16px}.program-stats span{font-size:14px}.program-stats strong{font-size:34px}.program-stats small{font-size:12px}.program-nav{grid-template-columns:1fr}.program-module summary{grid-template-columns:28px 1fr 16px;padding:20px 16px;gap:10px}.program-module-title{font-size:22px}.program-hours{grid-column:2;grid-row:2;font-size:16px}.program-hours small{display:inline;text-align:left}.program-plus{grid-column:3;grid-row:1 / 3}.program-number{align-self:start;padding-top:2px}.program-module table,.program-module tbody{display:block;width:100%}.program-module thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.program-module tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 16px;border-bottom:1px solid #d5dece}.program-module tbody th,.program-module tbody td{display:block;padding:0;border:0;width:auto;font-size:16px}.program-module tbody th{grid-column:1/-1}.program-module tbody td::before{content:attr(data-label);display:block;color:var(--muted);font-size:12px;line-height:1.4;font-weight:400;margin-bottom:4px}.program-module tbody td:last-child{grid-column:1/-1}.program-module tbody tr:last-child{border:0}.program-top{padding-left:16px}}
@media(prefers-reduced-motion:reduce){.program *{transition:none!important}}
@media print{.site-header,.m-menu,.site-footer,.cookie,.cookie-banner,.page-fade,.program-breadcrumb,.program-contents,.program-tools,.program-top,.doc-back,.skip{display:none!important}.program{padding:0;background:#fff}.program-wrap{max-width:none;padding:0}.program h1{font-size:30px}.program-intro{max-width:none}.program-stats{margin:16px 0;max-width:650px}.program-stats>div{padding:12px}.program-module{overflow:visible;border-radius:0;break-inside:auto;margin-bottom:18px}.program-module summary{padding:12px;min-height:0;break-after:avoid}.program-module-title{font-size:20px}.program-plus{display:none}.program-module-body{display:block!important}.program-module table{font-size:10px;table-layout:fixed;display:table}.program-module tbody{display:table-row-group}.program-module thead{display:table-header-group;position:static;width:auto;height:auto;clip:auto;overflow:visible}.program-module tbody tr{display:table-row;break-inside:avoid}.program-module th,.program-module td,.program-module tbody th,.program-module tbody td{display:table-cell;padding:6px!important;font-size:10px!important;border-bottom:1px solid #ccc}.program-module tbody td::before{display:none}.program-module summary{grid-template-columns:30px 1fr auto}.program-hours{grid-column:auto;grid-row:auto}.program .program-legend{font-size:11px}}
