/* Scoped styles for converted BTEC Unit 6 web layout/component tutorials. */
body[data-page-type="btec-web-tutorial"] main { max-width: 1180px; overflow-x: visible; }
body[data-page-type="btec-web-tutorial"] .question-header,
body[data-page-type="btec-web-tutorial"] .lesson-part,
body[data-page-type="btec-web-tutorial"] .code-tools,
body[data-page-type="btec-web-tutorial"] .expected-output { min-width: 0; max-width: 100%; }
body[data-page-type="btec-web-tutorial"] h2,
body[data-page-type="btec-web-tutorial"] h3,
body[data-page-type="btec-web-tutorial"] p,
body[data-page-type="btec-web-tutorial"] li,
body[data-page-type="btec-web-tutorial"] a { white-space: normal; overflow-wrap: anywhere; }
body[data-page-type="btec-web-tutorial"] .btec-web-guide,
body[data-page-type="btec-web-tutorial"] .btec-web-contents,
body[data-page-type="btec-web-tutorial"] .btec-web-step,
body[data-page-type="btec-web-tutorial"] .btec-web-final-code { overflow: visible; }
body[data-page-type="btec-web-tutorial"] .btec-web-contents ol { columns: 2; gap: 32px; margin-bottom: 0; }
body[data-page-type="btec-web-tutorial"] .btec-web-contents a,
body[data-page-type="btec-web-tutorial"] .btec-web-step a:not(.back-button),
body[data-page-type="btec-web-tutorial"] .btec-web-final-code a:not(.back-button) { color: var(--blue-dark); font-weight: 800; text-underline-offset: 3px; }
body[data-page-type="btec-web-tutorial"] .step-number { display: inline-grid; min-width: 74px; min-height: 30px; place-items: center; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px; color: #ffffff; background: var(--blue-dark); font-size: 13px; font-weight: 900; }
body[data-page-type="btec-web-tutorial"] .instruction-box,
body[data-page-type="btec-web-tutorial"] .explain-box { margin: 12px 0; padding: 12px 14px; border-left: 6px solid var(--blue); border-radius: 0 8px 8px 0; background: #f7fbff; }
body[data-page-type="btec-web-tutorial"] .explain-box ul { margin: 0; padding-left: 22px; }
body[data-page-type="btec-web-tutorial"] .expected-output { max-width: 100%; margin: 12px 0 0; padding: 14px; overflow-x: auto; border: 1px solid #cfdaf0; border-radius: 8px; background: #ffffff; }
body[data-page-type="btec-web-tutorial"] .expected-output *,
body[data-page-type="btec-web-tutorial"] .expected-output *::before,
body[data-page-type="btec-web-tutorial"] .expected-output *::after { box-sizing: border-box; }
body[data-page-type="btec-web-tutorial"] .expected-output main { max-width: none; margin: 0; }
body[data-page-type="btec-web-tutorial"] .algorithm-code { max-width: 100%; overflow-x: auto; white-space: pre; }
body[data-page-type="btec-web-tutorial"] .algorithm-code code { font-family: Consolas, "Courier New", monospace; }
body[data-page-type="btec-web-tutorial"] .code-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 8px 12px; border-radius: 8px 8px 0 0; color: #dbeafe; background: #071332; font-size: 13px; font-weight: 900; }
body[data-page-type="btec-web-tutorial"] .code-tools + .algorithm-code { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
body[data-page-type="btec-web-tutorial"] .copy-button { min-height: 30px; border: 0; border-radius: 6px; padding: 6px 10px; color: #ffffff; background: var(--blue); font-weight: 900; cursor: pointer; }
body[data-page-type="btec-web-tutorial"] .btec-final-code-content { display: block; }

body[data-page-type="btec-web-tutorial"] .expected-output .step-number { display:inline-block; background:#7c3aed; color:white; font-weight:bold; padding:6px 12px; border-radius:999px; }

body[data-page-type="btec-web-tutorial"] .expected-output .instruction-box { background:#faf5ff; border-left:6px solid #7c3aed; padding:12px 15px; margin-top:12px; margin-bottom:12px; }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box { background:#f8fafc; border-left:6px solid #7c3aed; padding:12px 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box ul { margin:0; padding-left:22px; }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box li { margin-bottom:6px; }

body[data-page-type="btec-web-tutorial"] .expected-output pre code { background:transparent; padding:0; }

body[data-page-type="btec-web-tutorial"] .expected-output { border:2px solid #20242a; background:white; padding:15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .blank-preview { background:white; border:2px dashed #d0d5dd; min-height:100px; display:flex; align-items:center; justify-content:center; color:#475467; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-frame { background:white; color:#222; min-height:120px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-body { background:#f2f2f2; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-plain { display:block; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main { display:flex; justify-content:center; padding:30px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-alert-section-plain { display:block; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-alert-section-flex { display:flex; flex-direction:column; gap:10px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-alert-section { display:flex; flex-direction:column; gap:10px; background:#ffe5e5; border:2px solid red; padding:20px; width:80%; border-radius:8px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-reset { margin:0; }

body[data-page-type="btec-web-tutorial"] .expected-output .step-number { display: inline-block;
    background-color: #7c3aed;
    color: white;
    font-weight: bold;

    padding-top: 6px;
    padding-right: 12px;
    padding-bottom: 6px;
    padding-left: 12px;

    border-radius: 999px; }

body[data-page-type="btec-web-tutorial"] .expected-output .instruction-box { background-color: #faf5ff;

    border-left-width: 6px;
    border-left-style: solid;
    border-left-color: #7c3aed;

    padding-top: 12px;
    padding-right: 15px;
    padding-bottom: 12px;
    padding-left: 15px;

    margin-top: 12px;
    margin-right: 0;
    margin-bottom: 12px;
    margin-left: 0; }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box { background-color: #f8fafc;

    border-left-width: 6px;
    border-left-style: solid;
    border-left-color: #7c3aed;

    padding-top: 12px;
    padding-right: 15px;
    padding-bottom: 12px;
    padding-left: 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box ul { margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;

    padding-left: 22px; }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box li { margin-bottom: 6px; }

body[data-page-type="btec-web-tutorial"] .expected-output pre code { background-color: transparent;

    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0; }

body[data-page-type="btec-web-tutorial"] .expected-output { border-width: 2px;
    border-style: solid;
    border-color: #20242a;

    background-color: white;

    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .blank-preview { background-color: white;

    border-width: 2px;
    border-style: dashed;
    border-color: #d0d5dd;

    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #475467; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-frame { background-color: white;
    color: #222222;
    min-height: 120px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-body { background-color: #f2f2f2; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-plain { display: block; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-flex { display: flex;
    justify-content: center; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-gap { gap: 20px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-styled { padding-top: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;

    background-color: #cccccc; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-section-plain { display: block; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-section-flex { display: flex;
    flex-direction: column;
    gap: 10px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-section-box { background-color: #ffe5e5;

    border-width: 2px;
    border-style: solid;
    border-color: red;

    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;

    width: 30%;

    border-radius: 8px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-reset { margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-section { display: block; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-section-box { padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;

    width: 30%;

    border-width: 2px;
    border-left-width: 10px;
    border-style: solid;

    border-radius: 8px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-red-section { background-color: #ffe5e5;
    border-color: #8b0000;
    border-left-color: #c1121f;
    color: #7f1d1d; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-amber-section { background-color: #fff3cd;
    border-color: #92400e;
    border-left-color: #f59e0b;
    color: #78350f; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-green-section { background-color: #e7f7e7;
    border-color: #166534;
    border-left-color: #22c55e;
    color: #14532d; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-flex { display: flex;
    justify-content: center;
    gap: 20px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-wrap { flex-wrap: wrap; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-card { display: block; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-card-flex { display: flex;
    flex-direction: column;
    gap: 10px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-card-box { padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;

    width: 30%;

    border-width: 2px;
    border-left-width: 10px;
    border-style: solid;

    border-radius: 8px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-red-card { background-color: #ffe5e5;
    border-color: #8b0000;
    border-left-color: #c1121f;
    color: #7f1d1d; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-amber-card { background-color: #fff3cd;
    border-color: #92400e;
    border-left-color: #f59e0b;
    color: #78350f; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-green-card { background-color: #e7f7e7;
    border-color: #166534;
    border-left-color: #22c55e;
    color: #14532d; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-blue-card { background-color: #dbeafe;
    border-color: #1e3a8a;
    border-left-color: #2563eb;
    color: #1e3a8a; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-purple-card { background-color: #ede9fe;
    border-color: #5b21b6;
    border-left-color: #7c3aed;
    color: #4c1d95; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-pink-card { background-color: #fce7f3;
    border-color: #9d174d;
    border-left-color: #db2777;
    color: #831843; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-teal-card { background-color: #ccfbf1;
    border-color: #115e59;
    border-left-color: #14b8a6;
    color: #134e4a; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-orange-card { background-color: #ffedd5;
    border-color: #9a3412;
    border-left-color: #f97316;
    color: #7c2d12; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-grey-card { background-color: #e5e7eb;
    border-color: #374151;
    border-left-color: #6b7280;
    color: #1f2937; }

body[data-page-type="btec-web-tutorial"] .expected-output .step-number { display:inline-block; background:#1f9d55; color:white; font-weight:bold; padding:6px 12px; border-radius:999px; }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box { background:#f8fafc; border-left:6px solid #1f9d55; padding:12px 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .blank { background:white; border:2px dashed #d0d5dd; min-height:100px; display:flex; align-items:center; justify-content:center; color:#475467; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-box, body[data-page-type="btec-web-tutorial"] .expected-output .site-preview { background:white; border-width:0; border-style:none; color:#222; padding:10px; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-box a, body[data-page-type="btec-web-tutorial"] .expected-output .site-preview a { color:#0000ee; margin-right:8px; cursor:pointer; }

body[data-page-type="btec-web-tutorial"] .expected-output .large-logo { width:280px; height:auto; display:block; margin:12px auto; border:2px solid #999; }

body[data-page-type="btec-web-tutorial"] .expected-output .small-logo { width:120px; height:auto; display:block; margin:0 auto 10px auto; border:2px solid #999; }

body[data-page-type="btec-web-tutorial"] .expected-output .body-preview { background:#f2f2f2; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-header { background:#333; color:white; text-align:center; padding:20px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-h1 { margin:10px 0; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-nav { margin-top:15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-nav a { display:inline-block; background:#666; color:white; text-decoration:none; padding:12px 25px; margin:5px; border:2px solid #999; border-radius:5px; cursor:pointer; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-nav a:hover { background:#ffd84d; color:#222; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main { background:white; min-height:220px; padding:30px; text-align:center; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main h2 { color:#333; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-footer { background:#333; color:white; text-align:center; padding:20px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-footer p { margin:0 0 10px 0; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-footer-nav a { display:inline-block; background:#555; color:white; text-decoration:none; font-size:14px; padding:8px 15px; margin:5px; border:2px solid #999; border-radius:5px; cursor:pointer; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-footer-nav a:hover { background:#ffd84d; color:#222; }

body[data-page-type="btec-web-tutorial"] .expected-output .note { font-weight:bold; color:#475467; }

body[data-page-type="btec-web-tutorial"] .expected-output .step-number { display:inline-block; background:#2563eb; color:white; font-weight:bold; padding:6px 12px; border-radius:999px; }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box { background:#f8fafc; border-left:6px solid #2563eb; padding:12px 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box ul { margin-top:0; margin-bottom:0; padding-left:22px; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-box, body[data-page-type="btec-web-tutorial"] .expected-output .site-preview { background:white; border-width:0; border-style:none; border-color:transparent; color:#222; padding:10px; }

body[data-page-type="btec-web-tutorial"] .expected-output .large-logo { width:280px; height:auto; display:block; margin-top:12px; margin-right:0; margin-bottom:12px; margin-left:0; border:2px solid #999; }

body[data-page-type="btec-web-tutorial"] .expected-output .centred-logo { margin-top:0; margin-right:auto; margin-bottom:10px; margin-left:auto; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-header h1 { margin:10px 0; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-layout { display:grid; grid-template-columns:220px 1fr; min-height:220px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-sidebar { background:#444; padding:25px 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-sidebar a { display:block; background:#666; color:white; text-decoration:none; padding:12px 15px; margin:0 0 10px 0; border:2px solid #999; border-radius:5px; cursor:pointer; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-sidebar a:hover { background:#ffd84d; color:#222; }

body[data-page-type="btec-web-tutorial"] .expected-output .plain-sidebar-preview-links a { display:block; background:transparent; color:white; text-decoration:underline; padding:0; margin:0 0 8px 0; border-width:0; border-style:none; border-color:transparent; border-radius:0; }

body[data-page-type="btec-web-tutorial"] .expected-output .plain-sidebar-preview-links a:hover { background:transparent; color:#ffd84d; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main { background:white; padding:30px; text-align:center; }

body[data-page-type="btec-web-tutorial"] .expected-output .footer-links a, body[data-page-type="btec-web-tutorial"] .expected-output .pv-footer a { display:inline-block; background:#555; color:white; text-decoration:none; font-size:14px; padding:8px 15px; margin:5px; border:2px solid #999; border-radius:5px; cursor:pointer; }

body[data-page-type="btec-web-tutorial"] .expected-output .footer-links a:hover, body[data-page-type="btec-web-tutorial"] .expected-output .pv-footer a:hover { background:#ffd84d; color:#222; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-sidebar .plain-sidebar-preview-links a { display: block !important;
    background-color: transparent !important;
    color: white !important;
    text-decoration: underline !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 8px !important;
    margin-left: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-sidebar .plain-sidebar-preview-links a:hover { background-color: transparent !important;
    color: #ffd84d !important; }

body[data-page-type="btec-web-tutorial"] .expected-output .step-number { display: inline-block;
            background-color: #dc2626;
            color: white;
            font-weight: bold;
            padding-top: 6px;
            padding-right: 12px;
            padding-bottom: 6px;
            padding-left: 12px;
            border-radius: 999px;
            margin-bottom: 8px; }

body[data-page-type="btec-web-tutorial"] .expected-output .instruction-box, body[data-page-type="btec-web-tutorial"] .expected-output .explain-box { background-color: #f8fafc;
            border-left-width: 6px;
            border-left-style: solid;
            border-left-color: #dc2626;
            padding-top: 12px;
            padding-right: 15px;
            padding-bottom: 12px;
            padding-left: 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .instruction-box p, body[data-page-type="btec-web-tutorial"] .expected-output .explain-box p { margin-top: 0;
            margin-right: 0;
            margin-bottom: 10px;
            margin-left: 0; }

body[data-page-type="btec-web-tutorial"] .expected-output .instruction-box p:last-child, body[data-page-type="btec-web-tutorial"] .expected-output .explain-box p:last-child { margin-bottom: 0; }

body[data-page-type="btec-web-tutorial"] .expected-output .code-label { font-size: 13px;
            font-weight: bold;
            letter-spacing: 0.4px; }

body[data-page-type="btec-web-tutorial"] .expected-output pre code { background-color: transparent;
            color: inherit;
            padding-top: 0;
            padding-right: 0;
            padding-bottom: 0;
            padding-left: 0; }

body[data-page-type="btec-web-tutorial"] .expected-output { border-width: 2px;
            border-style: solid;
            border-color: #20242a;
            background-color: white;
            padding-top: 15px;
            padding-right: 15px;
            padding-bottom: 15px;
            padding-left: 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .blank-preview { background-color: white;
            border-width: 2px;
            border-style: dashed;
            border-color: #d0d5dd;
            min-height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #475467;
            padding-top: 20px;
            padding-right: 20px;
            padding-bottom: 20px;
            padding-left: 20px; }

body[data-page-type="btec-web-tutorial"] .expected-output .browser-preview { background-color: white;
            border-width: 2px;
            border-style: solid;
            border-color: #98a2b3;
            min-height: 150px;
            color: #222222; }

body[data-page-type="btec-web-tutorial"] .expected-output .body-preview { background-color: #f2f2f2; }

body[data-page-type="btec-web-tutorial"] .expected-output .large-logo-preview { width: 280px;
            height: auto;
            background-color: #d9d9d9;
            border-width: 2px;
            border-style: solid;
            border-color: #999999;
            display: block;
            margin-top: 12px;
            margin-right: auto;
            margin-bottom: 12px;
            margin-left: auto; }

body[data-page-type="btec-web-tutorial"] .expected-output .unstyled-heading { text-align: center; }

body[data-page-type="btec-web-tutorial"] .expected-output .plain-links { text-align: center;
            padding-bottom: 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .plain-links a { color: #0000ee;
            text-decoration: underline;
            margin-right: 8px;
            cursor: pointer; }

body[data-page-type="btec-web-tutorial"] .expected-output .plain-links.light a { color: white; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-header-grid-unpositioned { background-color: #333333;
            color: white;
            padding-top: 20px;
            padding-right: 20px;
            padding-bottom: 20px;
            padding-left: 20px;
            text-align: center; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-header-grid { background-color: #333333;
            color: white;
            padding-top: 20px;
            padding-right: 20px;
            padding-bottom: 20px;
            padding-left: 20px;
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center; }

body[data-page-type="btec-web-tutorial"] .expected-output .small-logo-preview { width: 120px;
            height: auto;
            background-color: #dddddd;
            border-width: 2px;
            border-style: solid;
            border-color: #999999;
            display: block; }

body[data-page-type="btec-web-tutorial"] .expected-output .left-logo { justify-self: left; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-header-grid h1 { margin-top: 0;
            margin-right: 0;
            margin-bottom: 0;
            margin-left: 24px;
            justify-self: left;
            text-align: left; }

body[data-page-type="btec-web-tutorial"] .expected-output .right-links { justify-self: right;
            padding-bottom: 0; }

body[data-page-type="btec-web-tutorial"] .expected-output .button-links { text-align: center; }

body[data-page-type="btec-web-tutorial"] .expected-output .right-buttons { justify-self: right; }

body[data-page-type="btec-web-tutorial"] .expected-output .button-links a, body[data-page-type="btec-web-tutorial"] .expected-output .footer-button-links a { display: inline-block;
            background-color: #666666;
            color: white;
            text-decoration: none;
            padding-top: 12px;
            padding-right: 18px;
            padding-bottom: 12px;
            padding-left: 18px;
            margin-top: 5px;
            margin-right: 5px;
            margin-bottom: 5px;
            margin-left: 5px;
            border-width: 2px;
            border-style: solid;
            border-color: #999999;
            border-radius: 5px;
            cursor: pointer;
            transition-property: background-color, color, transform;
            transition-duration: 0.15s;
            transition-timing-function: ease; }

body[data-page-type="btec-web-tutorial"] .expected-output .button-links a:hover, body[data-page-type="btec-web-tutorial"] .expected-output .footer-button-links a:hover { background-color: #ffd84d;
            color: #222222;
            transform: translateY(-2px); }

body[data-page-type="btec-web-tutorial"] .expected-output .main-unstyled-preview { background-color: transparent;
            min-height: 100px;
            text-align: left;
            padding-top: 10px;
            padding-right: 10px;
            padding-bottom: 10px;
            padding-left: 10px; }

body[data-page-type="btec-web-tutorial"] .expected-output .main-styled-preview { background-color: white;
            min-height: 220px;
            padding-top: 30px;
            padding-right: 30px;
            padding-bottom: 30px;
            padding-left: 30px;
            text-align: center; }

body[data-page-type="btec-web-tutorial"] .expected-output .main-styled-preview h2 { color: #333333; }

body[data-page-type="btec-web-tutorial"] .expected-output .compact-main { min-height: 120px; }

body[data-page-type="btec-web-tutorial"] .expected-output .footer-unstyled-preview { background-color: transparent;
            color: #222222;
            padding-top: 10px;
            padding-right: 10px;
            padding-bottom: 10px;
            padding-left: 10px; }

body[data-page-type="btec-web-tutorial"] .expected-output .footer-styled-preview { background-color: #333333;
            color: white;
            text-align: center;
            padding-top: 20px;
            padding-right: 20px;
            padding-bottom: 20px;
            padding-left: 20px; }

body[data-page-type="btec-web-tutorial"] .expected-output .footer-styled-preview p { margin-top: 0;
            margin-right: 0;
            margin-bottom: 10px;
            margin-left: 0; }

body[data-page-type="btec-web-tutorial"] .expected-output .footer-button-links { margin-top: 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .footer-button-links a { background-color: #555555;
            font-size: 14px;
            padding-top: 8px;
            padding-right: 15px;
            padding-bottom: 8px;
            padding-left: 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-note { margin-top: 10px;
            margin-right: 0;
            margin-bottom: 0;
            margin-left: 0;
            color: #475467;
            font-size: 14px;
            font-weight: bold; }

body[data-page-type="btec-web-tutorial"] .expected-output .top-link { display: inline-block;
            background-color: #20242a;
            color: white;
            text-decoration: none;
            padding-top: 10px;
            padding-right: 14px;
            padding-bottom: 10px;
            padding-left: 14px;
            margin-top: 10px;
            border-radius: 4px; }

body[data-page-type="btec-web-tutorial"] .expected-output .top-link:hover { background-color: #dc2626;
            color: white; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-frame { background-color: white;
    color: #222222;
    min-height: 120px;

    font-family: initial;
    line-height: normal; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-body { font-family: Arial, sans-serif; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-hero-plain { display: block; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-hero-flex { display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-hero-size { min-height: 400px;

    padding-top: 40px;
    padding-right: 40px;
    padding-bottom: 40px;
    padding-left: 40px;

    text-align: center; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-hero-colour { background-color: #ffe5e5;

    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: red; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-hero-h1 { margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;

    font-size: 48px;
    color: #8b0000; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-hero-p { max-width: 600px;
    font-size: 18px;
    line-height: 1.5;
    color: #333333; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-hero-link { display: inline-block;

    margin-top: 15px;

    padding-top: 12px;
    padding-right: 24px;
    padding-bottom: 12px;
    padding-left: 24px;

    background-color: red;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-hero-link.pv-hero-hover:hover { background-color: #8b0000; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-note { font-weight: bold;
    color: #475467; }

body[data-page-type="btec-web-tutorial"] .expected-output .step-number { display:inline-block;background:#7c3aed;color:white;font-weight:bold;padding:6px 12px;border-radius:999px }

body[data-page-type="btec-web-tutorial"] .expected-output .instruction-box { background:#faf5ff;border-left:6px solid #7c3aed;padding:12px 15px;margin:12px 0 }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box { background:#f8fafc;border-left:6px solid #7c3aed;padding:12px 15px }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box ul { margin:0;padding-left:22px }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box li { margin-bottom:6px }

body[data-page-type="btec-web-tutorial"] .expected-output pre code { background:transparent;padding:0 }

body[data-page-type="btec-web-tutorial"] .expected-output { border:2px solid #20242a;background:white;padding:15px }

body[data-page-type="btec-web-tutorial"] .expected-output .blank { background:white;border:2px dashed #d0d5dd;min-height:100px;display:flex;align-items:center;justify-content:center;color:#475467 }

body[data-page-type="btec-web-tutorial"] .expected-output .expected-browser { background:white;color:#222;min-height:120px;font-family:initial;line-height:normal }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-body { font-family:Arial,sans-serif;background:#eeeeee }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-flex { display:flex;justify-content:center;align-items:center }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-size { min-height:520px;padding:30px }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-card-flex { display:flex;flex-direction:column;align-items:center;gap:15px }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-card-box { background:white;border:2px solid #cccccc;border-radius:12px;padding:20px;width:300px;text-align:center }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-img { width:100%;border-radius:10px }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-h2 { margin:0;color:#222222 }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-p { margin:0;color:#555555;line-height:1.5 }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-a { display:inline-block;padding:12px 22px;background:#0b7a5c;color:white;text-decoration:none;border-radius:6px;font-weight:bold;cursor:pointer }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-a.pv-hover:hover { background:#075c45 }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-note { font-weight:bold;color:#475467 }

body[data-page-type="btec-web-tutorial"] .expected-output .step-number { display:inline-block; background-color:#7c3aed; color:white; font-weight:bold; padding:6px 12px; border-radius:999px; }

body[data-page-type="btec-web-tutorial"] .expected-output .instruction-box { background-color:#faf5ff; border-left:6px solid #7c3aed; padding:12px 15px; margin:12px 0; }

body[data-page-type="btec-web-tutorial"] .expected-output .explain-box { background-color:#f8fafc; border-left:6px solid #7c3aed; padding:12px 15px; }

body[data-page-type="btec-web-tutorial"] .expected-output pre code { background-color:transparent; padding:0; }

body[data-page-type="btec-web-tutorial"] .expected-output { border:2px solid #20242a; background-color:white; padding:15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .blank-preview { background-color:white; border:2px dashed #d0d5dd; min-height:100px; display:flex; align-items:center; justify-content:center; color:#475467; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-frame { background-color:white; color:#222222; min-height:120px; font-family:initial; line-height:normal; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-body { font-family:Arial,sans-serif; background-color:#eeeeee; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-flex { display:flex; justify-content:center; align-items:center; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-size { min-height:520px; padding:30px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-form-section { background-color:white; border:2px solid red; border-radius:10px; padding:30px; width:400px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-form-h1 { margin-top:0; color:#8b0000; text-align:center; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-form-p { text-align:center; color:#444444; margin-bottom:25px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-form { display:flex; flex-direction:column; gap:15px; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-label { font-weight:bold; color:#333333; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-field { padding:12px; border:1px solid #999999; border-radius:6px; font-size:16px; font-family:Arial,sans-serif; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-textarea { min-height:120px; resize:vertical; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-button { padding:12px; background-color:red; color:white; border:0; border-radius:6px; font-size:16px; font-weight:bold; cursor:pointer; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-button.pv-button-hover:hover { background-color:#8b0000; }

body[data-page-type="btec-web-tutorial"] .expected-output .preview-note { font-weight:bold; color:#475467; }

body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-layout-demo {
  padding: 0;
  font-family: Arial, sans-serif;
  color: #222222;
  background: #ffffff;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-header,
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-footer {
  padding: 0;
  text-align: left;
  background: transparent;
  color: inherit;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-header {
  margin: 0.67em 0;
  font-size: 2em;
  font-weight: 800;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-main {
  margin: 0;
  padding: 0;
  max-width: none;
  min-height: 0;
  background: transparent;
  border-radius: 0;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-main-empty,
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-row-empty {
  min-height: 0;
  color: #475467;
  font-style: italic;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-row {
  display: block;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-row:last-child {
  margin-bottom: 0;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-section {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 400;
  text-align: left;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-section h4 {
  margin: 0.83em 0;
  font-size: 1.5em;
  line-height: 1.2;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-section p {
  margin: 1em 0;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-body-styled {
  font-family: Arial, sans-serif;
  color: #222222;
  background: #eef3f8;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-shell-styled .pv-demo-header,
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-shell-styled .pv-demo-footer {
  margin: 0;
  padding: 18px;
  text-align: center;
  background: #143d67;
  color: #ffffff;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-shell-styled .pv-demo-footer {
  font-size: 1em;
  font-weight: 400;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-main-styled .pv-demo-main {
  margin: 18px auto;
  padding: 16px;
  max-width: 760px;
  min-height: 120px;
  background: #ffffff;
  border-radius: 10px;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-rows-styled .pv-demo-row {
  margin-bottom: 14px;
  padding: 12px;
  border: 3px dashed #8aa4c2;
  border-radius: 12px;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-rows-styled .pv-demo-row-empty {
  display: grid;
  min-height: 72px;
  place-items: center;
  font-weight: 800;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-sections-styled .pv-demo-section {
  padding: 16px;
  border: 3px solid #2362c9;
  border-radius: 10px;
  background: #e8f0ff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-flex-styled .pv-demo-row {
  display: flex;
  gap: 12px;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-flex-styled .pv-demo-section {
  flex: 1;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-colours-styled .pv-demo-row-one .pv-demo-section {
  border-color: #2362c9;
  background: #e8f0ff;
}
body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-colours-styled .pv-demo-row-two .pv-demo-section {
  border-color: #0aa873;
  background: #e6f8f1;
}

@media (max-width: 900px) {
  body[data-page-type="btec-web-tutorial"] main { padding-inline: 18px; }
  body[data-page-type="btec-web-tutorial"] .btec-web-contents ol { columns: 1; }
  body[data-page-type="btec-web-tutorial"] .expected-output { padding: 10px; }
}
@media (max-width: 760px) {
  body[data-page-type="btec-web-tutorial"] main {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding-inline: 0;
    overflow-x: visible;
  }
  body[data-page-type="btec-web-tutorial"] .lesson-part,
  body[data-page-type="btec-web-tutorial"] .question-header { width: 100%; max-width: 100%; }
  body[data-page-type="btec-web-tutorial"] .tutorial-page-nav { display: grid; grid-template-columns: 1fr; }
  body[data-page-type="btec-web-tutorial"] .tutorial-page-nav .back-button { width: 100%; max-width: 100%; text-align: center; }
  body[data-page-type="btec-web-tutorial"] .expected-output { overflow-x: auto; }
  body[data-page-type="btec-web-tutorial"] .expected-output .site-preview,
  body[data-page-type="btec-web-tutorial"] .expected-output .browser-preview,
  body[data-page-type="btec-web-tutorial"] .expected-output .preview-frame,
  body[data-page-type="btec-web-tutorial"] .expected-output .preview-box { min-width: min(520px, 100%); }
  body[data-page-type="btec-web-tutorial"] .code-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  body[data-page-type="btec-web-tutorial"] .copy-button {
    justify-self: start;
    max-width: 100%;
  }
  body[data-page-type="btec-web-tutorial"] .expected-output .large-logo,
  body[data-page-type="btec-web-tutorial"] .expected-output .large-logo-preview,
  body[data-page-type="btec-web-tutorial"] .expected-output .small-logo,
  body[data-page-type="btec-web-tutorial"] .expected-output .small-logo-preview,
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-img {
    max-width: 100%;
    height: auto;
  }
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-layout,
  body[data-page-type="btec-web-tutorial"] .expected-output .preview-header-grid,
  body[data-page-type="btec-web-tutorial"] .expected-output .preview-header-grid-unpositioned {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-main,
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-size,
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-main-styled,
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-hero-size {
    min-height: 260px;
    padding: 18px;
  }
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-demo-responsive-styled .pv-demo-row {
    flex-direction: column;
  }
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-alert-section,
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-form-section,
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-card-box {
    width: min(100%, 400px);
  }
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-nav a,
  body[data-page-type="btec-web-tutorial"] .expected-output .pv-footer-nav a,
  body[data-page-type="btec-web-tutorial"] .expected-output .button-links a,
  body[data-page-type="btec-web-tutorial"] .expected-output .footer-button-links a {
    white-space: normal;
  }
}
