/*
Theme Name: Code Horizon
Description: A blue and green learning workspace for EditHTMLOnline.com.
Version: 1.0.0
Author: EditHTMLOnline.com
Text Domain: code-horizon
*/
:root{--blue:#0078e7;--deep:#0053ad;--cyan:#00b9e8;--green:#18a800;--lime:#a5f448;--navy:#10244a;--bg:#f0f8ff;--shadow:0 7px 16px #145b9230;--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--navy);background:radial-gradient(ellipse at 50% 52%,#e0f3ff77,transparent 70%),var(--bg);font-family:Arial,sans-serif;font-size:16px;line-height:1.5}a{color:var(--deep);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{color:inherit}button:disabled{cursor:wait;opacity:.65}button,a,input,select,textarea,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #0082e7;outline-offset:4px}input,select,textarea{max-width:100%}button{border:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:"Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif;line-height:1.15;letter-spacing:-.035em}h1,h2,h3,strong,.brand-name{font-weight:800}h2{font-size:30px}h3{font-size:21px}p{margin-bottom:1em}.wrap{width:min(1280px,calc(100% - 72px));margin-inline:auto}.icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:absolute;top:0;left:10px;padding:12px;background:white;transform:translateY(-150%);z-index:100}.skip-link:focus{transform:none}.site-header{position:relative;background:linear-gradient(120deg,#fff,#f6fbff);z-index:30;box-shadow:0 1px 0 #d3e9f8}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:80px;gap:26px}.brand{display:flex;gap:12px;align-items:center;flex-shrink:0;color:#0637a1;line-height:1.15}.brand:hover{text-decoration:none}.brand-mark{width:61px;height:53px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#00d1f1,#0079f1 75%,#0052cf);color:white;box-shadow:inset 0 1px 2px #fff7,0 3px 5px #008ce922}.brand-mark .icon{width:42px;height:42px;stroke-width:2.2}.brand-name{font-size:28px;letter-spacing:-1px}.brand-name span,.footer-brand span{color:#16a807}.brand small{display:block;font-size:16px;color:#10244a;font-weight:600;letter-spacing:0;margin-top:3px}#main-nav{display:flex;align-items:center;gap:30px;font-weight:750;font-size:16px}#main-nav>a:not(.button){color:#091939}summary{list-style:none;cursor:pointer}summary::-webkit-details-marker{display:none}.nav-drop{position:relative}summary span{display:inline-block;font-size:17px;margin-left:4px}.dropdown{position:absolute;top:calc(100% + 16px);left:-18px;min-width:230px;padding:10px;background:#fff;border:1px solid #d3eaff;border-radius:15px;box-shadow:0 12px 30px #123d5930}.dropdown a{display:block;padding:11px 14px;border-radius:9px;white-space:nowrap;font-weight:600}.dropdown a:hover{background:#e6f5ff;text-decoration:none}.mega{min-width:260px}.search-toggle{background:transparent;padding:6px}.menu-toggle{display:none;background:none;font-size:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;padding:13px 22px;min-height:46px;font-weight:800;white-space:nowrap;box-shadow:0 5px 9px #17386c20;transition:transform .2s,box-shadow .2s;border:1px solid transparent;text-align:center;text-decoration:none!important;line-height:1.3}.button:hover{transform:translateY(-2px);box-shadow:0 7px 14px #17386c35}.green{background:linear-gradient(#30db00,#009d02);color:#fff;box-shadow:inset 0 2px 1px #b6f85c88,0 5px 8px #0b582a22;border-color:#83e636}.all-tools{border-radius:28px;font-size:16px;padding:11px 21px}.all-tools .icon{width:20px;height:20px}.lime{color:#071b35;background:linear-gradient(#caff6a,#8bf600);border:2px solid #e0ffae;box-shadow:0 7px 12px #00306b40}.blue{background:linear-gradient(140deg,#00b4ee,#0066df);color:#fff}.outline{border:2px solid white;background:#057eb222;color:#fff;box-shadow:0 4px 7px #004a7030}.subtle{box-shadow:none;background:#e9f4ff;border:1px solid #c4def2;padding:9px 14px}.search-bar{padding-block:18px}.search-bar>div{display:flex;gap:10px;margin-top:8px}.search-bar input{flex:1;border:1px solid #9ebed7;border-radius:9px;padding:10px}.hero{position:relative;isolation:isolate;color:white;background:linear-gradient(118deg,#0074e7 0%,#005cb7 32%,#00a8b2 66%,#00ad78 100%);overflow:hidden;border-radius:0 0 48% 4% / 0 0 5% 4%}.hero-inner{display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:36px;min-height:415px;padding-block:32px 40px;position:relative;z-index:2}.hero h1{font-size:clamp(32px,3.9vw,56px);line-height:1.03;letter-spacing:-1.4px;text-shadow:0 3px 2px #063f7850;margin:0 0 12px;font-weight:900;white-space:nowrap}.hero h1 span{color:#c2fa65;font-size:.94em}.hero-copy>p{font-size:21px;line-height:1.35;max-width:560px;margin-bottom:20px;letter-spacing:-.2px}.hero-actions{display:flex;gap:20px;align-items:center}.hero-actions .button{font-size:18px;padding:13px 22px}.hero-actions .icon{width:28px;height:28px}.hero-actions .outline{padding-inline:16px}.features{list-style:none;display:flex;justify-content:space-between;padding:0;margin:26px 0 0;gap:18px;max-width:570px}.features li{display:flex;align-items:center;gap:9px;font-size:15px;line-height:1.2;font-weight:650}.features .icon{width:35px;height:35px;filter:drop-shadow(0 3px 1px #03698055)}.hero-orbit{position:absolute;z-index:-1;background:linear-gradient(135deg,#00bc75,#65e500);border-radius:45%;transform:rotate(-38deg)}.orbit-one{width:700px;height:220px;right:-120px;top:-78px}.orbit-two{width:740px;height:280px;right:-30px;bottom:-145px;background:linear-gradient(150deg,#35e400,#00b99b)}.laptop-illustration{position:relative;width:100%;padding:8px 0 6px;filter:drop-shadow(0 10px 5px #01454b55);align-self:center}.laptop-lid{margin-inline:5%;padding:18px 12px 15px;background:linear-gradient(120deg,#001d35,#00335b);border:3px solid #f5faff;border-radius:22px 22px 8px 8px;transform:perspective(1000px) rotateX(2deg);box-shadow:inset 0 0 0 2px #092a48}.camera{position:absolute;top:5px;left:50%;width:5px;height:5px;border-radius:50%;background:#14608b}.laptop-screen{display:grid;grid-template-columns:1.08fr 1fr;gap:5px;background:linear-gradient(125deg,#065c8d,#0d7b9f);padding:7px;border-radius:8px;overflow:hidden;height:282px}.mini-code,.mini-preview{border:2px solid #6a8797;border-radius:7px;overflow:hidden;min-width:0;background:#182636;box-shadow:0 2px 4px #0008}.mini-bar{background:linear-gradient(#34485e,#23374a);padding:4px 8px;font-size:14px;font-weight:bold;color:#fff;line-height:1.4}.mini-bar span{float:right}.mini-code pre{font:10px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;margin:8px 2px;color:#fff;white-space:pre;letter-spacing:-.15px}.mini-code b{font-weight:400;color:#ff85c4}.mini-code em{font-style:normal;color:#ffdf59}.mini-code i{font-style:normal;color:#75eac6}.mini-code .muted{color:#b9cbd3}.mini-preview{background:#f8fcff}.mini-preview .mini-bar{background:linear-gradient(120deg,#459d31,#176b7e)}.browser-dots{height:23px;display:flex;gap:3px;padding:6px 4px;align-items:center;background:#dfebf2}.browser-dots i{width:7px;height:7px;background:#fa4b53;border-radius:100%}.browser-dots i:nth-child(2){background:#fdd541}.browser-dots i:nth-child(3){background:#32c573}.browser-dots span{background:white;border-radius:4px;flex:1;height:13px;margin-left:5px}.mini-page{padding:20px 10px 10px;text-align:left}.mini-page strong{font-size:29px;color:#0099db;letter-spacing:-1px;line-height:1.15;display:block;white-space:nowrap}.mini-page p{font-size:12px;color:#07172f;font-weight:600;margin-top:10px;white-space:nowrap}.mini-landscape{background:#91dfff url('assets/landscape.svg') center bottom/cover;height:96px;margin-top:22px;border-radius:7px}.laptop-base{width:108%;height:22px;margin-left:-4%;background:linear-gradient(90deg,#edfaff,#7da7c2 5%,#f6ffff 18%,#82a9c8 49%,#eefcff 92%,#76aac7);border-radius:2px 2px 45% 45% / 2px 2px 90% 90%;box-shadow:0 3px 2px #035a6a55;position:relative;margin-top:-3px}.laptop-base span{display:block;background:linear-gradient(#537c9f,#bed7e8);height:8px;width:22%;border-radius:0 0 10px 10px;margin:auto}.laptop-shadow{height:8px;border-radius:50%;background:#00494c50;filter:blur(5px);margin-inline:8%}.home-content{width:min(1320px,calc(100% - 64px))}.section-title{display:flex;align-items:center;justify-content:center;gap:9px;font-size:30px;text-align:center;margin:18px 0 15px;letter-spacing:-1px}.section-title span{color:#12b500}.section-title:before,.section-title:after{content:"";height:2px;width:110px;margin:0 15px;background:linear-gradient(90deg,transparent,#0082b9)}.section-title:after{transform:rotate(180deg)}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:66px;margin:0 8px 26px}.step{position:relative;background:linear-gradient(135deg,#fff,#fcfdff);border-radius:21px;box-shadow:var(--shadow);text-align:center;padding:10px 14px 14px;min-height:140px;border:1px solid #fff}.step:not(:last-child):after{content:'›';font-size:40px;position:absolute;right:-45px;top:36%;color:#5294bd;font-weight:400}.step>.icon{color:#0574f5;width:47px;height:47px;margin:0 0 5px}.step:nth-child(even)>.icon{color:#12b900}.step-number{position:absolute;left:14px;top:8px;background:linear-gradient(#00bbf5,#0077df);border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-size:23px;font-weight:800;color:#fff;box-shadow:0 3px 5px #0b7fc444}.step:nth-child(even) .step-number{background:linear-gradient(#25e800,#009c00)}.step h3{font-size:20px;letter-spacing:-.6px;margin:0 0 5px}.step p{font-size:16px;line-height:1.3;margin:0}.editor-shell{border:8px solid #fff;border-radius:22px;box-shadow:var(--shadow);overflow:hidden;background:white;scroll-margin-top:30px}.editor-workspace{display:grid;grid-template-columns:minmax(0,56fr) 8px minmax(0,44fr);min-height:332px}.code-pane{overflow:hidden;min-width:0;background:#192636;border-radius:13px;color:#fff}.editor-toolbar,.preview-toolbar{height:41px;background:linear-gradient(#2b4359,#223446);display:flex;gap:8px;align-items:center;padding:4px 10px;font-size:14px;white-space:nowrap}.editor-toolbar button{background:transparent;color:white;padding:5px 10px;border-radius:7px;min-height:30px;font-size:14px}.code-tabs{display:flex;gap:4px;flex:1}.code-tabs button[aria-selected=true]{background:linear-gradient(#00b9ee,#0080d2);box-shadow:0 1px 4px #07192655;border:1px solid #08b8f7}.editor-toolbar .run-code{color:#07282c;font-weight:bold;background:linear-gradient(#d5ff95,#8bf731);display:flex;align-items:center;gap:7px}.run-code .icon{width:16px;height:16px;fill:currentColor}.editor-toolbar .fullscreen-button{font-size:24px;line-height:1;padding:0 6px}.code-buffer{height:290px}.code-buffer textarea{width:100%;height:100%;border:0;background:#192636;color:#eef8ff;font:14px/1.5 monospace;padding:15px;resize:none}.code-buffer .CodeMirror{height:100%;font:13px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;background:#192636;color:#f0f7ff;padding-block:5px}.CodeMirror .CodeMirror-gutters{background:#1b2d3c;border:0}.CodeMirror .CodeMirror-linenumber{color:#a9c4d5}.CodeMirror .CodeMirror-cursor{border-color:white}.CodeMirror .CodeMirror-selected{background:#32516b}.CodeMirror .cm-tag{color:#ff8ebc}.CodeMirror .cm-attribute{color:#c8ee89}.CodeMirror .cm-string{color:#cae3f6}.CodeMirror .cm-keyword{color:#db9eff}.CodeMirror .cm-property{color:#73d7ff}.CodeMirror .cm-number{color:#ffd968}.CodeMirror .cm-comment{color:#a7b7bd}.CodeMirror .cm-def{color:#d6f689}.CodeMirror .cm-atom{color:#a5ec97}.editor-shell[data-theme=light] .CodeMirror{background:#f9fcff;color:#122e4a}.editor-shell[data-theme=light] .CodeMirror-gutters{background:#e5f0f7}.editor-shell[data-theme=light] .CodeMirror-cursor{border-color:#10244a}.editor-shell[data-theme=light] .cm-tag{color:#b71d56}.editor-shell[data-theme=light] .cm-attribute{color:#407509}.editor-shell[data-theme=light] .cm-string{color:#175d9e}.editor-shell[data-theme=light] .cm-property{color:#066794}.editor-shell[data-theme=light] .cm-keyword{color:#7924a4}.editor-shell[data-theme=light] .cm-number{color:#985d00}.panel-divider{cursor:col-resize;background:white}.panel-divider:focus-visible{outline-offset:-2px}.preview-pane{min-width:0;overflow:hidden;background:#dceff8;border-radius:13px;display:flex;flex-direction:column}.preview-toolbar{color:#fff;justify-content:space-between}.preview-toolbar strong{display:flex;gap:7px;align-items:center;font-size:15px}.preview-toolbar .icon{width:18px;height:18px}.preview-toolbar select{color:#fff;background:#2b455b;border:1px solid #6d8b9f;border-radius:5px;padding:3px 5px;font-size:12px}.preview-viewport{height:290px;overflow:auto;display:flex;justify-content:center}.preview-viewport iframe{border:0;height:100%;width:100%;flex-shrink:0;background:#fff}.editor-bottom{padding:9px 4px 0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font:13px/1.4 Arial,sans-serif}.editor-utilities,.editor-preferences{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.editor-bottom button,.editor-bottom select{border:1px solid #cfe1ee;background:#f0f8ff;padding:6px 8px;border-radius:5px;color:#193755;font-size:13px;min-height:32px}.editor-preferences label{white-space:nowrap}.editor-status{font-size:12px;color:#52677d;margin:6px 5px 0;min-height:18px}.editor-mobile-controls{display:none}.editor-shell.is-fullscreen,.editor-shell:fullscreen{position:fixed;inset:0;z-index:99999;display:flex;flex-direction:column;border-radius:0}.editor-shell.is-fullscreen .editor-workspace,.editor-shell:fullscreen .editor-workspace{flex:1;min-height:0}.editor-shell.is-fullscreen .code-buffer,.editor-shell:fullscreen .code-buffer,.editor-shell.is-fullscreen .preview-viewport,.editor-shell:fullscreen .preview-viewport{height:calc(100vh - 145px)}.home-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 18px}.tool-card{display:flex;gap:16px;align-items:center;padding:14px 18px;background:linear-gradient(135deg,#fff,#fcfdff);border:1px solid white;border-radius:19px;box-shadow:var(--shadow);color:#0b1e43;min-width:0;transition:transform .2s,box-shadow .2s}.tool-card:hover{transform:translateY(-4px);box-shadow:0 10px 20px #0b65ac30;text-decoration:none;border-color:#7ed8f6}.tool-card strong{display:block;font-size:18px;letter-spacing:-.5px;line-height:1.2;margin-bottom:3px}.tool-card small{display:block;font-size:15px;line-height:1.3}.tool-icon{width:48px;height:48px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;color:#fff;box-shadow:0 4px 10px #228cb628,inset 0 2px 1px #fff6}.tool-icon .icon{width:35px;height:35px;stroke-width:2}.cyan{background:linear-gradient(145deg,#00e3e2,#00b4d4)}.blue.tool-icon{background:linear-gradient(140deg,#00b9ff,#0067eb)}.yellow{background:linear-gradient(145deg,#ffdf00,#ffb800);color:#151e30}.purple{background:linear-gradient(140deg,#b85cff,#7424ff)}.teal{background:linear-gradient(140deg,#15edc2,#008f83)}.pink{background:linear-gradient(140deg,#fff,#ffe1ed);color:#ee1763;box-shadow:none}.green.tool-icon{background:linear-gradient(140deg,#48e600,#00ae0a)}.card-chevron{font-size:31px;color:#0eab08;margin-left:auto;line-height:1}.learning-banner{margin:28px 4px 0;border:5px solid white;border-radius:70px;background:linear-gradient(100deg,#cdeeff,#e8f9ff 50%,#c7edff);display:flex;align-items:center;gap:20px;box-shadow:var(--shadow);position:relative;min-height:112px;padding:13px 32px 13px 170px}.learning-banner img{position:absolute;bottom:-2px;left:14px;width:142px;height:145px}.learning-banner h2{margin:0 0 5px;font-size:29px}.learning-banner p{margin:0;font-size:18px}.learning-banner .button{margin-left:auto;border-radius:30px;font-size:17px;padding:13px 24px}.learning-banner .icon{width:28px;height:28px}.home-about{max-width:850px;margin:44px auto;text-align:center}.home-about h2{font-size:26px}.home-about p{color:#405b76}.about-links{display:flex;justify-content:center;gap:25px;flex-wrap:wrap;font-weight:bold}.site-footer{margin-top:40px;background:linear-gradient(145deg,#082c54,#061e3c);color:#d4eafa;padding:32px 0 18px}.footer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:40px}.footer-brand{font-size:24px;color:#fff;font-weight:800;letter-spacing:-.7px}.site-footer p{font-size:14px;margin-top:5px}.site-footer nav{display:flex;flex-wrap:wrap;gap:10px 22px;max-width:620px;justify-content:flex-end}.site-footer a{color:#e0f4ff}.site-footer .footer-brand span{color:#98f645}.site-footer .privacy-settings{padding:0;background:transparent;color:#e0f4ff;font-size:16px;text-decoration:underline}.footer-bottom{border-top:1px solid #ffffff26;padding-top:16px;margin-top:23px;display:flex;justify-content:space-between;gap:20px;font-size:13px}.page-wrap{max-width:1160px;padding-block:20px 35px}.breadcrumbs{display:flex;gap:12px;font-size:14px;color:#4a6680;margin-bottom:22px}.page-heading{margin-bottom:24px;max-width:850px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:13px;font-weight:800;color:#167eb5;margin-bottom:8px}.page-heading h1{font-size:43px;margin-bottom:12px}.page-heading>p{font-size:19px;color:#49647d}.content-card{background:#fff;padding:30px 36px;border-radius:22px;box-shadow:var(--shadow);overflow-wrap:anywhere}.content-card h2{margin-top:30px;font-size:27px}.content-card h2:first-child{margin-top:0}.content-card h3{margin-top:22px}.content-card p{max-width:85ch}.content-card pre{overflow:auto;background:#192636;color:#d1eeff;padding:18px;border-radius:12px;font-size:14px}.content-card code{font-family:ui-monospace,monospace}.content-card ul,.content-card ol{padding-left:24px}.tool-instructions{padding-top:30px;margin-top:35px;border-top:1px solid #d5e7f4}.tool-instructions h2{font-size:25px}.related-tools{margin-top:28px}.related-tools .home-tools{grid-template-columns:repeat(3,1fr)}.directory-controls{padding:20px;border-radius:18px;background:#fff;box-shadow:var(--shadow);margin-bottom:25px}.directory-controls label{display:block;font-weight:700}.directory-controls input{padding:12px;border:1px solid #aacbe4;border-radius:9px;width:100%;margin-top:7px}.category-filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.category-filters button{padding:8px 14px;border:1px solid #d6e6f3;border-radius:22px;background:#f2f9ff;font-size:14px}.category-filters button[aria-pressed=true]{background:#006bc4;color:white;border-color:#006bc4}.tool-directory{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.directory-empty{padding:30px;background:white;border-radius:15px}.directory-count{font-size:14px;color:#4a6680}.tool-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.tool-controls label{display:flex;align-items:center;gap:10px}.tool-controls select,.tool-controls input[type=number]{padding:8px;border:1px solid #b7cee0;border-radius:8px;max-width:160px}.input-output{display:grid;grid-template-columns:1fr 1fr;gap:20px}.input-output label{display:flex;flex-direction:column;gap:8px;font-weight:bold}.input-output textarea{width:100%;height:320px;padding:16px;border:1px solid #d6e5f0;border-radius:12px;resize:vertical;background:#192636;color:#e1f6ff;font:14px/1.6 ui-monospace,monospace}.tool-status,.convert-status,.colour-status{font-size:14px;color:#49647d;min-height:22px;margin-top:14px}.upload-area{display:flex;flex-direction:column;align-items:center;gap:10px;border:2px dashed #75b9e5;border-radius:18px;padding:35px;background:#effaff;margin-bottom:22px;text-align:center}.upload-area .icon{width:52px;height:52px;color:#00a0d9}.upload-area input{padding:10px;max-width:100%}.upload-area strong{font-size:23px}.upload-area span{font-size:14px;color:#49647d}.converted-file{display:flex;align-items:center;gap:15px;border:1px solid #d3e8f5;border-radius:12px;padding:14px;margin-bottom:10px}.converted-file img{width:75px;height:65px;object-fit:contain}.converted-file a{margin-left:auto}.colour-controls{display:flex;gap:30px;flex-wrap:wrap;margin-bottom:25px}.colour-controls label{display:flex;align-items:center;gap:12px}.colour-controls input[type=color]{width:65px;height:45px;border:1px solid #bfd8e9;border-radius:8px;padding:3px;background:white}.gradient-preview{height:200px;border-radius:18px;margin-bottom:20px}.gradient-code{width:100%;padding:15px;background:#192636;color:#d1eeff;border-radius:12px;font:16px/1.4 monospace;margin-top:8px;margin-bottom:15px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.guide-card{border:1px solid #cde4f4;padding:22px;border-radius:18px;background:#f8fcff}.guide-card .icon{width:37px;height:37px;color:#008ce6;margin-bottom:15px}.guide-card h2{font-size:24px}.guide-card p{font-size:16px;color:#48617b}.guide-card a{font-weight:800}.guide-section{scroll-margin-top:30px;margin-top:40px}.guide-section details{background:#f0f8ff;border:1px solid #cfe5f5;border-radius:12px;margin-top:14px;padding:15px 20px}.guide-section summary{font-weight:750}.guide-section details p{margin:14px 0 0}.tutorial-dialog{border:0;border-radius:24px;max-width:650px;width:calc(100% - 35px);padding:32px;color:var(--navy);box-shadow:0 25px 70px #001e5866}.tutorial-dialog::backdrop{background:#06244799;backdrop-filter:blur(5px)}.tutorial-dialog .close-dialog{float:right;background:#e7f3ff;border-radius:50%;width:38px;height:38px;font-size:24px}.tutorial-dialog h2{font-size:30px;padding-right:30px}.tutorial-dialog li{margin-bottom:14px}.tutorial-dialog code{background:#eaf5ff;padding:2px 4px}.tutorial-dialog .button{margin-top:8px}.search-results{display:grid;gap:20px}.search-result h2{font-size:25px}.search-result p{color:#4b657e}.not-found{padding:60px 30px;text-align:center}.not-found .error-number{font-size:100px;line-height:1;font-weight:900;color:#008add}.consent-status{padding:12px;border-left:3px solid #008ce6;background:#f0f8ff}.ad-slot{margin:48px auto;max-width:100%;text-align:center}.ad-slot:empty{display:none}.ad-label{font:12px Arial,sans-serif;color:#64748b}.ad-inner{max-width:100%;margin:auto}.ad-square .ad-inner{width:336px;min-height:280px}.ad-horizontal .ad-inner{width:970px;min-height:90px}.ad-vertical .ad-inner{width:300px;min-height:600px}
@media(min-width:1450px){.hero-inner{min-height:440px}.laptop-screen{height:300px}.mini-code pre{font-size:11px}.mini-page{padding-top:25px}.mini-page strong{font-size:32px}.mini-landscape{height:105px}.hero-copy>p{font-size:22px}}
@media(max-width:1180px){.wrap{width:calc(100% - 48px)}#main-nav{gap:18px;font-size:14px}.brand-name{font-size:24px}.brand-mark{width:52px;height:49px}.brand small{font-size:14px}.hero-inner{gap:20px;min-height:370px}.hero-copy>p{font-size:18px}.hero-actions{gap:13px}.hero-actions .button{font-size:15px;padding:12px 14px}.features li{font-size:13px;gap:6px}.features{gap:10px}.features .icon{width:30px;height:30px}.laptop-screen{height:254px}.mini-code pre{font-size:9px}.mini-page strong{font-size:24px}.mini-page p{font-size:10px}.mini-landscape{height:89px}.home-content{width:calc(100% - 48px)}.steps{gap:50px}.step:not(:last-child):after{right:-34px}.step h3{font-size:18px}.step p{font-size:14px}.tool-card{gap:12px;padding:14px}.tool-card strong{font-size:17px}.tool-card small{font-size:14px}.tool-icon{width:44px;height:44px}.learning-banner{padding-left:150px;padding-right:24px;gap:15px}.learning-banner img{width:130px}.learning-banner h2{font-size:27px}.learning-banner p{font-size:16px}.learning-banner .button{font-size:15px;padding:13px 18px}.editor-toolbar{gap:3px;padding-inline:6px}.editor-toolbar button{padding:5px 8px}}
@media(max-width:960px){.header-inner{min-height:73px}.menu-toggle{display:block}#main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;padding:18px 25px;border-bottom:1px solid #c4e3f7;box-shadow:0 10px 15px #003c6b20;align-items:stretch;flex-direction:column;font-size:17px;gap:18px}#main-nav.is-open{display:flex}.nav-drop .dropdown{position:static;box-shadow:none;border:0;padding:12px 0 0}.dropdown a{white-space:normal}.hero-inner{grid-template-columns:1fr 1fr;gap:15px;min-height:340px}.hero h1{font-size:34px}.hero-copy>p{font-size:16px}.hero-actions{flex-wrap:wrap;gap:10px}.hero-actions .button{font-size:14px}.features{margin-top:20px;gap:8px;flex-wrap:wrap}.features li{width:45%;font-size:13px}.laptop-screen{height:230px;padding:4px}.mini-code pre{font-size:8px;line-height:1.5}.mini-page{padding:16px 7px}.mini-page strong{font-size:21px}.mini-page p{font-size:9px;white-space:normal}.mini-landscape{height:74px;margin-top:17px}.mini-bar{font-size:11px}.laptop-lid{border-radius:16px 16px 5px 5px;padding:15px 7px 12px}.laptop-base{height:17px}.section-title{font-size:26px;flex-wrap:wrap;gap:7px}.section-title:before,.section-title:after{width:65px;margin-inline:8px}.steps{gap:25px;margin-inline:0}.step:not(:last-child):after{display:none}.step-number{width:30px;height:30px;left:9px;font-size:18px}.step>.icon{width:40px;height:40px}.step{padding-inline:10px}.step h3{font-size:17px}.home-tools{grid-template-columns:repeat(2,1fr)}.tool-card strong{font-size:18px}.tool-card small{font-size:15px}.learning-banner{padding:20px 22px 20px 138px;border-radius:35px;flex-wrap:wrap;gap:13px}.learning-banner img{width:120px;height:140px}.learning-banner .button{margin-left:0}.learning-banner h2{font-size:26px}.learning-banner p{font-size:16px}.editor-workspace{grid-template-columns:minmax(0,55fr) 8px minmax(0,45fr)}.editor-toolbar button{padding-inline:7px;font-size:12px}.editor-toolbar .fullscreen-button{font-size:21px}.preview-toolbar select{max-width:83px}.preview-toolbar strong{font-size:13px}.code-buffer .CodeMirror{font-size:12px}.footer-top{flex-direction:column;gap:20px}.site-footer nav{justify-content:flex-start;max-width:none}.tool-directory{grid-template-columns:repeat(2,1fr)}.guide-grid{grid-template-columns:1fr}.guide-card{display:block}.related-tools .home-tools{grid-template-columns:1fr 1fr}}
@media(max-width:640px){html{scroll-padding-top:15px}.wrap,.home-content{width:calc(100% - 30px)}.brand-name{font-size:22px}.brand-mark{width:46px;height:44px;border-radius:10px}.brand-mark .icon{width:34px;height:34px}.brand{gap:9px}.brand small{font-size:12px}.header-inner{min-height:70px;gap:10px}.menu-toggle{padding:3px}.hero{border-radius:0 0 45% 5% / 0 0 3% 2%}.hero-inner{grid-template-columns:1fr;padding-block:30px 26px;gap:20px}.hero h1{font-size:clamp(31px,8.1vw,44px);letter-spacing:-1px;white-space:normal}.hero h1 span{white-space:nowrap;font-size:.89em}.hero-copy>p{font-size:17px;max-width:95%;margin-bottom:18px}.hero-actions{flex-wrap:nowrap;gap:10px}.hero-actions .button{padding:11px 12px;font-size:14px;border-radius:10px;gap:6px;white-space:normal;flex:1}.hero-actions .icon{width:22px;height:22px}.features{flex-wrap:nowrap;gap:8px;margin-top:20px}.features li{width:auto;font-size:11px;gap:5px;flex-direction:column;text-align:center;flex:1}.features .icon{width:27px;height:27px}.laptop-illustration{max-width:450px;margin:auto;padding:0 12px}.laptop-screen{height:210px;padding:5px}.mini-code pre{font-size:7.5px;line-height:1.5;margin-top:8px}.mini-page strong{font-size:22px}.mini-page p{font-size:10px}.mini-landscape{height:68px;margin-top:15px}.laptop-lid{border-width:2px}.laptop-base{height:18px}.section-title{font-size:23px;line-height:1.25;gap:0 6px;margin-block:22px 16px;letter-spacing:-.8px}.section-title:before,.section-title:after{display:none}.steps{grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:22px}.step{padding:12px 10px 15px;border-radius:17px;min-height:143px}.step>.icon{width:39px;height:39px;margin-bottom:7px}.step h3{font-size:17px;margin-bottom:6px}.step p{font-size:13px;line-height:1.4}.step-number{width:29px;height:29px;top:10px;left:10px;font-size:18px}.editor-shell{border-width:6px;border-radius:18px}.editor-workspace{display:block;min-height:0}.code-buffer{height:320px}.preview-viewport{height:320px}.panel-divider{display:none}.editor-toolbar,.preview-toolbar{height:44px}.editor-toolbar{gap:4px;padding-inline:6px}.editor-toolbar button{font-size:13px;padding-inline:7px;min-height:34px}.editor-toolbar .clear-code{display:none}.code-tabs{gap:1px}.editor-toolbar .run-code{font-size:13px;gap:5px;padding-inline:9px}.editor-toolbar .run-code .icon{width:13px;height:13px}.editor-toolbar .fullscreen-button{font-size:22px}.preview-pane{display:none}.editor-shell[data-mobile=preview] .preview-pane{display:flex}.editor-shell[data-mobile=preview] .code-pane{display:none}.editor-mobile-controls{display:flex;margin-top:10px;background:#e6f3fd;padding:3px;border-radius:9px;gap:5px}.editor-mobile-controls button{flex:1;min-height:38px;border-radius:7px;background:transparent;font-size:14px;font-weight:bold}.editor-mobile-controls button[aria-pressed=true]{background:white;color:#0074cc;box-shadow:0 2px 4px #19475a22}.editor-bottom{padding-top:9px;gap:9px}.editor-utilities{gap:5px}.editor-bottom button,.editor-bottom select{font-size:12px;min-height:34px}.editor-preferences{gap:10px;font-size:12px}.editor-status{font-size:11px;line-height:1.4;margin-top:7px}.editor-shell.is-fullscreen .code-buffer,.editor-shell:fullscreen .code-buffer,.editor-shell.is-fullscreen .preview-viewport,.editor-shell:fullscreen .preview-viewport{height:calc(100dvh - 250px)}.tool-card{padding:13px 12px;gap:10px;border-radius:16px;align-items:flex-start}.tool-card strong{font-size:16px;letter-spacing:-.4px}.tool-card small{font-size:12px;line-height:1.4}.tool-icon{width:35px;height:37px;border-radius:8px}.tool-icon .icon{width:27px;height:27px}.card-chevron{display:none}.home-tools{gap:12px}.learning-banner{margin:26px 0 0;padding:20px 16px 20px 104px;border-width:4px;border-radius:30px;gap:12px;min-height:180px}.learning-banner img{left:-8px;width:110px;height:140px;bottom:5px}.learning-banner h2{font-size:23px}.learning-banner p{font-size:14px;line-height:1.4}.learning-banner .button{white-space:normal;font-size:13px;padding:10px 14px;gap:7px;min-height:44px}.learning-banner .icon{width:22px;height:22px}.home-about{margin-block:30px}.home-about h2{font-size:23px}.home-about p{font-size:15px}.about-links{gap:13px;font-size:14px}.footer-top{gap:18px}.site-footer nav{gap:12px 20px;font-size:14px}.site-footer .privacy-settings{font-size:14px}.footer-bottom{flex-direction:column;gap:5px;font-size:12px}.page-heading h1{font-size:34px}.page-heading>p{font-size:17px}.content-card{padding:22px 18px;border-radius:18px}.content-card h2{font-size:24px}.page-wrap{padding-top:18px}.tool-directory{grid-template-columns:1fr;gap:15px}.tool-directory .tool-card{align-items:center}.tool-directory .tool-card strong{font-size:19px}.tool-directory .tool-card small{font-size:15px}.tool-directory .tool-icon{width:45px;height:45px}.input-output{grid-template-columns:1fr}.input-output textarea{height:230px}.tool-controls{gap:10px}.tool-controls .button{font-size:14px;padding:10px 13px}.upload-area{padding:25px 12px}.upload-area strong{font-size:21px}.converted-file{flex-wrap:wrap}.converted-file img{width:55px}.converted-file a{font-size:14px}.colour-controls{gap:15px}.colour-controls label{font-size:14px}.related-tools .home-tools{grid-template-columns:1fr}.guide-section{margin-top:28px}.ad-vertical{display:none}.ad-horizontal .ad-inner{width:320px;min-height:100px}.ad-square .ad-inner{width:min(300px,100%);min-height:250px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(prefers-reduced-motion:no-preference){.hero-orbit{animation:drift 15s ease-in-out infinite alternate}.orbit-two{animation-delay:-6s}.step{animation:arrive .5s ease-out both}.step:nth-child(2){animation-delay:.08s}.step:nth-child(3){animation-delay:.16s}.step:nth-child(4){animation-delay:.24s}@keyframes drift{to{translate:20px 10px}}@keyframes arrive{from{transform:translateY(9px)}to{transform:translateY(0)}}}
[hidden]{display:none!important}
.page-primary{min-width:0}@media(min-width:1200px){.page-ad-layout:has(>.ad-vertical:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.page-ad-layout>.ad-vertical{margin:0;align-self:start;position:sticky;top:24px}}@media(max-width:1199px){.ad-vertical{display:none}}
.content-card input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),.content-card textarea:not(.tool-input):not(.tool-output):not(.gradient-code){border:1px solid #a8c9e0;border-radius:9px;padding:11px;max-width:100%}.content-card input[type=submit],.content-card button:not(.button){border-radius:9px}.content-card form label{color:#10244a}.content-card input[type=submit]{background:linear-gradient(#2bbb08,#108e00);color:#fff;font-weight:700;padding:12px 22px;cursor:pointer}

.editor-utilities .mobile-clear{display:none}@media(max-width:640px){.editor-utilities .mobile-clear{display:inline-block}}

/* Keep document declarations and line numbers legible in both editor themes. */
.CodeMirror .cm-meta{color:#a9c4d5}
.editor-shell[data-theme=light] .cm-meta,.editor-shell[data-theme=light] .CodeMirror-linenumber{color:#42617a}

.ad-slot[hidden]{display:none!important}
.learning-article .ad-slot{margin:44px auto;padding-block:16px;border-block:1px solid #d9e9f6}

.learning-article p a,.tool-instructions p a{text-decoration:underline;text-underline-offset:.15em}
