/* Main content only. Header, footer, container, fonts and background use learn.html's CSS. */
.online-tools { padding-bottom: 20px; }
.online-tools .ot-panel { padding: 28px; margin-bottom: 20px; border: 1px solid #ffffffed; border-radius: 17px; background: #ffffffe8; box-shadow: 0 8px 28px #32334f03; }
.online-tools .eyebrow { letter-spacing: .09em; margin-bottom: 7px; color: #ee2948; font-size: 12px; }
.online-tools .ot-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: center; padding: 38px 40px; background: linear-gradient(115deg,#fffaf7eb,#fff7fad9 53%,#f2ecffe6); }
.online-tools h1 { font-size: clamp(30px,3.2vw,42px); line-height: 1.35; letter-spacing: -.025em; margin: 12px 0 18px; }
.online-tools .ot-intro { font-size: 17px; color: var(--muted); line-height: 1.85; }
.online-tools .ot-promises { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.online-tools .ot-promises li { display: flex; align-items: center; gap: 7px; border: 1px solid #eeedf2; border-radius: 30px; background: #ffffffd6; padding: 7px 11px; font-size: 12px; }
.online-tools .ot-promises svg { width: 16px; height: 16px; color: #0caf85; }
.online-tools .ot-promises li:nth-child(2) svg { color: #f04468; }
.online-tools .ot-promises li:nth-child(3) svg { color: #3b82f6; }
.online-tools .ot-hero-art { min-width: 0; height: 240px; position: relative; }
.online-tools .ot-float { position: absolute; width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid #ffffffed; border-radius: 20px; box-shadow: 0 9px 22px #7c75b10c; }
.online-tools .ot-float svg { width: 35px; height: 35px; stroke-width: 2.2; }
.online-tools .ot-float-image { top: 54px; left: 4%; background: linear-gradient(140deg,#fff,#d3f4e4); color: #1bbb8c; transform: rotate(-14deg); }
.online-tools .ot-float-lock { top: 12px; left: 31%; background: linear-gradient(140deg,#fff,#eedbff); color: #9360f3; transform: rotate(8deg); }
.online-tools .ot-float-text { top: 150px; left: 16%; background: linear-gradient(140deg,#fff,#e1e9ff); color: #6b99f8; transform: rotate(-12deg); }
.online-tools .ot-float-magic { top: 130px; left: 42%; background: linear-gradient(140deg,#fff,#ffe6f0); color: #fa8197; transform: rotate(11deg); }
.online-tools .ot-handwriting { position: absolute; right: 0; top: 64px; color: #5c7ff1; font: italic 23px/1.45 "Comic Sans MS", "Segoe Print", cursive; transform: rotate(-10deg); }
.online-tools .ot-handwriting span { display: inline-block; padding-left: 14px; border-bottom: 1px solid #9699fa; padding-bottom: 8px; }
.online-tools .ot-art-caption { position: absolute; bottom: 10px; right: 0; color: #77819b; font-size: 12px; transform: rotate(-10deg); }
.online-tools .ot-section-heading { margin-bottom: 22px; }
.online-tools .ot-section-heading > p:last-child, .online-tools .ot-feedback p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.online-tools .ot-popular-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.online-tools .ot-tool-card { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 16px 20px; align-items: start; border: 1px solid #e7e9f2; border-radius: 14px; padding: 25px; background: linear-gradient(130deg,#fff,#fcfdff); min-width: 0; }
.online-tools .ot-tool-icon { width: 78px; height: 78px; border-radius: 17px; display: grid; place-items: center; }
.online-tools .ot-tool-icon svg { width: 38px; height: 38px; stroke-width: 2; }
.online-tools .ot-green { color: #049e72; background: #e5f8ef; }
.online-tools .ot-purple { color: #8d51ed; background: #f2eaff; }
.online-tools .ot-tool-copy h3 { font-size: 21px; margin: 0 0 8px; }
.online-tools a.ot-tool-card { position: relative; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.online-tools a.ot-tool-card:hover { border-color: #f2b5c1; box-shadow: 0 6px 20px #67426409; }
.online-tools .ot-hot { position: absolute; top: 10px; right: 13px; padding: 2px 9px; font-size: 11px; border-radius: 7px; color: #e83658; background: #fff0f4; }
.online-tools .ot-enter { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff1f5; color: #f54770; font-size: 27px; line-height: 1; }
.online-tools .ot-workspace { padding: 36px; }
.online-tools .ot-form { margin-top: 26px; }
.online-tools .ot-form label, .online-tools .ot-password-output > label { display: grid; gap: 8px; font-size: 14px; font-weight: 650; }
.online-tools .ot-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 22px; }
.online-tools input, .online-tools select, .online-tools textarea { min-width: 0; max-width: 100%; font: inherit; color: var(--ink); border: 1px solid #d9dfec; border-radius: 9px; padding: 11px; background: #fff; }
.online-tools input[type=number] { width: 100%; }
.online-tools #password-length { max-width: 240px; }
.online-tools .ot-file-label { padding: 24px; border: 1px dashed #bacbe6; border-radius: 12px; background: #f7faff; }
.online-tools .ot-file-label input { width: 100%; border: 0; background: transparent; padding-inline: 0; font-size: 13px; }
.online-tools .ot-form small { font-weight: 400; color: var(--muted); font-size: 12px; }
.online-tools .ot-options { border: 1px solid #e3e8f1; border-radius: 12px; margin: 24px 0; padding: 20px; display: flex; flex-wrap: wrap; gap: 18px; }
.online-tools .ot-options legend { color: var(--muted); font-size: 14px; padding-inline: 8px; }
.online-tools .ot-options label { display: flex; align-items: center; gap: 8px; }
.online-tools .ot-options input { accent-color: #f34869; width: 18px; height: 18px; }
.online-tools .ot-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.online-tools button:disabled { opacity: .55; cursor: not-allowed; }
.online-tools .ot-live-status { min-height: 30px; margin: 20px 0; color: #49617d; font-size: 14px; }
.online-tools .ot-help { padding: 20px 0; color: var(--muted); font-size: 14px; }
.online-tools .ot-password-output { margin-top: 28px; }
.online-tools textarea { width: 100%; resize: vertical; font: 18px/1.8 monospace; margin: 8px 0 12px; overflow-wrap: anywhere; }
.online-tools .ot-result { padding: 22px; border: 1px solid var(--line); border-radius: 12px; }
.online-tools .ot-result p { margin: 12px 0; color: var(--muted); }
.online-tools .ot-result img { display: block; max-width: 100%; max-height: 420px; margin: 18px 0; object-fit: contain; }
@media (max-width:760px) {
    .online-tools .ot-fields { grid-template-columns: minmax(0,1fr); }
    .online-tools .ot-file-label { padding: 14px; }
    .online-tools .ot-options { flex-direction: column; }
}
.online-tools .ot-tool-copy p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.online-tools .ot-card-tags { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.online-tools .ot-tag, .online-tools .ot-status { display: inline-block; padding: 3px 10px; border-radius: 7px; font-size: 12px; }
.online-tools .ot-status { background: #f1f3f8; color: #62708b; width: fit-content; }
.online-tools .ot-card-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 24px; color: #73809c; font-size: 12px; margin-top: 10px; }
.online-tools .ot-card-foot span { display: inline-flex; align-items: center; gap: 6px; }
.online-tools .ot-card-foot svg { width: 15px; height: 15px; }
.online-tools .ot-setup-note { display: flex; align-items: center; gap: 8px; color: #7f6558; background: #fff7ed; padding: 10px 13px; border-radius: 9px; font-size: 13px; margin-bottom: 18px; }
.online-tools .ot-setup-note svg { width: 17px; height: 17px; }
.online-tools .ot-coming-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.online-tools .ot-coming-card { display: grid; grid-template-columns: 45px minmax(0,1fr); gap: 15px 12px; min-width: 0; padding: 18px 15px; border: 1px solid #e9eaf2; border-radius: 12px; }
.online-tools .ot-small-icon { width: 45px; height: 45px; border-radius: 12px; background: #f0f3fa; display: grid; place-items: center; color: #64799e; }
.online-tools .ot-small-icon svg { width: 25px; height: 25px; }
.online-tools .ot-coming-card h3 { font-size: 15px; margin: 2px 0 8px; }
.online-tools .ot-coming-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.online-tools .ot-coming-card .ot-status { grid-column: 1 / -1; }
.online-tools .ot-feedback { display: grid; grid-template-columns: 56px minmax(0,1fr) 320px; gap: 20px; padding-block: 30px; align-items: start; background: linear-gradient(110deg,#fff7f9ed,#f5f0ffdc); }
.online-tools .ot-feedback-icon { display: grid; place-items: center; width: 56px; height: 56px; color: #fb5b80; background: #ffe8ee; border-radius: 17px; }
.online-tools .ot-feedback h2 { font-size: 23px; padding-top: 5px; }
.online-tools .ot-feedback .pill { margin-top: 18px; min-height: 42px; font-size: 14px; }
.online-tools .ot-feedback-art { position: relative; height: 125px; }
.online-tools .ot-feedback-art > svg { position: absolute; width: 120px; height: 120px; color: #ddd8ff; fill: #ece8ff; left: 0; bottom: -10px; transform: rotate(8deg); stroke-width: 1; }
.online-tools .ot-feedback-art .ot-handwriting { top: 16px; font-size: 23px; color: #d97fd5; }
.online-tools .ot-feedback-art .ot-handwriting span { border-color: #e6a2e9; }
.online-tools .ot-faq-list { border: 1px solid #e5e8f1; border-radius: 12px; overflow: hidden; }
.online-tools .ot-faq details + details { border-top: 1px solid #e9ecf3; }
.online-tools .ot-faq summary { display: flex; align-items: center; gap: 13px; padding: 17px 20px; font-size: 15px; font-weight: 650; }
.online-tools .ot-faq summary:hover { background: #f7f9fe; }
.online-tools .ot-faq summary:focus-visible { outline-offset: -4px; }
.online-tools .ot-faq summary svg { width: 19px; height: 19px; }
.online-tools .ot-faq .ot-chevron { width: 16px; height: 16px; margin-left: auto; color: #7b8eae; }
.online-tools .ot-faq details[open] .ot-chevron { transform: rotate(180deg); }
.online-tools .ot-faq details > p { padding: 0 52px 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }
@media (max-width:1050px) {
    .online-tools .ot-hero { padding: 30px; grid-template-columns: 1.2fr 1fr; }
    .online-tools .ot-handwriting { font-size: 19px; }
    .online-tools .ot-coming-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .online-tools .ot-feedback { grid-template-columns: 56px minmax(0,1fr) 230px; }
    .online-tools .ot-feedback-art > svg { opacity: .5; }
    .online-tools .ot-tool-card { padding: 20px; grid-template-columns: 60px minmax(0,1fr); gap: 16px; }
    .online-tools .ot-tool-icon { width: 60px; height: 60px; }
}
@media (max-width:760px) {
    .online-tools .ot-panel { padding: 23px 20px; margin-bottom: 16px; border-radius: 14px; }
    .online-tools .ot-hero { display: block; }
    .online-tools h1 { font-size: 30px; }
    .online-tools .ot-intro { font-size: 15px; }
    .online-tools .ot-promises { gap: 7px; margin-top: 22px; }
    .online-tools .ot-promises li { font-size: 11px; padding: 6px 8px; gap: 5px; }
    .online-tools .ot-hero-art { display: none; }
    .online-tools .ot-popular-grid, .online-tools .ot-coming-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .online-tools .ot-tool-card { padding: 18px; grid-template-columns: 54px minmax(0,1fr); gap: 13px; }
    .online-tools .ot-tool-icon { width: 54px; height: 58px; border-radius: 12px; }
    .online-tools .ot-tool-icon svg { width: 29px; height: 29px; }
    .online-tools .ot-tool-copy h3 { font-size: 19px; }
    .online-tools .ot-tool-copy p { font-size: 14px; }
    .online-tools .ot-card-foot { gap: 10px; }
    .online-tools .ot-feedback { grid-template-columns: 42px minmax(0,1fr); gap: 13px; }
    .online-tools .ot-feedback-icon { width: 42px; height: 46px; border-radius: 12px; }
    .online-tools .ot-feedback h2 { font-size: 20px; padding-top: 0; }
    .online-tools .ot-feedback-art { display: none; }
    .online-tools .ot-section-heading > p:last-child, .online-tools .ot-feedback p { font-size: 14px; }
    .online-tools .ot-faq summary { font-size: 14px; padding: 15px 13px; gap: 9px; }
    .online-tools .ot-faq details > p { padding: 0 16px 16px; }
}
.online-tools .password-tool { padding: 24px; }
.online-tools .password-tool > .eyebrow { margin: 0 0 4px; font-size: 11px; }
.online-tools .password-tool > h1 { margin: 0; font-size: 30px; line-height: 1.3; }
.online-tools .password-tool > .ot-intro { margin: 8px 0 0; font-size: 14px; }
.online-tools .pw-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 18px; margin-top: 18px; align-items: stretch; }
.online-tools .pw-settings, .online-tools .pw-results { min-width: 0; margin: 0; padding: 18px; border: 1px solid #e1e5f0; border-radius: 14px; background: #ffffffbd; display: flex; flex-direction: column; }
.online-tools .pw-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; margin-bottom: 14px; }
.online-tools .pw-panel-heading h2 { margin: 0; font-size: 18px; }
.online-tools .pw-panel-heading > span, .online-tools .pw-reset { color: var(--muted); font-size: 12px; }
.online-tools .pw-reset { background: none; border: 0; cursor: pointer; padding: 6px 0; }
.online-tools .pw-reset:hover { color: var(--blue); }
.online-tools .pw-length-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.online-tools .pw-presets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.online-tools .pw-presets button { min-width: 37px; min-height: 40px; padding: 6px; background: #f8f9fe; border: 1px solid #e0e4ef; border-radius: 8px; color: var(--muted); font: inherit; cursor: pointer; }
.online-tools .pw-presets button[aria-pressed=true] { background: linear-gradient(110deg,#ff416d,#ff8b61); color: white; border-color: transparent; }
.online-tools .password-tool #password-length { width: 83px; }
.online-tools .pw-switch small { color: var(--muted); font-size: 12px; font-weight: 400; }
.online-tools .password-tool .ot-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 8px; padding: 0; border: 0; margin: 16px 0; }
.online-tools .password-tool .ot-options legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 650; }
.online-tools .password-tool .ot-options label { font-size: 13px; }
.online-tools .password-tool .pw-switch { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.online-tools .pw-switch input { appearance: none; flex: 0 0 40px; width: 40px; height: 24px; padding: 0; border-radius: 20px; background: #c7cedc; position: relative; cursor: pointer; border: 0; }
.online-tools .pw-switch input:checked { background: #ff5775; }
.online-tools .pw-switch input:before { content: ''; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; border-radius: 50%; background: white; }
.online-tools .pw-switch input:checked:before { left: 19px; }
.online-tools .pw-switch small { display: inline-block; margin-left: 6px; }
.online-tools .pw-generate { width: 100%; margin-top: auto; justify-content: center; }
.online-tools .pw-settings > label[for=password-excluded] { margin-bottom: 16px; }
.online-tools .pw-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: minmax(46px,1fr); gap: 8px; flex: 1; }
.online-tools .pw-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 220px; margin: 0; padding: 24px 16px; text-align: center; color: var(--muted); font-size: 14px; background: linear-gradient(135deg,#fff6f4,#f6f8ff 65%,#f2f9ff); border: 1px solid #e8e7f0; border-radius: 12px; }
.online-tools .pw-example-badge { padding: 4px 12px; border-radius: 99px; background: #fff; border: 1px solid #f5dfe5; color: #bd4b65; font-size: 11px; letter-spacing: 2px; }
.online-tools .pw-example-value { display: block; max-width: 100%; margin: 20px 0 14px; padding: 14px 20px; border: 1px solid #e5e8f2; border-radius: 10px; background: #ffffffd9; color: #44516c; font: 500 clamp(16px,2vw,22px)/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap: anywhere; }
.online-tools .pw-example-warning { margin: 0; font-size: 13px; color: #84657a; }
.online-tools .pw-example-instruction { margin: 10px 0 0; font-size: 12px; }
.online-tools .pw-item { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 46px; padding: 4px 8px 4px 10px; border: 1px solid #e2e7f3; border-radius: 10px; background: #f8faff; }
.online-tools .pw-item code { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 13px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; color: #35435c; }
.online-tools .pw-copy { display: grid; place-items: center; flex: 0 0 32px; height: 36px; background: transparent; color: #7c8aa7; border: 0; border-radius: 7px; cursor: pointer; }
.online-tools .pw-copy:hover { background: #ffeaf0; color: #fa416a; }
.online-tools .password-tool > .ot-live-status { min-height: 23px; margin: 10px 0 6px; font-size: 13px; }
.online-tools .pw-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; font-size: 13px; }
.online-tools .pw-help { min-width: 0; color: var(--muted); }
.online-tools .pw-help summary { cursor: pointer; }
.online-tools .pw-help p { margin: 8px 0 0; max-width: 760px; }
.online-tools .pw-bottom > a { flex-shrink: 0; }
@media (max-width: 1050px) { .online-tools .pw-layout { grid-template-columns: 1fr; } }
@media (max-width: 540px) {
    .online-tools .password-tool { padding: 16px; }
    .online-tools .pw-settings, .online-tools .pw-results { padding: 16px; }
    .online-tools .pw-grid { grid-template-columns: 1fr; gap: 10px; }
    .online-tools .pw-item { min-height: 46px; }
    .online-tools .password-tool .ot-options { grid-template-columns: 1fr; }
}
.online-tools .ot-tool-guide h2 { margin: 0 0 14px; font-size: 20px; }
.online-tools .ot-tool-guide details { border-top: 1px solid var(--line); }
.online-tools .ot-tool-guide summary { padding: 13px 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); }
.online-tools .ot-tool-guide details p, .online-tools .ot-tool-guide ol { max-width: 820px; margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.online-tools .ot-tool-guide ol { padding-left: 22px; }
.online-tools .ot-guide-links { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
