/*
Theme Name: TERN1 V2 Editorial — Clean Reset
Description: Mobile-first editorial redesign. Child theme of TERN1 Editorial. Preserves existing TERN1 business logic.
Template: tern1-editorial
Version: 0.4.2
Requires PHP: 8.3
*/
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Fraunces:opsz,wght,SOFT,WONK@9..144,400..700,0..100,0..1&display=swap');
:root,:root[data-tern1-theme="light"]{--bg:#f7f5ef;--surface:#fffefa;--ink:#232725;--muted:#656b67;--line:#dedbd3;--copper:#a95a3b;--soft:#eeece5;--max:1200px;color-scheme:light}
:root[data-tern1-theme="dark"]{--bg:#171b1a;--surface:#202625;--ink:#f5f2e9;--muted:#b4bdb8;--line:#414946;--copper:#d48a66;--soft:#242c29;color-scheme:dark}
/* Core design normalization: explicit specificity prevents inherited WordPress theme overrides. */
html{overflow-x:clip;scroll-padding-top:86px}body.tern1-v2-reset{margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.6 Archivo,Arial,sans-serif;overflow-x:clip}body.tern1-v2-reset *{box-sizing:border-box}body.tern1-v2-reset img{max-width:100%;height:auto}body.tern1-v2-reset a{color:inherit;text-decoration:none}body.tern1-v2-reset a:hover{text-decoration:none}body.tern1-v2-reset h1,body.tern1-v2-reset h2,body.tern1-v2-reset h3{font-family:Fraunces,Georgia,serif;font-variation-settings:'WONK' 1;letter-spacing:-.035em;color:inherit}body.tern1-v2-reset p{color:var(--muted)}body.tern1-v2-reset :is(a,button,input):focus-visible{outline:3px solid var(--copper);outline-offset:3px}.t-container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}.t-skip{position:absolute;top:-100px;left:12px;z-index:1000;background:var(--surface);padding:10px}.t-skip:focus{top:12px}body.tern1-v2-reset{padding-top:71px}body.tern1-v2-reset .t-header{background:var(--surface);border-bottom:1px solid var(--line);position:fixed!important;top:0;left:0;right:0;width:100%;z-index:10000;isolation:isolate}body.admin-bar.tern1-v2-reset .t-header{top:32px}@media(max-width:782px){body.admin-bar.tern1-v2-reset .t-header{top:46px}}@media(max-width:680px){body.tern1-v2-reset{padding-top:61px}}.t-header-inner{min-height:70px;display:flex;align-items:center;gap:clamp(18px,3vw,45px)}.t-logo{font:700 31px/1 Fraunces,Georgia,serif!important;letter-spacing:-.08em!important;white-space:nowrap}.t-logo-mark{font:400 19px Arial,sans-serif;letter-spacing:0;color:var(--muted);margin-left:8px}.t-primary{display:flex;align-items:center;gap:clamp(18px,2.6vw,36px);margin-left:auto}.t-primary a{font:700 11px/1.4 Archivo,Arial,sans-serif!important;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap}.t-primary a:hover{color:var(--copper)!important}.t-header-actions{display:flex;align-items:center;gap:10px}.t-icon-button{width:40px;height:40px;border:0!important;background:transparent!important;color:var(--ink)!important;display:grid;place-items:center;cursor:pointer;padding:8px!important;border-radius:5px}.t-icon-button svg{display:block;width:21px;height:21px}.t-account{font:600 12px Archivo,Arial,sans-serif!important;white-space:nowrap;border:1px solid var(--line);padding:10px 15px;border-radius:4px}.t-menu{display:none}.t-eyebrow{font:700 10px/1.5 Archivo,Arial,sans-serif!important;letter-spacing:.16em;color:var(--copper)!important;margin:0 0 8px!important;text-transform:uppercase}.t-eyebrow-light{color:#e9b49b!important}.t-hero{position:relative;min-height:clamp(430px,48vw,610px);display:flex;align-items:center;background:#252d29;color:#fff;isolation:isolate;overflow:hidden}.t-hero-visual{position:absolute;inset:0;z-index:-1;background-color:#333e3a;background-size:cover;background-position:center 45%}.t-hero-content{padding-block:70px 76px}.t-hero h1{font-size:clamp(60px,7.5vw,112px)!important;line-height:.98!important;margin:16px 0 18px!important;letter-spacing:-.06em!important;color:#fff!important;font-weight:650}.t-hero-lead{max-width:380px;font-size:clamp(15px,1.5vw,18px);line-height:1.6;color:#f5f0e8!important;margin:0 0 25px!important}.t-actions{display:flex;gap:12px;flex-wrap:wrap}.t-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:12px 18px;border-radius:4px;font:600 13px/1.3 Archivo,Arial,sans-serif!important;text-decoration:none!important;white-space:normal}.t-button svg,.t-section-link svg,.t-pillar-arrow svg,.t-archive-links svg{width:17px;height:17px;flex:none}.t-button-primary{background:var(--copper)!important;color:#fff!important;border:1px solid var(--copper)}.t-button-outline-light{color:#fff!important;background:rgba(10,10,10,.12);border:1px solid rgba(255,255,255,.68)}.t-button:hover{filter:brightness(1.08)}.t-section{padding-block:54px 62px}.t-section-top{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.t-section-top h2{font-size:clamp(30px,3vw,42px)!important;line-height:1.16!important;margin:0!important}.t-section-link{display:inline-flex;align-items:center;gap:8px;color:var(--copper)!important;font:600 12px Archivo,Arial,sans-serif!important;white-space:nowrap}.t-pillar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.t-pillar{display:block;min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:4px;overflow:hidden}.t-pillar-image{display:block;aspect-ratio:1.58;background-size:cover;background-position:center;background-color:var(--soft)}.t-pillar-image-2{background-position:30% 40%;filter:grayscale(.8)}.t-pillar-image-3{background-position:70% 60%}.t-pillar-image-4{background-position:55% 80%;filter:saturate(.65)}.t-pillar-content{display:block;position:relative;padding:14px 36px 18px 16px;min-height:112px}.t-pillar-content strong{display:block;font:500 clamp(16px,1.5vw,20px)/1.2 Fraunces,Georgia,serif;letter-spacing:-.02em}.t-pillar-arrow{position:absolute;right:14px;bottom:16px;color:var(--copper)}.t-listing-section{border-top:1px solid var(--line)}.t-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.t-listing-card{background:var(--surface);border:1px solid var(--line);border-radius:4px;overflow:hidden}.t-card-media{aspect-ratio:1.55;background:var(--soft);overflow:hidden}.t-card-media img{width:100%;height:100%!important;object-fit:cover;display:block}.t-media-fallback{display:grid;place-items:center;height:100%;min-height:140px;font:500 24px Fraunces,serif;color:var(--muted)}.t-listing-info{padding:13px 14px 17px}.t-listing-info h3{font-size:19px!important;line-height:1.24!important;margin:0 0 7px!important}.t-card-type{font-size:11px;color:var(--muted)}.t-empty{border:1px solid var(--line);padding:22px;background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:20px}.t-empty p{margin:0}.t-journal-section{border-top:1px solid var(--line)}.t-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.t-story-photo{aspect-ratio:1.55;background:var(--soft);overflow:hidden}.t-story-photo img{width:100%;height:100%!important;object-fit:cover;display:block}.t-story .t-eyebrow{margin:14px 0 6px!important}.t-story h3{font-size:clamp(20px,2vw,27px)!important;line-height:1.2!important;margin:0!important}.t-archive-section{background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.t-archive-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(30px,6vw,90px);align-items:center}.t-archive-layout h2{font-size:clamp(32px,4vw,53px)!important;line-height:1.08!important;max-width:500px;margin:0 0 14px!important}.t-archive-layout p:not(.t-eyebrow){max-width:460px;margin:0 0 22px!important}.t-archive-links a{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:15px 0;font:500 23px Fraunces,serif}.t-archive-links a:first-child{border-top:1px solid var(--line)}.t-archive-links svg{color:var(--copper)}.t-footer{background:var(--surface);border-top:1px solid var(--line);padding:45px 0 20px}.t-footer-main{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.t-footer-main p{font-size:13px}.t-footer-main h2{font:700 12px Archivo,Arial,sans-serif!important;text-transform:uppercase;letter-spacing:.08em;margin:0 0 12px}.t-footer-main>div:not(:first-child) a{display:block;font-size:13px;margin:6px 0}.t-footer-bottom{border-top:1px solid var(--line);padding-top:18px;margin-top:35px;font-size:11px;color:var(--muted)}.t-bottom-nav{display:none}
/* Keep pre-existing WordPress/plugin UI readable without overwriting its logic. */
body.tern1-v2-reset :is(input,select,textarea){max-width:100%}body.tern1-v2-reset :is(.tern1-marketplace,.tern1-account,.tern1-community,.tern1-garage) a{text-underline-offset:3px}
@media(max-width:900px){.t-primary{gap:15px}.t-header-inner{gap:16px}.t-pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.t-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.t-container{width:calc(100% - 36px)}.t-header-inner{min-height:60px;gap:8px}.t-logo{font-size:27px!important}.t-logo-mark{font-size:14px}.t-primary{display:none;position:absolute;top:100%;left:0;right:0;z-index:100;background:var(--surface);border-bottom:1px solid var(--line);padding:10px 22px 16px;box-shadow:0 10px 18px rgba(0,0,0,.08)}.t-primary.is-open{display:flex;flex-direction:column;align-items:stretch;gap:0}.t-primary a{padding:12px 0;border-bottom:1px solid var(--line)}.t-header-actions{margin-left:auto;gap:2px}.t-icon-button{width:36px;height:38px}.t-search{display:none}.t-account{font-size:11px!important;padding:9px 10px}.t-menu{display:grid}.t-hero{min-height:420px;align-items:end}.t-hero-visual{background-position:62% center!important}.t-hero-content{padding-block:65px 42px}.t-hero h1{font-size:clamp(55px,15vw,80px)!important;max-width:340px}.t-hero-lead{font-size:15px;max-width:300px}.t-actions{gap:9px}.t-button{font-size:12px!important;padding:11px 13px;min-height:43px}.t-section{padding-block:38px 45px}.t-section-top{align-items:start;gap:10px}.t-section-top h2{font-size:29px!important}.t-section-link{font-size:11px!important}.t-pillar-grid{gap:9px}.t-pillar-content{padding:12px 27px 12px 12px;min-height:98px}.t-pillar-content strong{font-size:16px}.t-pillar-arrow{right:10px;bottom:10px}.t-pillar-arrow svg{width:14px}.t-story-grid{grid-template-columns:1fr;gap:24px}.t-story-photo{aspect-ratio:1.75}.t-story h3{font-size:23px!important}.t-archive-layout{grid-template-columns:1fr;gap:20px}.t-archive-links a{font-size:20px}.t-footer-main{grid-template-columns:1.3fr 1fr;gap:25px}.t-footer-main>div:first-child{grid-column:1/-1}.t-empty{display:block}.t-empty .t-section-link{margin-top:12px}body.logged-in.tern1-v2-reset{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.t-bottom-nav{position:fixed;z-index:150;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--surface);border-top:1px solid var(--line);padding:5px 4px calc(5px + env(safe-area-inset-bottom));box-shadow:0 -2px 12px rgba(0,0,0,.04)}.t-bottom-nav a{min-width:0;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--ink)!important;font:500 10px Archivo,Arial,sans-serif!important}.t-bottom-nav svg{width:21px;height:21px}.t-bottom-nav a:hover{color:var(--copper)!important}}
@media(max-width:380px){.t-container{width:calc(100% - 28px)}.t-logo{font-size:24px!important}.t-logo-mark{display:none}.t-hero h1{font-size:55px!important}.t-section-top{display:block}.t-section-top .t-section-link{margin-top:12px}.t-card-grid{grid-template-columns:1fr}.t-pillar-content strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* TERN1 V2.0 — Journal polish v0.4.1; scoped to archive search and article comments */
body.tern1-v2-reset .search-form{display:flex;align-items:stretch;gap:10px;max-width:720px;margin:24px 0 22px}
body.tern1-v2-reset .search-form label{flex:1 1 0;min-width:0;display:block}
body.tern1-v2-reset .search-form input[type="search"]{display:block;width:100%;max-width:none;min-width:0;min-height:46px;margin:0;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);padding:11px 14px;font:400 14px/1.4 Archivo,Arial,sans-serif;appearance:none}
body.tern1-v2-reset .search-form input[type="search"]::placeholder{color:var(--muted);opacity:.9}
body.tern1-v2-reset .search-form button[type="submit"],body.tern1-v2-reset .comment-form input#submit{display:inline-flex;justify-content:center;align-items:center;min-height:46px;border:1px solid var(--copper);border-radius:5px;background:var(--copper);color:#fff;font:700 13px/1.2 Archivo,Arial,sans-serif;padding:12px 22px;cursor:pointer;box-shadow:none;appearance:none;transition:background-color .15s,border-color .15s}
body.tern1-v2-reset .search-form button[type="submit"]:hover,body.tern1-v2-reset .comment-form input#submit:hover{background:#87422b;border-color:#87422b;color:#fff}
body.tern1-v2-reset .search-form button[type="submit"]:focus-visible,body.tern1-v2-reset .comment-form input#submit:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
body.tern1-v2-reset .story-card .eyebrow,body.tern1-v2-reset .story-card .eyebrow a,body.tern1-v2-reset .single-entry .eyebrow,body.tern1-v2-reset .single-entry .eyebrow a{color:var(--copper)!important}
body.tern1-v2-reset .story-card .eyebrow a:hover,body.tern1-v2-reset .single-entry .eyebrow a:hover{text-decoration:underline;text-underline-offset:3px}
body.tern1-v2-reset .comments-area{max-width:760px;margin:clamp(40px,6vw,70px) auto 0;padding-top:24px;border-top:1px solid var(--line)}
body.tern1-v2-reset .comments-area h2{font-size:clamp(25px,4vw,34px);margin:0 0 24px}
body.tern1-v2-reset #respond{margin:20px 0 0}
body.tern1-v2-reset #reply-title{font-size:clamp(23px,3.5vw,29px);margin:0 0 16px;line-height:1.2}
body.tern1-v2-reset .comment-form{max-width:760px}
body.tern1-v2-reset .comment-form .t-journal-user{display:flex;gap:5px;flex-wrap:wrap;align-items:baseline;margin:0 0 13px;font:400 13px/1.55 Archivo,Arial,sans-serif;color:var(--muted)}
body.tern1-v2-reset .comment-form .t-journal-user strong{font-weight:700;color:var(--ink)}
body.tern1-v2-reset .comment-form .comment-form-comment{margin:0 0 13px}
body.tern1-v2-reset .comment-form textarea#comment{display:block;width:100%;max-width:none;min-height:150px;resize:vertical;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);padding:14px 15px;font:400 15px/1.6 Archivo,Arial,sans-serif;box-shadow:none}
body.tern1-v2-reset .comment-form .form-submit{margin:0 0 10px}
body.tern1-v2-reset .comment-form .t-journal-account-links{margin:8px 0 0;font:400 12px/1.7 Archivo,Arial,sans-serif;color:var(--muted)}
body.tern1-v2-reset .comment-form .t-journal-account-links a{color:var(--copper);font-weight:600}
body.tern1-v2-reset .comment-form .t-journal-account-links a:hover{text-decoration:underline}
body.tern1-v2-reset .comment-form .t-journal-account-links span{padding:0 6px;color:var(--muted)}
body.tern1-v2-reset .comment-form .comment-notes{font-size:12px;line-height:1.6;margin:0 0 12px}
body.tern1-v2-reset .comment-form :is(.comment-form-author,.comment-form-email,.comment-form-url){margin:0 0 14px}
body.tern1-v2-reset .comment-form :is(.comment-form-author,.comment-form-email,.comment-form-url) label{display:block;font-size:12px;margin-bottom:5px}
body.tern1-v2-reset .comment-form :is(.comment-form-author,.comment-form-email,.comment-form-url) input{width:100%;max-width:460px;min-height:44px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink)}
body.tern1-v2-reset .comment-form .t-journal-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:620px){body.tern1-v2-reset .search-form{gap:8px}body.tern1-v2-reset .search-form button[type="submit"]{padding:10px 16px;min-width:92px}body.tern1-v2-reset .search-form input[type="search"]{font-size:14px}body.tern1-v2-reset .comment-form textarea#comment{min-height:140px}}
@media(prefers-reduced-motion:reduce){body.tern1-v2-reset .search-form button[type="submit"],body.tern1-v2-reset .comment-form input#submit{transition:none}}


/* TERN1 Journal & Archive — responsive 12-card editorial grids */
body.tern1-v2-reset .wrap.section{width:min(1200px,calc(100% - 48px));max-width:1200px;margin-inline:auto;padding-block:44px 64px}
body.tern1-v2-reset .wrap.section .card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:34px 22px!important;align-items:start;width:100%;margin:26px 0 36px}
body.tern1-v2-reset .wrap.section .card-grid>.story-card{min-width:0;width:auto!important;max-width:none!important;margin:0!important;display:block;background:transparent}
body.tern1-v2-reset .wrap.section .story-card .story-photo{display:block;width:100%;aspect-ratio:1.55;overflow:hidden;background:var(--soft);border-radius:4px}
body.tern1-v2-reset .wrap.section .story-card .story-photo img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover}
body.tern1-v2-reset .wrap.section .story-card .eyebrow{margin:12px 0 5px;color:var(--copper);font:700 11px/1.4 Archivo,Arial,sans-serif;text-transform:uppercase;letter-spacing:.07em}
body.tern1-v2-reset .wrap.section .story-card h3{font-size:clamp(19px,1.8vw,25px)!important;line-height:1.22!important;margin:0 0 8px!important;overflow-wrap:anywhere}
body.tern1-v2-reset .wrap.section .story-card p{font-size:13px;line-height:1.55;margin:0 0 9px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
body.tern1-v2-reset .wrap.section .story-card small{font-size:11px;color:var(--muted)}
@media(max-width:900px){body.tern1-v2-reset .wrap.section .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.tern1-v2-reset .wrap.section{width:calc(100% - 36px);padding-block:30px 46px}body.tern1-v2-reset .wrap.section .card-grid{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}body.tern1-v2-reset .wrap.section .story-card h3{font-size:23px!important}}


/* Archive search, subnavigation, alphabet and pagination */
body.tern1-v2-reset .wrap.section>nav.chips{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:18px 0 22px}
body.tern1-v2-reset .wrap.section>nav.chips a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);font:600 13px Archivo,Arial,sans-serif}
body.tern1-v2-reset .wrap.section>nav.chips a:hover{border-color:var(--copper);color:var(--copper)}
body.tern1-v2-reset .tern1-archive-search{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:0 0 24px;width:100%;max-width:none}
body.tern1-v2-reset .tern1-archive-search>label{display:flex;flex:1 1 260px;min-width:0;flex-direction:column;gap:7px;margin:0}
body.tern1-v2-reset .tern1-archive-search>label span{font:700 11px/1.4 Archivo,Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
body.tern1-v2-reset .tern1-archive-search input[type=search],body.tern1-v2-reset .tern1-archive-search select{width:100%;height:48px;min-height:48px;padding:0 14px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font:400 14px Archivo,Arial,sans-serif}
body.tern1-v2-reset .tern1-archive-search button[type=submit],body.tern1-v2-reset .tern1-archive-search>a{display:inline-flex;align-items:center;justify-content:center;height:48px;min-height:48px;margin:0;padding:0 19px;border-radius:6px;white-space:nowrap;font:700 13px Archivo,Arial,sans-serif;text-decoration:none}
body.tern1-v2-reset .tern1-archive-search button[type=submit]{border:1px solid var(--copper);background:var(--copper);color:#fff;cursor:pointer}
body.tern1-v2-reset .tern1-archive-search>a{border:1px solid var(--line);background:var(--surface);color:var(--ink)}
body.tern1-v2-reset .tern1-archive-search>a:hover{border-color:var(--copper);color:var(--copper)}
body.tern1-v2-reset .tern1-alphabet{display:flex;flex-wrap:wrap;white-space:normal;overflow:visible;gap:5px;margin:4px 0 24px;padding:0;contain:none}
body.tern1-v2-reset .tern1-alphabet a,body.tern1-v2-reset .tern1-alphabet span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;width:auto;min-height:38px;padding:0 8px;border:1px solid var(--line);border-radius:4px;color:var(--ink);font:600 12px Archivo,Arial,sans-serif}
body.tern1-v2-reset .tern1-alphabet a:hover{border-color:var(--copper);color:var(--copper)}
body.tern1-v2-reset .tern1-pagination a,body.tern1-v2-reset .tern1-pagination__number{color:var(--ink)}
body.tern1-v2-reset .tern1-pagination [aria-current=page].tern1-pagination__number{background:var(--copper);color:#fff}
@media(max-width:600px){body.tern1-v2-reset .tern1-archive-search>label{flex-basis:100%}body.tern1-v2-reset .tern1-archive-search button[type=submit],body.tern1-v2-reset .tern1-archive-search>a{flex:1 1 auto}body.tern1-v2-reset .tern1-alphabet{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}body.tern1-v2-reset .tern1-alphabet a,body.tern1-v2-reset .tern1-alphabet span{min-width:38px}}


/* v0.4.3: journal aligned search controls; garage grid and archive folder tabs */
body.tern1-v2-reset .wrap.section .search-form:not(.t-journal-toolbar){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:12px!important;max-width:100%;width:100%}
body.tern1-v2-reset .wrap.section .search-form>label{margin:0!important;align-self:end!important}
body.tern1-v2-reset .wrap.section .search-form button[type=submit]{align-self:end!important;margin:0!important;height:48px!important;min-height:48px!important}
body.tern1-v2-reset .wrap.section .search-form.t-journal-toolbar{grid-template-columns:minmax(0,1fr) minmax(150px,230px) auto!important;align-items:end!important}
body.tern1-v2-reset .wrap.section .search-form.t-journal-toolbar .t-journal-filter{align-self:end!important}
body.tern1-v2-reset .wrap.section .search-form.t-journal-toolbar .t-journal-filter label{display:block;margin:0 0 6px!important}
body.tern1-v2-reset .wrap.section .search-form.t-journal-toolbar .t-journal-filter select{height:48px!important}
/* Archive: understated document-folder navigation rather than floating pills */
body.tern1-v2-reset .wrap.section>nav.chips:has(a[href*="archive/"]){display:flex;align-items:end;gap:4px;margin:24px 0 0;padding:0 0 0;border-bottom:2px solid var(--copper)}
body.tern1-v2-reset .wrap.section>nav.chips:has(a[href*="archive/"]) a{position:relative;border:1px solid var(--line);border-bottom:0;border-radius:9px 9px 0 0;background:var(--soft);padding:13px 20px;min-height:47px;color:var(--ink);font-size:13px;transform:translateY(2px)}
body.tern1-v2-reset .wrap.section>nav.chips:has(a[href*="archive/"]) a[aria-current=page],body.tern1-v2-reset .wrap.section>nav.chips:has(a[href*="archive/"]) a:hover{background:var(--copper);border-color:var(--copper);color:#fff}
body.tern1-v2-reset .wrap.section>nav.chips:has(a[href*="archive/"])+.tern1-archive-search{margin-top:22px}
/* Garage uses same 12-card grid and styled search as Archive */
body.tern1-v2-reset .wrap.section .garage-invite{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 20px;background:var(--soft);border:1px solid var(--line);border-radius:6px}
body.tern1-v2-reset .wrap.section .garage-invite .button{display:inline-flex;align-items:center;justify-content:center;background:var(--copper);color:#fff;padding:10px 16px;border-radius:5px;font:700 13px Archivo,Arial,sans-serif}
body.tern1-v2-reset .wrap.section .filter-bar:not(.tern1-archive-search){display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:22px 0}
body.tern1-v2-reset .wrap.section .filter-bar:not(.tern1-archive-search)>label{flex:1 1 260px;display:flex;flex-direction:column;gap:7px;min-width:0}
body.tern1-v2-reset .wrap.section .filter-bar:not(.tern1-archive-search) input[type=search]{height:48px;width:100%;padding:0 14px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font:400 14px Archivo,Arial,sans-serif}
body.tern1-v2-reset .wrap.section .filter-bar:not(.tern1-archive-search) button{height:48px;padding:0 20px;background:var(--copper);border:1px solid var(--copper);border-radius:6px;color:#fff;font:700 13px Archivo,Arial,sans-serif}
@media(max-width:680px){body.tern1-v2-reset .wrap.section .search-form.t-journal-toolbar{grid-template-columns:minmax(0,1fr) auto!important}body.tern1-v2-reset .wrap.section .search-form.t-journal-toolbar>label{grid-column:1/-1!important;grid-row:1!important}body.tern1-v2-reset .wrap.section .search-form.t-journal-toolbar .t-journal-filter{grid-column:1!important;grid-row:2!important}body.tern1-v2-reset .wrap.section .search-form.t-journal-toolbar button[type=submit]{grid-column:2!important;grid-row:2!important}body.tern1-v2-reset .wrap.section>nav.chips:has(a[href*="archive/"]) a{padding:12px 10px;font-size:12px}body.tern1-v2-reset .wrap.section .filter-bar:not(.tern1-archive-search)>label{flex-basis:100%}}


/* v0.4.5 — unified oxidized copper controls and Journal mobile layout */
body.tern1-v2-reset{--t-verdigris:#527D77;--t-verdigris-hover:#426861}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;gap:12px!important;width:100%!important;max-width:100%!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>label{flex:1 1 260px!important;min-width:0!important;max-width:none!important;width:auto!important;margin:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;grid-column:auto!important;grid-row:auto!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>.t-journal-filter{flex:0 1 220px!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;gap:6px!important;grid-column:auto!important;grid-row:auto!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>button[type=submit]{flex:0 0 115px!important;width:115px!important;max-width:115px!important;height:48px!important;min-height:48px!important;margin:0!important;align-self:flex-end!important;grid-column:auto!important;grid-row:auto!important}
@media(max-width:680px){body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>label{flex:0 0 100%!important;width:100%!important}body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>.t-journal-filter{flex:1 1 0!important;width:auto!important}body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>button[type=submit]{flex:1 1 0!important;width:auto!important;max-width:none!important}}
/* Explicit controls from newsletter, Garage, and classified filters. */
body.tern1-v2-reset .tern1-newsletter-row button[type=submit],body.tern1-v2-reset .wrap.section .filter-bar button[type=submit],body.tern1-v2-reset .wrap.section .search-form button[type=submit],body.tern1-v2-reset .tern1-classifieds button[type=submit],body.tern1-v2-reset .tern1-marketplace button[type=submit],body.tern1-v2-reset .tern1-marketplace button[name=apply],body.tern1-v2-reset .marketplace-filters button[type=submit]{background:var(--t-verdigris)!important;background-image:none!important;border:1px solid var(--t-verdigris)!important;color:#fff!important;border-radius:6px!important;box-shadow:none!important;font:700 14px/1.2 Archivo,Arial,sans-serif!important;cursor:pointer!important}
body.tern1-v2-reset .tern1-newsletter-row button[type=submit]:hover,body.tern1-v2-reset .wrap.section .filter-bar button[type=submit]:hover,body.tern1-v2-reset .wrap.section .search-form button[type=submit]:hover,body.tern1-v2-reset .tern1-marketplace button[type=submit]:hover{background:var(--t-verdigris-hover)!important;border-color:var(--t-verdigris-hover)!important}
body.tern1-v2-reset .tern1-newsletter-row input[type=email]{border-radius:6px!important}
body.tern1-v2-reset .tern1-newsletter-row{gap:12px!important}


/* v0.4.6 — TERN1 brand consistency */
/* Copper CTAs; legacy red seller/contact actions use oxidized copper. */
body.tern1-v2-reset .garage-invite .button,body.tern1-v2-reset .wrap.section .garage-invite a,body.tern1-v2-reset .tern1-archive-search button[type=submit]{background:#B45D3B!important;border-color:#B45D3B!important;color:#fff!important;border-radius:6px!important}
body.tern1-v2-reset a[href*="login"].button,body.tern1-v2-reset a[href*="sign-in"].button,body.tern1-v2-reset a[href*="account"].button,body.tern1-v2-reset .contact-seller a.button,body.tern1-v2-reset .contact-seller button,body.tern1-v2-reset a[href*="contact-seller"],body.tern1-v2-reset .listing-sidebar a.button,body.tern1-v2-reset .listing-sidebar button{background:#527D77!important;border-color:#527D77!important;color:#fff!important;border-radius:6px!important;box-shadow:none!important}
/* Legacy red marketplace type labels, including PART. */
body.tern1-v2-reset .listing-card .eyebrow,body.tern1-v2-reset .listing-card .badge,body.tern1-v2-reset .marketplace-card .eyebrow,body.tern1-v2-reset .marketplace-card .badge,body.tern1-v2-reset .listing-type,body.tern1-v2-reset .listing-category,body.tern1-v2-reset .listing-meta .eyebrow{color:#B45D3B!important}
/* Garage folder tabs: one continuous, horizontally scrollable row on narrow screens. */
body.tern1-v2-reset nav.chips:has(a[href*="garage"]),body.tern1-v2-reset .garage-categories,body.tern1-v2-reset .garage-tabs{display:flex!important;flex-wrap:nowrap!important;gap:3px!important;overflow-x:auto!important;overflow-y:hidden!important;max-width:100%!important;scrollbar-width:thin;white-space:nowrap;-webkit-overflow-scrolling:touch}
body.tern1-v2-reset nav.chips:has(a[href*="garage"]) a,body.tern1-v2-reset .garage-categories a,body.tern1-v2-reset .garage-tabs a{flex:0 0 auto!important;white-space:nowrap!important;padding:11px clamp(8px,2vw,16px)!important;font-size:clamp(10px,2.5vw,13px)!important}
/* Archive model index: recognizable linked records without default underlines. */
body.tern1-v2-reset .tern1-models-list a,body.tern1-v2-reset .tern1-archive-models a,body.tern1-v2-reset .archive-model-list a,body.tern1-v2-reset .archive-models a,body.tern1-v2-reset .model-list a{color:#B45D3B!important;text-decoration:none!important;font-weight:600!important;transition:color .15s ease}
body.tern1-v2-reset .tern1-models-list a:hover,body.tern1-v2-reset .tern1-archive-models a:hover,body.tern1-v2-reset .archive-model-list a:hover,body.tern1-v2-reset .archive-models a:hover,body.tern1-v2-reset .model-list a:hover,body.tern1-v2-reset .tern1-models-list a:focus-visible,body.tern1-v2-reset .tern1-archive-models a:focus-visible{color:#527D77!important}


/* v0.4.7 — Garage tabs match Archive folders; classified type labels */
body.tern1-v2-reset .wrap.section nav.chips:has(a[href*="garage"]){display:flex!important;flex-wrap:nowrap!important;align-items:flex-end!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;margin:24px 0 22px!important;padding:0!important;border-bottom:2px solid #B45D3B!important;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
body.tern1-v2-reset .wrap.section nav.chips:has(a[href*="garage"]) a{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;min-height:46px!important;margin:0!important;padding:11px clamp(9px,2vw,18px)!important;border:1px solid var(--line)!important;border-bottom:0!important;border-radius:9px 9px 0 0!important;background:var(--soft)!important;color:var(--ink)!important;white-space:nowrap!important;transform:translateY(2px)}
body.tern1-v2-reset .wrap.section nav.chips:has(a[href*="garage"]) a[aria-current=page],body.tern1-v2-reset .wrap.section nav.chips:has(a[href*="garage"]) a.is-active,body.tern1-v2-reset .wrap.section nav.chips:has(a[href*="garage"]) a:hover{background:#B45D3B!important;border-color:#B45D3B!important;color:#fff!important}
/* Marketplace type text; broad coverage for plugin-generated card markup */
body.tern1-v2-reset :is(.listing-card,.marketplace-card,.classified-card,.classifieds-card,.tern1-listing-card,.tern1-classified-card,.tern1-market-card,.t-listing-card) :is(.type,.type-label,.category,.category-label,.listing-type,.listing-category,.listing-kind,.listing-badge,.eyebrow,.badge,.t-card-type),body.tern1-v2-reset :is(.listing-card,.marketplace-card,.classified-card,.tern1-listing-card,.t-listing-card) [class*="type"],body.tern1-v2-reset :is(.listing-card,.marketplace-card,.classified-card,.tern1-listing-card,.t-listing-card) [class*="category"]{color:#B45D3B!important}




/* v0.4.10 — Garage uses the exact Archive folder-tab treatment. */
body.tern1-v2-reset .wrap.section>nav.chips[aria-label="Garage machine types"]{display:flex!important;flex-flow:row nowrap!important;align-items:flex-end!important;justify-content:flex-start!important;gap:4px!important;margin:24px 0 0!important;padding:0!important;width:100%!important;max-width:100%!important;border-bottom:2px solid var(--copper)!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch}
body.tern1-v2-reset .wrap.section>nav.chips[aria-label="Garage machine types"]>a{position:relative!important;display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:13px 20px!important;min-height:47px!important;border:1px solid var(--line)!important;border-bottom:0!important;border-radius:9px 9px 0 0!important;background:var(--soft)!important;color:var(--ink)!important;font:600 13px Archivo,Arial,sans-serif!important;transform:translateY(2px)!important;text-decoration:none!important;white-space:nowrap!important}
body.tern1-v2-reset .wrap.section>nav.chips[aria-label="Garage machine types"]>a[aria-current="page"],body.tern1-v2-reset .wrap.section>nav.chips[aria-label="Garage machine types"]>a:hover,body.tern1-v2-reset .wrap.section>nav.chips[aria-label="Garage machine types"]>a:focus-visible{background:var(--copper)!important;border-color:var(--copper)!important;color:#fff!important}
@media(max-width:680px){body.tern1-v2-reset .wrap.section>nav.chips[aria-label="Garage machine types"]{gap:3px!important}body.tern1-v2-reset .wrap.section>nav.chips[aria-label="Garage machine types"]>a{padding:12px 7px!important;font-size:clamp(9px,2.4vw,12px)!important;min-height:44px!important}}

/* v0.4.9: actual classifieds markup is generated by the classifieds plugin. */
body.tern1-v2-reset.post-type-archive-tern1_listing .tern1-market-card .tern1-market-card-kind{color:#B45D3B!important}
/* Ensure Garage folder tabs remain on one line on narrow viewports. */
@media(max-width:700px){body.tern1-v2-reset.post-type-archive-tern1_garage nav.chips[aria-label="Garage machine types"]{gap:2px!important}body.tern1-v2-reset.post-type-archive-tern1_garage nav.chips[aria-label="Garage machine types"]>a{font-size:clamp(9px,2.4vw,12px)!important;padding:10px 6px!important;min-height:44px!important}}

/* v0.4.8: verified parent-template selectors (not guessed card classes). */
body.tern1-v2-reset .wrap.section nav.chips[aria-label="Garage machine types"]{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;align-items:flex-end!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;width:100%!important;margin:24px 0 22px!important;padding:0!important;border-bottom:2px solid #B45D3B!important;-webkit-overflow-scrolling:touch}
body.tern1-v2-reset .wrap.section nav.chips[aria-label="Garage machine types"]>a{display:inline-flex!important;flex:0 0 auto!important;white-space:nowrap!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:11px 12px!important;margin:0!important;border:1px solid var(--line)!important;border-bottom:0!important;border-radius:9px 9px 0 0!important;background:var(--soft)!important;color:var(--ink)!important;transform:translateY(2px)!important;font-size:12px!important}
body.tern1-v2-reset .wrap.section nav.chips[aria-label="Garage machine types"]>a[aria-current="page"],body.tern1-v2-reset .wrap.section nav.chips[aria-label="Garage machine types"]>a:hover{background:#B45D3B!important;border-color:#B45D3B!important;color:#fff!important}
/* Parent tern1_card() prints listing category in .story-card > .eyebrow. */
body.tern1-v2-reset .card-grid>.story-card>.eyebrow,body.tern1-v2-reset .card-grid>.story-card .eyebrow{color:#B45D3B!important}


/* v0.4.11 — fix: only the current Garage folder is copper. Touch hover must not select all folders. */
body.tern1-v2-reset.post-type-archive-tern1_garage .wrap.section>nav.chips[aria-label="Garage machine types"]>a:not([aria-current="page"]),body.tern1-v2-reset.post-type-archive-tern1_garage .wrap.section>nav.chips[aria-label="Garage machine types"]>a:not([aria-current="page"]):hover,body.tern1-v2-reset.post-type-archive-tern1_garage .wrap.section>nav.chips[aria-label="Garage machine types"]>a:not([aria-current="page"]):focus-visible{background:var(--soft)!important;background-color:var(--soft)!important;border-color:var(--line)!important;color:var(--ink)!important}
body.tern1-v2-reset.post-type-archive-tern1_garage .wrap.section>nav.chips[aria-label="Garage machine types"]>a[aria-current="page"]{background:#B45D3B!important;background-color:#B45D3B!important;border-color:#B45D3B!important;color:#fff!important}
@media(hover:hover) and (pointer:fine){body.tern1-v2-reset.post-type-archive-tern1_garage .wrap.section>nav.chips[aria-label="Garage machine types"]>a:not([aria-current="page"]):hover{background:#B45D3B!important;background-color:#B45D3B!important;border-color:#B45D3B!important;color:#fff!important}}


/* v0.4.13 — theme-aware account and classifieds, scoped to actual plugin DOM. */
html[data-tern1-theme="light"] body.tern1-v2-reset .tern1-auth-switch .tern1-member.tern1-account,
html[data-tern1-theme="light"] body.tern1-v2-reset .tern1-auth-switch .tern1-account-columns,
html[data-tern1-theme="light"] body.tern1-v2-reset .tern1-auth-switch .tern1-account-columns>section{
 background:#F5F1E9!important;color:#202727!important;border-color:#C9C1B5!important}
html[data-tern1-theme="dark"] body.tern1-v2-reset .tern1-auth-switch .tern1-member.tern1-account,
html[data-tern1-theme="dark"] body.tern1-v2-reset .tern1-auth-switch .tern1-account-columns>section{
 background:#202625!important;color:#F5F1E9!important;border-color:#414946!important}
body.tern1-v2-reset .tern1-auth-switch .tern1-member.tern1-account{border:1px solid var(--line)!important;border-radius:8px!important;padding:clamp(20px,4vw,36px)!important}
body.tern1-v2-reset .tern1-auth-switch .tern1-member.tern1-account :is(h2,h3,label,span){color:var(--ink)!important}
body.tern1-v2-reset .tern1-auth-switch .tern1-member.tern1-account p{color:var(--muted)!important}
body.tern1-v2-reset .tern1-auth-switch .tern1-member-form :is(input[type="text"],input[type="email"],input[type="password"]){width:100%!important;min-height:46px!important;background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:6px!important;padding:10px 13px!important;box-shadow:none!important}
body.tern1-v2-reset .tern1-auth-switch .tern1-member-form input[type="checkbox"]{accent-color:#B45D3B!important}
body.tern1-v2-reset .tern1-auth-switch .tern1-member-form button[type="submit"]{background:#B45D3B!important;border:1px solid #B45D3B!important;color:#fff!important;border-radius:6px!important;padding:12px 20px!important;min-height:46px!important;font:700 14px Archivo,Arial,sans-serif!important;box-shadow:none!important}
body.tern1-v2-reset .tern1-auth-switch .tern1-member-form button[type="submit"]:hover{background:#93492f!important;border-color:#93492f!important}
body.tern1-v2-reset .tern1-auth-switch .tern1-auth-tabs button{color:var(--ink)!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:6px!important}
body.tern1-v2-reset .tern1-auth-switch .tern1-auth-tabs button[aria-selected="true"],body.tern1-v2-reset .tern1-auth-switch .tern1-auth-tabs button.is-active{background:#B45D3B!important;color:#fff!important;border-color:#B45D3B!important}
body.tern1-v2-reset .tern1-auth-switch a{color:#B45D3B!important}
html[data-tern1-theme="light"] body.tern1-v2-reset .tern1-marketplace{background:#F5F1E9!important;color:#202727!important}
html[data-tern1-theme="dark"] body.tern1-v2-reset .tern1-marketplace{background:#171b1a!important;color:#F5F1E9!important}
body.tern1-v2-reset .tern1-marketplace :is(.page-intro h1,.tern1-market-filters label,.tern1-market-filters label span){color:var(--ink)!important}
body.tern1-v2-reset .tern1-marketplace :is(.page-intro p,.tern1-market-count){color:var(--muted)!important}
body.tern1-v2-reset .tern1-marketplace .tern1-market-filters :is(input,select){background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:6px!important;min-height:46px!important;box-shadow:none!important}
body.tern1-v2-reset .tern1-marketplace .tern1-market-filters input::placeholder{color:var(--muted)!important;opacity:1}
body.tern1-v2-reset .tern1-marketplace .tern1-market-filters button[type="submit"]{background:#B45D3B!important;color:#fff!important;border:1px solid #B45D3B!important;border-radius:6px!important;min-height:44px!important;padding:10px 20px!important;box-shadow:none!important}
body.tern1-v2-reset .tern1-marketplace .tern1-market-filters button[type="submit"]:hover{background:#93492f!important}
html[data-tern1-theme="light"] body.tern1-v2-reset .tern1-marketplace .tern1-market-card{background:#fffefa!important;border-color:#C9C1B5!important;color:#202727!important}
html[data-tern1-theme="light"] body.tern1-v2-reset .tern1-marketplace .tern1-market-card :is(h2,h3,a){color:#202727!important}
body.tern1-v2-reset .tern1-marketplace .tern1-market-card .tern1-market-card-kind{color:#B45D3B!important}
@media(max-width:680px){body.tern1-v2-reset .tern1-auth-switch .tern1-member.tern1-account{padding:20px!important}body.tern1-v2-reset .tern1-marketplace .tern1-market-filters{min-width:0!important}}



/* TERN1 private member workspace — mobile-first presentation */
body.tern1-v2-reset .tern1-account-dashboard{width:min(100% - 32px,1100px);margin:24px auto 90px;color:var(--ink)}
body.tern1-v2-reset .tern1-account-dashboard .tern1-account-header{display:flex;align-items:center;gap:18px;padding:22px 0 24px;margin:0}
body.tern1-v2-reset .tern1-account-dashboard .tern1-account-header h2{font:700 clamp(26px,5vw,40px)/1.15 Fraunces,Georgia,serif;color:var(--ink);overflow-wrap:anywhere}
body.tern1-v2-reset .tern1-account-dashboard .tern1-account-header p{color:var(--muted);line-height:1.65}
body.tern1-v2-reset .tern1-account-dashboard .tern1-account-nav{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 28px!important;padding:12px 0!important;border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;visibility:visible!important;opacity:1!important}
body.tern1-v2-reset .tern1-account-dashboard .tern1-account-nav a{display:inline-flex!important;align-items:center;justify-content:center;flex:1 1 130px;min-height:44px;padding:10px 14px!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:6px!important;color:var(--ink)!important;font:600 13px/1.3 Archivo,Arial,sans-serif!important;text-decoration:none!important;opacity:1!important;visibility:visible!important}
body.tern1-v2-reset .tern1-account-dashboard .tern1-account-nav a[aria-current="page"]{background:#527D77!important;border-color:#527D77!important;color:#fff!important}
body.tern1-v2-reset .tern1-account-dashboard>section{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:8px}
body.tern1-v2-reset .tern1-account-dashboard>section h3{margin:0 0 12px;font:700 clamp(22px,4vw,28px)/1.2 Fraunces,Georgia,serif;color:var(--ink)}
body.tern1-v2-reset .tern1-account-dashboard>section h3:not(:first-child){margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
body.tern1-v2-reset .tern1-account-dashboard>section p{color:var(--muted);line-height:1.6}
body.tern1-v2-reset .tern1-account-dashboard .tern1-profile-records{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:8px}
body.tern1-v2-reset .tern1-account-dashboard .tern1-profile-records li{padding:0;list-style:none}
body.tern1-v2-reset .tern1-account-dashboard .tern1-profile-records a{display:block;padding:14px 16px;background:var(--bg);border:1px solid var(--line);border-radius:6px;color:var(--ink);text-decoration:none;font:600 14px/1.5 Archivo,Arial,sans-serif}
body.tern1-v2-reset .tern1-account-dashboard .tern1-profile-records a:hover{border-color:#527D77;color:#527D77}
@media(max-width:600px){body.tern1-v2-reset .tern1-account-dashboard{width:calc(100% - 32px);margin-top:16px}body.tern1-v2-reset .tern1-account-dashboard .tern1-account-header{gap:14px}body.tern1-v2-reset .tern1-account-dashboard .tern1-account-header img{width:68px;height:68px}body.tern1-v2-reset .tern1-account-dashboard .tern1-account-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}body.tern1-v2-reset .tern1-account-dashboard .tern1-account-nav a{min-width:0;padding:10px 8px!important}body.tern1-v2-reset .tern1-account-dashboard>section{padding:18px}}

/* TERN1 registration password visibility control — oxidized copper. */
html body button.tern1-password-toggle, html body .tern1-member button.tern1-password-toggle, html body .tern1-member-form button.tern1-password-toggle { background:#527D77!important;background-color:#527D77!important;background-image:none!important;border:1px solid #527D77!important;color:#fff!important;border-radius:6px!important;box-shadow:none!important; }
html body button.tern1-password-toggle:hover,html body button.tern1-password-toggle:focus {background:#426963!important;background-color:#426963!important;border-color:#426963!important;color:#fff!important;}
html body .tern1-auth-switch .tern1-member-form button.tern1-password-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;margin:10px 0 12px!important;padding:9px 16px!important;background:#527D77!important;background-color:#527D77!important;border:1px solid #527D77!important;border-radius:6px!important;color:#fff!important;font:600 13px/1.3 Archivo,Arial,sans-serif!important;box-shadow:none!important;cursor:pointer!important}
html body .tern1-auth-switch .tern1-member-form button.tern1-password-toggle:hover{background:#426963!important;background-color:#426963!important;border-color:#426963!important;color:#fff!important}

/* Journal v0.4.2 — stable mobile search, category filter, and comment presentation */
/* Journal toolbar v0.4.4 — predictable grid tracks and matched field heights */
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar{display:grid!important;width:100%!important;max-width:100%!important;grid-template-columns:minmax(0,1fr) minmax(175px,230px) 120px!important;column-gap:12px!important;row-gap:10px!important;align-items:end!important;margin:24px 0 28px!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>label{display:flex!important;flex-direction:column!important;justify-content:end!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>.t-journal-filter{display:flex!important;flex-direction:column!important;justify-content:end!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;gap:6px!important;grid-column:auto!important;grid-row:auto!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>.t-journal-filter label{width:auto!important;margin:0!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar input[type=search],body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar select{box-sizing:border-box!important;height:48px!important;min-height:48px!important;width:100%!important;margin:0!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>button[type=submit]{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;max-height:48px!important;align-self:end!important;margin:0!important;padding:0 12px!important;grid-column:auto!important;grid-row:auto!important}
@media(max-width:680px){body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>label{grid-column:1/-1!important;grid-row:1!important}body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>.t-journal-filter{grid-column:1!important;grid-row:2!important}body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>button[type=submit]{grid-column:2!important;grid-row:2!important}}

body.tern1-v2-reset .search-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:stretch!important;width:100%;max-width:760px;margin:20px 0 22px}
body.tern1-v2-reset .search-form label{min-width:0!important;width:100%!important;display:block}
body.tern1-v2-reset .search-form input[type="search"]{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0 14px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:var(--surface)!important;color:var(--ink)!important;font:400 14px Archivo,Arial,sans-serif!important}
body.tern1-v2-reset .search-form button[type="submit"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0 22px!important;background:var(--copper)!important;color:#fff!important;border:1px solid var(--copper)!important;border-radius:6px!important;font:700 14px Archivo,Arial,sans-serif!important;white-space:nowrap!important;line-height:1!important;box-shadow:none!important}
body.tern1-v2-reset .t-journal-filter{margin:20px 0 28px;display:grid;gap:7px;max-width:360px}
body.tern1-v2-reset .t-journal-filter label{font:700 11px/1.5 Archivo,Arial,sans-serif;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}
body.tern1-v2-reset .t-journal-filter select{appearance:none;display:block;width:100%;min-height:46px;padding:10px 42px 10px 14px;border:1px solid var(--line);border-radius:6px;background-color:var(--surface);color:var(--ink);font:600 14px Archivo,Arial,sans-serif;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a95a3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}
body.tern1-v2-reset .comment-form .logged-in-as,body.tern1-v2-reset .comment-form .required-field-message{display:none!important}
body.tern1-v2-reset .t-journal-account-links{margin:9px 0 0;font:400 12px/1.6 Archivo,Arial,sans-serif;color:var(--muted)}
body.tern1-v2-reset .t-journal-account-links a{color:var(--copper);font-weight:600}
body.tern1-v2-reset .t-journal-account-links span{padding:0 8px}
body.tern1-v2-reset .comment-form input#submit{min-height:46px!important;padding:10px 20px!important;background:var(--copper)!important;color:#fff!important;border-radius:6px!important;border:1px solid var(--copper)!important;font:700 14px Archivo,Arial,sans-serif!important}
@media(max-width:420px){body.tern1-v2-reset .search-form{gap:8px!important}body.tern1-v2-reset .search-form button[type="submit"]{padding:0 14px!important}body.tern1-v2-reset .t-journal-filter{max-width:none}}
/* Final control override after legacy Journal rules */
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>label{flex:1 1 260px!important;grid-column:auto!important;grid-row:auto!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>.t-journal-filter{flex:0 1 220px!important;grid-column:auto!important;grid-row:auto!important}
body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>button[type=submit]{flex:0 0 115px!important;width:115px!important;max-width:115px!important;grid-column:auto!important;grid-row:auto!important;background:#527D77!important;border-color:#527D77!important}
@media(max-width:680px){body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>label{flex:0 0 100%!important;width:100%!important}body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>.t-journal-filter{flex:1 1 0!important}body.tern1-v2-reset .wrap.section form.search-form.t-journal-toolbar>button[type=submit]{flex:1 1 0!important;width:auto!important;max-width:none!important}}

