:root{--wine:#722b43;--wine-dark:#482032;--ink:#292a29;--paper:#fbf8f2;--gold:#bf9861;--line:#ddd6ca;--muted:#64625e;--green:#385749}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--ink);background:var(--paper);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}a{color:var(--wine);text-underline-offset:4px}a:hover{color:var(--wine-dark)}button,input,textarea,select{font:inherit}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.4rem,4.4vw,4.3rem);margin-bottom:26px}h2{font-size:clamp(1.9rem,3vw,2.8rem);margin-bottom:22px}h3{font-size:1.1rem;line-height:1.4;margin:18px 0 12px}p{margin-bottom:20px}header{border-bottom:1px solid var(--line);background:var(--paper)}.nav-wrap{max-width:1280px;margin:auto;padding:26px 48px;display:flex;gap:28px;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;line-height:1.1;font-size:21px}.brand strong{font-weight:400;color:var(--wine)}.brand small{display:block;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;margin-top:9px}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--wine);color:var(--wine);font-family:Georgia,serif;letter-spacing:-5px;padding-right:5px;font-size:25px;border-radius:50%}nav{display:flex;align-items:center;gap:26px;font-size:13px}nav a{text-decoration:none;color:var(--ink)}.nav-login{border:1px solid var(--line);padding:9px 18px}.nav-login span{margin-left:20px}.inline{display:inline-flex;align-items:center;gap:12px}.nav-button{padding:8px 12px;background:transparent;border-color:var(--line)}main{max-width:1280px;margin:auto;min-height:60vh}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:42px;padding:84px 48px 100px;align-items:center}.hero-copy>p{max-width:460px;color:var(--muted);font-size:17px}.eyebrow{display:block;font-size:11px;letter-spacing:2.4px;font-weight:700;color:var(--wine);margin-bottom:22px}.hero h1{font-size:clamp(3rem,4.5vw,4.4rem)}h1 em{font-weight:400;color:var(--wine)}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px}.button,button{display:inline-flex;align-items:center;justify-content:center;gap:26px;padding:12px 20px;min-height:44px;background:var(--wine);border:1px solid var(--wine);color:white;text-decoration:none;font-size:14px;cursor:pointer;border-radius:2px}.button:hover,button:hover{background:var(--wine-dark);color:white}.secondary{background:transparent;color:var(--wine)}.text-link{font-size:14px;font-weight:600}.hero .actions{margin-top:30px}.hero-art{height:400px;position:relative;background:radial-gradient(ellipse at center,#e9e1d3 0,transparent 65%)}.art-label{position:absolute;top:0;right:12px;writing-mode:vertical-rl;font-size:10px;letter-spacing:3px;color:var(--muted)}.photo{position:absolute;background:#fffdf9;padding:12px;box-shadow:0 14px 32px #49382221;border:1px solid #ede5d8}.photo>span{display:block;font-size:10px;color:#70665b;margin:10px 2px 0;letter-spacing:1px}.photo-back{width:260px;top:20px;left:15px;transform:rotate(-8deg)}.landscape{height:265px;background:linear-gradient(#d9b7a3,#f3dab4);position:relative;overflow:hidden}.sun{width:65px;height:65px;border-radius:50%;background:#fff3cf;position:absolute;left:38px;top:42px}.hill{position:absolute;bottom:-20px;width:380px;height:190px;border-radius:70% 70% 0 0;transform:rotate(-15deg)}.hill-back{background:#8b8970;left:0;bottom:-10px}.hill-front{background:#4d635b;left:-50px;bottom:-100px;transform:rotate(18deg)}.stem{width:2px;height:150px;background:#393f35;position:absolute;bottom:0;right:70px;transform:rotate(-20deg)}.stem:before,.stem:after{content:'';width:36px;height:14px;background:#393f35;border-radius:100% 0;position:absolute;top:40px;left:-34px;transform:rotate(20deg)}.stem:after{top:68px;left:1px;transform:rotate(-35deg)}.photo-front{width:230px;top:120px;right:0;transform:rotate(9deg)}.poetry{height:240px;background:var(--wine);color:#f3e8d6;display:flex;flex-direction:column;justify-content:center;padding:30px 22px}.poetry>span{font-family:Georgia,serif;font-size:30px;font-style:italic;line-height:1.35}.poetry small{font-size:9px;letter-spacing:.9px;margin-top:24px}.round-note{position:absolute;bottom:-15px;left:16px;background:var(--gold);color:var(--wine-dark);border-radius:50%;width:106px;height:106px;display:flex;align-items:center;justify-content:center;flex-direction:column;line-height:1.5;font-size:10px;letter-spacing:2px;transform:rotate(-12deg);border:4px solid var(--paper)}.round-note strong{font-size:24px;line-height:1.3}.intro-section{padding:52px 48px 64px;border-top:1px solid var(--line)}.intro-section>div:first-of-type{display:grid;grid-template-columns:1fr 1fr;gap:65px}.intro-section>div>p{color:var(--muted)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:44px;margin-top:30px}.steps b{color:var(--gold);font-family:Georgia,serif;font-size:28px;font-weight:400}.steps p{color:var(--muted);font-size:14px}.current-section{margin:0 48px 70px;padding:42px;background:#ece7dc;display:grid;grid-template-columns:1.3fr 1fr;gap:70px;align-items:center}.badge{display:inline-block;background:#ebe2da;color:var(--wine-dark);padding:7px 12px;font-size:12px;font-weight:600;border:1px solid #d3c0bb}.success{background:#e6eee7!important;color:#264d32!important;border-color:#b9cdbb!important}.section{padding:20px 48px 60px}.page-heading{padding:58px 48px 22px;max-width:1050px}.page-heading>p{max-width:830px;color:var(--muted)}.page-heading .eyebrow{margin-top:22px}.page-heading .notice{color:var(--ink)}.panel{background:#fffdf9;border:1px solid var(--line);padding:30px;margin-bottom:24px;min-width:0}.panel h2{font-size:2rem}.panel h3{font-size:1.1rem}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.detail-grid>.panel{margin:0}.wide{grid-column:1/-1}.preline{white-space:pre-line;overflow-wrap:anywhere}.muted{color:var(--muted);font-size:14px}.notice{padding:16px 20px;background:#f1ebe2;border-left:3px solid var(--gold)}.results{line-height:2}.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.year-card{display:flex;gap:30px;border:1px solid var(--line);padding:30px;background:#fffdf9;grid-column:1/-1;align-items:center}.year-number{font-family:Georgia,serif;font-size:70px;color:var(--wine);min-width:180px;line-height:1.2}.year-number span{display:block;font:12px Arial,sans-serif;color:var(--muted);letter-spacing:2px;text-transform:uppercase;margin-top:10px}.year-card h2{font-size:2rem}.auth-layout{padding:70px 48px;display:grid;grid-template-columns:1fr 1fr;gap:70px}.auth-layout>div:first-child p{color:var(--muted)}label{display:block;font-size:14px;font-weight:600;margin:16px 0 7px}input,textarea,select{display:block;width:100%;border:1px solid #bdb5a8;background:white;color:var(--ink);border-radius:2px;padding:11px 12px;min-height:46px}textarea{min-height:130px;resize:vertical}input[type=file]{padding:12px 8px;font-size:14px}input[type=checkbox]{display:inline-block;min-height:22px;min-width:22px;width:22px;flex:0 0 22px;accent-color:var(--wine)}.check{display:flex;align-items:center;gap:12px;font-weight:400;margin:20px 0}.check input{margin:0}form>.button{margin-top:20px}.policy{background:var(--paper);padding:20px;max-height:350px;overflow:auto}fieldset{border:0;border-bottom:1px solid var(--line);padding:20px 0 30px;margin-bottom:20px;min-width:0}legend{font-family:Georgia,serif;font-size:25px;line-height:1.2}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 22px}.year-list a{display:flex;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);text-decoration:none;font-size:14px}.year-list span{font-size:12px}.filters{display:flex;gap:16px;flex-wrap:wrap;align-items:end}.filters>div:first-child{flex:2;min-width:220px}.filters>div{flex:1;min-width:150px}.filters>.button{margin:0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}caption{text-align:left;color:var(--muted);font-size:12px;padding:10px 0}th,td{text-align:left;padding:16px 12px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;background:var(--paper)}.document-row{border-top:1px solid var(--line);padding:16px 0;display:flex;gap:24px;align-items:center;justify-content:space-between}.document-row form{flex-wrap:wrap}.narrow{max-width:850px;margin:auto}.image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.image-card{border:1px solid var(--line);padding:14px;min-width:0;overflow-wrap:anywhere}.image-card>img{width:100%;height:220px;object-fit:contain;background:var(--paper)}.image-card>p{font-size:12px;color:var(--muted)}.image-card button{font-size:12px;gap:0;padding:8px 10px}.image-card .actions{gap:6px;margin-top:10px}.upload-box{background:var(--paper);border:1px dashed var(--gold);padding:24px;margin-top:28px}dt{color:var(--muted);font-size:12px}dd{margin:0 0 16px}dd p{margin:0}details{margin-top:26px}summary{cursor:pointer;font-size:14px}details ul{font-size:13px;padding-left:20px}footer{max-width:1280px;margin:auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:30px;padding:40px 48px 48px;font-size:13px;color:var(--muted)}.footer-brand{font-family:Georgia,serif;font-size:23px;text-decoration:none}.footer-links{display:flex;flex-direction:column;gap:10px}.footer-links a{color:var(--muted);text-decoration:none}.skip{position:absolute;left:16px;top:-70px;background:white;padding:10px;z-index:10}.skip:focus{top:12px}:focus-visible{outline:3px solid #9b713d;outline-offset:4px}code{overflow-wrap:anywhere}small{font-size:.7em}
@media(max-width:1000px){.nav-wrap{padding:22px 28px}nav{gap:16px}.hero{padding:60px 28px 80px;gap:25px}.photo-back{width:215px;left:0}.landscape{height:240px}.photo-front{width:190px;right:0}.poetry{height:220px;padding:20px}.poetry>span{font-size:25px}.hero-art{height:380px}.hero h1{font-size:3.2rem}.hero .actions{gap:20px}.intro-section,.section{padding-left:28px;padding-right:28px}.current-section{margin-left:28px;margin-right:28px;gap:32px}.page-heading{padding-left:28px;padding-right:28px}.auth-layout{padding:55px 28px;gap:35px}.image-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.nav-wrap{padding:18px 20px;flex-direction:column;align-items:flex-start;gap:20px}nav{width:100%;flex-wrap:wrap;gap:10px 18px}nav a{min-height:36px;display:flex;align-items:center}.nav-login{margin-left:auto}.brand{font-size:20px}.hero{grid-template-columns:1fr;padding:44px 20px 58px;gap:30px}.hero h1{font-size:clamp(2.7rem,10vw,3.6rem)}.hero-art{max-width:440px;width:100%;margin:auto;height:350px}.photo-back{width:58%;max-width:240px;left:10px}.landscape{height:220px}.photo-front{width:51%;max-width:210px;right:12px;top:95px}.poetry{height:205px}.round-note{bottom:0;left:18px;width:88px;height:88px;font-size:9px}.intro-section{padding:34px 20px}.intro-section>div:first-of-type{grid-template-columns:1fr;gap:0}.steps{grid-template-columns:1fr;gap:20px;margin-top:10px}.steps>div{display:grid;grid-template-columns:45px 1fr;column-gap:15px}.steps h3{margin:5px 0 8px}.steps p{grid-column:2;margin-bottom:0}.current-section{grid-template-columns:1fr;margin:0 20px 36px;padding:28px 24px;gap:24px}.current-section p:last-child{margin:0}.page-heading{padding:36px 20px 20px}.section{padding:12px 20px 38px}.detail-grid,.card-grid{grid-template-columns:1fr;gap:18px}.panel{padding:22px}.wide{grid-column:auto}.year-card{flex-direction:column;align-items:start;padding:24px;gap:18px}.year-number{font-size:58px}.auth-layout{padding:38px 20px;grid-template-columns:1fr;gap:24px}.form-grid{grid-template-columns:1fr}.image-grid{grid-template-columns:1fr}.image-card>img{height:auto;max-height:340px}.document-row{align-items:start;flex-direction:column}.year-list a{flex-direction:column;gap:5px}footer{padding:30px 20px;flex-direction:column;gap:12px}.filters{display:grid;grid-template-columns:1fr}.filters>div{min-width:0}h1{overflow-wrap:anywhere}.actions .button{max-width:100%;text-align:center}input,select,textarea{font-size:16px}button{white-space:normal}details li{overflow-wrap:anywhere}}
.member-row{padding:14px 0;border-bottom:1px solid var(--line)}.member-row:last-of-type{border-bottom:0}.field-error{font-size:14px;color:#8b2036;margin:7px 0 12px}.error-summary p{margin-bottom:8px}.error-summary ul{margin:0;padding-left:20px}input[aria-invalid=true]{border:2px solid #8b2036}.poster{display:block;width:100%;height:auto;border:1px solid var(--line)}.rule-list{padding-left:20px}.image-count{font-weight:600;color:var(--wine)}
/* Google Sans Medium: the bundled, unmodified Google Fonts button-text subset; SIL OFL 1.1. */
@font-face{font-family:'Fotovarazs Google Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/static/google-sans-button.woff2') format('woff2')}
.google-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;max-width:100%;padding:9px 12px;border:1px solid #747775;border-radius:4px;background:#fff;color:#1f1f1f;font-family:'Fotovarazs Google Sans',Arial,sans-serif;font-size:14px;font-weight:500;line-height:20px;letter-spacing:.25px;text-align:center;transition:background-color .2s,border-color .2s,box-shadow .2s}
.google-button-logo{display:block;width:18px;height:auto;flex:0 0 18px;background:#fff}
.google-button:hover{background:#f8faff;color:#1f1f1f;border-color:#747775;box-shadow:0 1px 3px #00000026}
.google-button:focus-visible{outline:3px solid #0b57d0;outline-offset:3px}
.google-button:active{background:#e8eef8;color:#1f1f1f}
.google-button:disabled{cursor:not-allowed;background:#fff;color:#64625e;border-color:#747775;box-shadow:none}
.google-auth-form>.google-button{margin-top:16px}.auth-followup{margin-top:22px}.auth-existing-account{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.auth-existing-account p:last-child{margin-bottom:0}
.nav-button{background:var(--wine);color:#fff;border:1px solid var(--wine);min-height:40px}
.nav-button:hover,.nav-button:active{background:var(--wine-dark);color:#fff;border-color:var(--wine-dark)}
.nav-button:focus-visible{outline:3px solid #9b713d;outline-offset:4px}

/* Authenticated account header and administrator user management. */
.nav-tools{display:flex;flex-direction:column;align-items:flex-end;gap:14px;min-width:0;flex:1}
.nav-tools nav{flex-wrap:wrap;justify-content:flex-end}
.nav-wrap>.brand{flex-shrink:0}
.account-area{display:flex;align-items:flex-start;justify-content:flex-end;gap:12px;min-width:0;max-width:100%}
.account-menu{position:relative;margin:0;width:310px;max-width:100%;min-width:0}
.account-summary{display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line);border-radius:2px;background:#fffdf9;color:var(--ink);list-style:none;line-height:1.4;min-height:60px}
.account-summary::-webkit-details-marker{display:none}
.account-summary-text{display:flex;flex-direction:column;min-width:0}
.account-caption{font-size:10px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}
.account-role{font-size:12px;color:var(--wine)}
.account-arrow{font-size:20px;line-height:1;text-align:center}
.account-menu[open] .account-arrow{transform:rotate(180deg)}
.account-body{position:absolute;right:0;top:calc(100% + 6px);z-index:8;width:100%;padding:18px;background:#fffdf9;border:1px solid var(--line);box-shadow:0 10px 22px #48203218;overflow-wrap:anywhere}
.account-body dl{margin:0}.account-body dd:last-child{margin-bottom:0}.account-body dd{font-size:14px}
.account-logout{margin:0;flex-shrink:0}.account-logout .nav-button{min-height:46px;margin:0}
.users-filter-heading{font-size:1.7rem!important}
.users-filters{margin-bottom:0}.users-clear-filter{padding:10px 0;min-height:44px}
.users-list-panel{min-width:0}.users-table-wrap{max-width:100%;border-top:1px solid var(--line)}
.users-table{min-width:800px;line-height:1.5}
.users-table th{white-space:normal}.users-table td{overflow-wrap:anywhere}
.users-person{min-width:175px;max-width:260px}.users-email,.users-local-email{display:block;margin-top:7px;overflow-wrap:anywhere}
.users-local-email{font-size:12px;color:var(--muted)}.users-own-account{margin-top:10px;padding:4px 8px}
.users-state{color:var(--green);font-weight:600}
.users-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:135px}
.users-actions a{display:flex;align-items:center;min-height:44px}
.users-pagination{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:16px;margin-top:24px}
.users-pagination a{color:var(--wine)}.users-pagination a:hover{color:#fff}
.user-detail-list dd{overflow-wrap:anywhere}.user-detail-list dd:last-child{margin-bottom:0}
.user-relationship-list{margin:0}.user-relationship-list>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line)}
.user-relationship-list dt{font-size:14px}.user-relationship-list dd{margin:0;font-weight:600}
.user-block-reasons{margin-bottom:22px}.user-block-reasons p{margin-bottom:8px}.user-block-reasons ul{margin:0;padding-left:20px}
.user-confirm-form{max-width:700px}.user-confirm-form .actions{margin-top:24px}
.user-confirm-email{overflow-wrap:anywhere;font-weight:600;margin-bottom:12px}
.user-delete-notice{border-left-color:var(--wine)}
.user-confirm-form button:disabled{cursor:not-allowed;background:#e7e1d8;color:var(--muted);border-color:#bdb5a8}
@media(max-width:1000px){.nav-tools nav{gap:10px 18px}.account-menu{width:280px}}
@media(max-width:700px){.nav-tools{align-items:stretch;width:100%}.nav-tools nav{justify-content:flex-start}.nav-tools .nav-login{margin-left:0}.account-area{justify-content:flex-start;width:100%;gap:10px}.account-menu{flex:1;width:auto;max-width:none}.account-summary{padding:9px 10px}.account-body{position:static;width:100%;margin-top:6px;box-shadow:none;padding:14px}.account-logout .nav-button{padding:10px 12px}.users-table{min-width:720px}.users-person{max-width:220px}.users-pagination{justify-content:flex-start}.users-pagination .button{min-height:44px}.user-confirm-layout .actions{align-items:stretch;flex-direction:column}.user-confirm-layout .actions>*{justify-content:center;width:100%}.user-relationship-list{overflow-wrap:anywhere}}

/* Keyboard focus and recoverable competition form errors. */
.account-summary:focus-visible{outline:3px solid var(--wine);outline-offset:3px}
[aria-invalid="true"]{border-color:#982b35;outline-color:#982b35}
.error-summary{border-left:4px solid #982b35;padding:16px;margin-bottom:24px}
.field-error{color:#842634;font-weight:600;overflow-wrap:anywhere}

/* Deletion state and sanitized competition content. */
.competition-delete-form .actions{margin-top:24px}
.competition-delete-form button:disabled,.competition-delete-form button:disabled:hover{cursor:not-allowed;background:#e7e1d8;color:var(--muted);border-color:#bdb5a8;box-shadow:none}
.rich-content{overflow-wrap:anywhere;white-space:normal}
.rich-content .ql-align-center{text-align:center}.rich-content .ql-align-right{text-align:right}.rich-content .ql-align-justify{text-align:justify}
.rich-content p{white-space:pre-wrap}.rich-content img{max-width:100%;height:auto}.rich-content h2{font-size:1.8rem}.rich-content h3{font-size:1.4rem}.rich-content h4{font-size:1.15rem}

/* Bounded, server-approved image widths; shared by editor and public content. */
.rich-content img.tf-image-width-1,.rich-editor-host .ql-editor img.tf-image-width-1{width:1%;height:auto}
.rich-content img.tf-image-width-2,.rich-editor-host .ql-editor img.tf-image-width-2{width:2%;height:auto}
.rich-content img.tf-image-width-3,.rich-editor-host .ql-editor img.tf-image-width-3{width:3%;height:auto}
.rich-content img.tf-image-width-4,.rich-editor-host .ql-editor img.tf-image-width-4{width:4%;height:auto}
.rich-content img.tf-image-width-5,.rich-editor-host .ql-editor img.tf-image-width-5{width:5%;height:auto}
.rich-content img.tf-image-width-6,.rich-editor-host .ql-editor img.tf-image-width-6{width:6%;height:auto}
.rich-content img.tf-image-width-7,.rich-editor-host .ql-editor img.tf-image-width-7{width:7%;height:auto}
.rich-content img.tf-image-width-8,.rich-editor-host .ql-editor img.tf-image-width-8{width:8%;height:auto}
.rich-content img.tf-image-width-9,.rich-editor-host .ql-editor img.tf-image-width-9{width:9%;height:auto}
.rich-content img.tf-image-width-10,.rich-editor-host .ql-editor img.tf-image-width-10{width:10%;height:auto}
.rich-content img.tf-image-width-11,.rich-editor-host .ql-editor img.tf-image-width-11{width:11%;height:auto}
.rich-content img.tf-image-width-12,.rich-editor-host .ql-editor img.tf-image-width-12{width:12%;height:auto}
.rich-content img.tf-image-width-13,.rich-editor-host .ql-editor img.tf-image-width-13{width:13%;height:auto}
.rich-content img.tf-image-width-14,.rich-editor-host .ql-editor img.tf-image-width-14{width:14%;height:auto}
.rich-content img.tf-image-width-15,.rich-editor-host .ql-editor img.tf-image-width-15{width:15%;height:auto}
.rich-content img.tf-image-width-16,.rich-editor-host .ql-editor img.tf-image-width-16{width:16%;height:auto}
.rich-content img.tf-image-width-17,.rich-editor-host .ql-editor img.tf-image-width-17{width:17%;height:auto}
.rich-content img.tf-image-width-18,.rich-editor-host .ql-editor img.tf-image-width-18{width:18%;height:auto}
.rich-content img.tf-image-width-19,.rich-editor-host .ql-editor img.tf-image-width-19{width:19%;height:auto}
.rich-content img.tf-image-width-20,.rich-editor-host .ql-editor img.tf-image-width-20{width:20%;height:auto}
.rich-content img.tf-image-width-21,.rich-editor-host .ql-editor img.tf-image-width-21{width:21%;height:auto}
.rich-content img.tf-image-width-22,.rich-editor-host .ql-editor img.tf-image-width-22{width:22%;height:auto}
.rich-content img.tf-image-width-23,.rich-editor-host .ql-editor img.tf-image-width-23{width:23%;height:auto}
.rich-content img.tf-image-width-24,.rich-editor-host .ql-editor img.tf-image-width-24{width:24%;height:auto}
.rich-content img.tf-image-width-25,.rich-editor-host .ql-editor img.tf-image-width-25{width:25%;height:auto}
.rich-content img.tf-image-width-26,.rich-editor-host .ql-editor img.tf-image-width-26{width:26%;height:auto}
.rich-content img.tf-image-width-27,.rich-editor-host .ql-editor img.tf-image-width-27{width:27%;height:auto}
.rich-content img.tf-image-width-28,.rich-editor-host .ql-editor img.tf-image-width-28{width:28%;height:auto}
.rich-content img.tf-image-width-29,.rich-editor-host .ql-editor img.tf-image-width-29{width:29%;height:auto}
.rich-content img.tf-image-width-30,.rich-editor-host .ql-editor img.tf-image-width-30{width:30%;height:auto}
.rich-content img.tf-image-width-31,.rich-editor-host .ql-editor img.tf-image-width-31{width:31%;height:auto}
.rich-content img.tf-image-width-32,.rich-editor-host .ql-editor img.tf-image-width-32{width:32%;height:auto}
.rich-content img.tf-image-width-33,.rich-editor-host .ql-editor img.tf-image-width-33{width:33%;height:auto}
.rich-content img.tf-image-width-34,.rich-editor-host .ql-editor img.tf-image-width-34{width:34%;height:auto}
.rich-content img.tf-image-width-35,.rich-editor-host .ql-editor img.tf-image-width-35{width:35%;height:auto}
.rich-content img.tf-image-width-36,.rich-editor-host .ql-editor img.tf-image-width-36{width:36%;height:auto}
.rich-content img.tf-image-width-37,.rich-editor-host .ql-editor img.tf-image-width-37{width:37%;height:auto}
.rich-content img.tf-image-width-38,.rich-editor-host .ql-editor img.tf-image-width-38{width:38%;height:auto}
.rich-content img.tf-image-width-39,.rich-editor-host .ql-editor img.tf-image-width-39{width:39%;height:auto}
.rich-content img.tf-image-width-40,.rich-editor-host .ql-editor img.tf-image-width-40{width:40%;height:auto}
.rich-content img.tf-image-width-41,.rich-editor-host .ql-editor img.tf-image-width-41{width:41%;height:auto}
.rich-content img.tf-image-width-42,.rich-editor-host .ql-editor img.tf-image-width-42{width:42%;height:auto}
.rich-content img.tf-image-width-43,.rich-editor-host .ql-editor img.tf-image-width-43{width:43%;height:auto}
.rich-content img.tf-image-width-44,.rich-editor-host .ql-editor img.tf-image-width-44{width:44%;height:auto}
.rich-content img.tf-image-width-45,.rich-editor-host .ql-editor img.tf-image-width-45{width:45%;height:auto}
.rich-content img.tf-image-width-46,.rich-editor-host .ql-editor img.tf-image-width-46{width:46%;height:auto}
.rich-content img.tf-image-width-47,.rich-editor-host .ql-editor img.tf-image-width-47{width:47%;height:auto}
.rich-content img.tf-image-width-48,.rich-editor-host .ql-editor img.tf-image-width-48{width:48%;height:auto}
.rich-content img.tf-image-width-49,.rich-editor-host .ql-editor img.tf-image-width-49{width:49%;height:auto}
.rich-content img.tf-image-width-50,.rich-editor-host .ql-editor img.tf-image-width-50{width:50%;height:auto}
.rich-content img.tf-image-width-51,.rich-editor-host .ql-editor img.tf-image-width-51{width:51%;height:auto}
.rich-content img.tf-image-width-52,.rich-editor-host .ql-editor img.tf-image-width-52{width:52%;height:auto}
.rich-content img.tf-image-width-53,.rich-editor-host .ql-editor img.tf-image-width-53{width:53%;height:auto}
.rich-content img.tf-image-width-54,.rich-editor-host .ql-editor img.tf-image-width-54{width:54%;height:auto}
.rich-content img.tf-image-width-55,.rich-editor-host .ql-editor img.tf-image-width-55{width:55%;height:auto}
.rich-content img.tf-image-width-56,.rich-editor-host .ql-editor img.tf-image-width-56{width:56%;height:auto}
.rich-content img.tf-image-width-57,.rich-editor-host .ql-editor img.tf-image-width-57{width:57%;height:auto}
.rich-content img.tf-image-width-58,.rich-editor-host .ql-editor img.tf-image-width-58{width:58%;height:auto}
.rich-content img.tf-image-width-59,.rich-editor-host .ql-editor img.tf-image-width-59{width:59%;height:auto}
.rich-content img.tf-image-width-60,.rich-editor-host .ql-editor img.tf-image-width-60{width:60%;height:auto}
.rich-content img.tf-image-width-61,.rich-editor-host .ql-editor img.tf-image-width-61{width:61%;height:auto}
.rich-content img.tf-image-width-62,.rich-editor-host .ql-editor img.tf-image-width-62{width:62%;height:auto}
.rich-content img.tf-image-width-63,.rich-editor-host .ql-editor img.tf-image-width-63{width:63%;height:auto}
.rich-content img.tf-image-width-64,.rich-editor-host .ql-editor img.tf-image-width-64{width:64%;height:auto}
.rich-content img.tf-image-width-65,.rich-editor-host .ql-editor img.tf-image-width-65{width:65%;height:auto}
.rich-content img.tf-image-width-66,.rich-editor-host .ql-editor img.tf-image-width-66{width:66%;height:auto}
.rich-content img.tf-image-width-67,.rich-editor-host .ql-editor img.tf-image-width-67{width:67%;height:auto}
.rich-content img.tf-image-width-68,.rich-editor-host .ql-editor img.tf-image-width-68{width:68%;height:auto}
.rich-content img.tf-image-width-69,.rich-editor-host .ql-editor img.tf-image-width-69{width:69%;height:auto}
.rich-content img.tf-image-width-70,.rich-editor-host .ql-editor img.tf-image-width-70{width:70%;height:auto}
.rich-content img.tf-image-width-71,.rich-editor-host .ql-editor img.tf-image-width-71{width:71%;height:auto}
.rich-content img.tf-image-width-72,.rich-editor-host .ql-editor img.tf-image-width-72{width:72%;height:auto}
.rich-content img.tf-image-width-73,.rich-editor-host .ql-editor img.tf-image-width-73{width:73%;height:auto}
.rich-content img.tf-image-width-74,.rich-editor-host .ql-editor img.tf-image-width-74{width:74%;height:auto}
.rich-content img.tf-image-width-75,.rich-editor-host .ql-editor img.tf-image-width-75{width:75%;height:auto}
.rich-content img.tf-image-width-76,.rich-editor-host .ql-editor img.tf-image-width-76{width:76%;height:auto}
.rich-content img.tf-image-width-77,.rich-editor-host .ql-editor img.tf-image-width-77{width:77%;height:auto}
.rich-content img.tf-image-width-78,.rich-editor-host .ql-editor img.tf-image-width-78{width:78%;height:auto}
.rich-content img.tf-image-width-79,.rich-editor-host .ql-editor img.tf-image-width-79{width:79%;height:auto}
.rich-content img.tf-image-width-80,.rich-editor-host .ql-editor img.tf-image-width-80{width:80%;height:auto}
.rich-content img.tf-image-width-81,.rich-editor-host .ql-editor img.tf-image-width-81{width:81%;height:auto}
.rich-content img.tf-image-width-82,.rich-editor-host .ql-editor img.tf-image-width-82{width:82%;height:auto}
.rich-content img.tf-image-width-83,.rich-editor-host .ql-editor img.tf-image-width-83{width:83%;height:auto}
.rich-content img.tf-image-width-84,.rich-editor-host .ql-editor img.tf-image-width-84{width:84%;height:auto}
.rich-content img.tf-image-width-85,.rich-editor-host .ql-editor img.tf-image-width-85{width:85%;height:auto}
.rich-content img.tf-image-width-86,.rich-editor-host .ql-editor img.tf-image-width-86{width:86%;height:auto}
.rich-content img.tf-image-width-87,.rich-editor-host .ql-editor img.tf-image-width-87{width:87%;height:auto}
.rich-content img.tf-image-width-88,.rich-editor-host .ql-editor img.tf-image-width-88{width:88%;height:auto}
.rich-content img.tf-image-width-89,.rich-editor-host .ql-editor img.tf-image-width-89{width:89%;height:auto}
.rich-content img.tf-image-width-90,.rich-editor-host .ql-editor img.tf-image-width-90{width:90%;height:auto}
.rich-content img.tf-image-width-91,.rich-editor-host .ql-editor img.tf-image-width-91{width:91%;height:auto}
.rich-content img.tf-image-width-92,.rich-editor-host .ql-editor img.tf-image-width-92{width:92%;height:auto}
.rich-content img.tf-image-width-93,.rich-editor-host .ql-editor img.tf-image-width-93{width:93%;height:auto}
.rich-content img.tf-image-width-94,.rich-editor-host .ql-editor img.tf-image-width-94{width:94%;height:auto}
.rich-content img.tf-image-width-95,.rich-editor-host .ql-editor img.tf-image-width-95{width:95%;height:auto}
.rich-content img.tf-image-width-96,.rich-editor-host .ql-editor img.tf-image-width-96{width:96%;height:auto}
.rich-content img.tf-image-width-97,.rich-editor-host .ql-editor img.tf-image-width-97{width:97%;height:auto}
.rich-content img.tf-image-width-98,.rich-editor-host .ql-editor img.tf-image-width-98{width:98%;height:auto}
.rich-content img.tf-image-width-99,.rich-editor-host .ql-editor img.tf-image-width-99{width:99%;height:auto}
.rich-content img.tf-image-width-100,.rich-editor-host .ql-editor img.tf-image-width-100{width:100%;height:auto}

/* Explicit, bounded image layout. Each field owns its floats; legacy images
   without one of these classes keep their existing inline rendering. */
.rich-content,.rich-editor-host .ql-editor{display:flow-root}
.rich-content img.tf-image-wrap-block,.rich-editor-host .ql-editor img.tf-image-wrap-block{display:block;float:none;clear:both;margin:0.5em 0 1em}
.rich-content img.tf-image-wrap-left,.rich-editor-host .ql-editor img.tf-image-wrap-left{float:left;max-width:calc(100% - 1em);margin:0.4em 1em 0.8em 0}
.rich-content img.tf-image-wrap-right,.rich-editor-host .ql-editor img.tf-image-wrap-right{float:right;max-width:calc(100% - 1em);margin:0.4em 0 0.8em 1em}
/* Full-width pictures cannot leave a usable text column beside them. */
.rich-content img.tf-image-width-100:is(.tf-image-wrap-left,.tf-image-wrap-right),.rich-editor-host .ql-editor img.tf-image-width-100:is(.tf-image-wrap-left,.tf-image-wrap-right){display:block;float:none;clear:both;max-width:100%;margin:0.5em 0 1em}
/* Lists form a box beside a floated picture, keeping their markers clear.
   Restrict this rule to explicitly wrapped content, preserving legacy lists. */
.rich-content:has(img:is(.tf-image-wrap-left,.tf-image-wrap-right)) :is(ul,ol),.rich-editor-host .ql-editor:has(img:is(.tf-image-wrap-left,.tf-image-wrap-right)) :is(ul,ol){display:flow-root}
@media(max-width:600px){
  .rich-content img:is(.tf-image-wrap-left,.tf-image-wrap-right),.rich-editor-host .ql-editor img:is(.tf-image-wrap-left,.tf-image-wrap-right){display:block;float:none;clear:both;max-width:100%;margin:0.5em 0 1em}
}
