/* Syscom Foto’s 0.1.2 — design tokens from syscom.be, 23 October 2026.
   Keep Piwigo/Modus layout and functional controls; style their surfaces. */
@font-face{font-family:Montserrat;src:url(assets/montserrat-latin.woff2) format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--sc-blue:#006fc0;--sc-blue-hover:#005994;--sc-ink:#0f2439;--sc-heading:#25415d;--sc-muted:#5a6979;--sc-surface:#f7f9fc;--sc-border:#e4e9ef;--sc-white:#fff;--sc-radius:16px;color-scheme:light}
.syscom-brandbar{flex-shrink:0}
.syscom-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
html body .syscom-brandbar .syscom-upload{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:10px 18px;border:1px solid var(--sc-blue);border-radius:8px;background:var(--sc-blue);color:white;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none;white-space:nowrap}
html body .syscom-brandbar .syscom-upload:hover{background:var(--sc-blue-hover);border-color:var(--sc-blue-hover);color:white}
@media(max-width:640px){.syscom-header-actions{width:100%;justify-content:flex-start;gap:10px}.syscom-header-actions .syscom-help{min-height:44px;box-sizing:border-box}.syscom-header-actions .syscom-upload{flex:1 1 auto}}
html{background:var(--sc-white)}
body{margin:0;background:var(--sc-white);color:var(--sc-ink);font-family:Montserrat,Arial,sans-serif;font-size:15px;line-height:1.6}
a{color:var(--sc-blue);text-decoration:none}
a:hover{color:var(--sc-blue-hover)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--sc-blue);outline-offset:3px}
.syscom-brandbar{box-sizing:border-box;min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px max(24px,calc((100% - 1280px)/2));border-bottom:1px solid var(--sc-border);background:#fff}
.syscom-brand{display:inline-flex;align-items:center;gap:12px;color:#0069b4;text-decoration:none!important}
.syscom-brand img{display:block;width:44px;height:44px}
.syscom-wordmark{display:flex;align-items:baseline;gap:18px;font-size:32px;font-weight:700;letter-spacing:-1.3px;line-height:1.2}
.syscom-product{font-size:16px;font-weight:500;letter-spacing:0;color:var(--sc-muted);padding-left:18px;border-left:1px solid var(--sc-border)}
.syscom-help{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--sc-blue);border-radius:8px;padding:9px 17px;font-weight:600;font-size:13px;white-space:nowrap}
.syscom-help:hover{background:var(--sc-surface)}
.syscom-skip{position:absolute;left:16px;top:-100px;background:white;padding:10px 20px;z-index:1000}
.syscom-skip:focus{top:12px}
.syscom-welcome{box-sizing:border-box;padding:48px max(24px,calc((100% - 1280px)/2)) 44px;background:var(--sc-surface);border-bottom:1px solid var(--sc-border)}
.syscom-welcome .syscom-eyebrow{color:var(--sc-muted);font-size:11px;letter-spacing:.12em;font-weight:700;margin:0 0 16px}
.syscom-welcome h1{font-size:clamp(30px,4vw,48px);line-height:1.12;letter-spacing:-.03em;color:var(--sc-heading);margin:0 0 20px;font-weight:700;text-align:left}
.syscom-welcome h1 span{color:var(--sc-blue)}
.syscom-welcome>p:last-child{color:#30557e;font-size:16px;margin:0}
#theHeader{box-sizing:border-box;max-width:1280px;margin:24px auto;padding:0 24px;background:transparent;color:var(--sc-heading)}
#menubar{box-sizing:border-box;background:white;background-image:none;color:var(--sc-ink);border-bottom:1px solid var(--sc-border);padding:16px max(20px,calc((100% - 1280px)/2));min-height:62px}
#menubar dt,#menubar dt a{font-size:14px;font-weight:600;color:var(--sc-heading)}
#menubar dl{margin:0 16px 0 0;padding:0;line-height:30px}
#menubar dd{background:#fff;color:var(--sc-ink);border:1px solid var(--sc-border);border-radius:12px;box-shadow:0 8px 24px #0f243914;padding:16px;max-height:65vh;overflow:auto}
#menubar dd a{color:var(--sc-blue)}
#menubar dl:focus-within>dd{display:block;z-index:6}
#qsearchInput{min-height:36px;border:1px solid var(--sc-border);border-radius:8px;background:var(--sc-surface);color:var(--sc-ink);font-family:inherit;padding:6px 10px}
#content{box-sizing:border-box;margin:28px auto;max-width:1328px;padding:0 24px;background:transparent;color:var(--sc-ink)}
.titrePage,#imageHeaderBar{background:transparent;background-image:none;color:var(--sc-heading);border:0;border-bottom:1px solid var(--sc-border);padding:10px 0 18px;margin-bottom:22px;border-radius:0;box-shadow:none}
.titrePage h2,.titrePage h2 a,.browsePath,.browsePath a{color:var(--sc-heading);font-family:inherit;font-weight:600;text-shadow:none}
.titrePage h2{font-size:22px;letter-spacing:-.02em}
.categoryActions a,.actionButtons a,.pwg-button{color:var(--sc-blue)}
.albThumbs{text-align:left}
.albThumbs li{border-radius:var(--sc-radius);box-shadow:0 3px 12px #0f243914;isolation:isolate}
.albThumbs li:hover{box-shadow:0 8px 24px #0f243926}
.albLegend{box-sizing:border-box;height:auto;min-height:80px;padding:25px 12px 12px;text-indent:0;background:linear-gradient(transparent,#0f2439eb);color:white;text-shadow:0 1px 2px #0006}
.albLegend a,.albLegend h4{color:white}
.albLegend h4{font-size:15px;margin:0 0 4px;line-height:1.5}
.thumbnailCategory{border:1px solid var(--sc-border);border-radius:var(--sc-radius);background:var(--sc-surface);padding:12px}
.thumbnailCategory .description h3 a{color:var(--sc-heading)}
#thumbnails img,.thumbnails .wrap2{border-radius:8px}
.thumbnails .wrap2{border-color:var(--sc-border)}
.thumbnails .wrap2:focus-within{outline:3px solid var(--sc-blue);outline-offset:2px}
.navigationBar{color:var(--sc-muted);padding:20px 0}
.navigationBar a{display:inline-block;padding:4px 10px;border-radius:6px}
.navigationBar a:hover{background:var(--sc-surface)}
input,select,textarea,button{font-family:inherit}
input[type=text],input[type=password],input[type=email],input[type=search],input[type=url],input[type=number],select,textarea{box-sizing:border-box;border:1px solid #b7c6d5;border-radius:8px;background:white;color:var(--sc-ink);padding:9px 12px;max-width:100%}
input[type=submit],input[type=button],button[type=submit],.submit{background:var(--sc-blue);background-image:none;color:white;border:1px solid var(--sc-blue);border-radius:8px;padding:10px 20px;font-weight:600;cursor:pointer;text-shadow:none}
input[type=submit]:hover,input[type=button]:hover,button[type=submit]:hover,.submit:hover{background:var(--sc-blue-hover);color:white}
input:disabled,button:disabled{opacity:.55;cursor:not-allowed}
fieldset{border:1px solid var(--sc-border);border-radius:12px;background:var(--sc-surface);padding:20px}
legend{color:var(--sc-heading);font-weight:600}
#theIdentificationPage #content,#thePasswordPage #content,#theRegisterPage #content{max-width:660px;margin:48px auto}
#imageHeaderBar,#imageToolBar{color:var(--sc-heading);background:var(--sc-surface);border-color:var(--sc-border)}
#imageInfos{color:var(--sc-ink);background:var(--sc-surface)}
#theImage img{border-radius:4px}
#copyright{box-sizing:border-box;margin-top:56px;padding:28px 24px;background:var(--sc-surface);border-top:1px solid var(--sc-border);color:var(--sc-muted);font-size:12px;text-align:center}
#copyright a{color:var(--sc-blue)}
@media(max-width:640px){
 .syscom-brandbar{min-height:76px;padding:16px;gap:10px}
 .syscom-brand{gap:8px}.syscom-brand img{width:34px;height:34px}
 .syscom-wordmark{font-size:25px;gap:10px}.syscom-product{font-size:12px;padding-left:10px}
 .syscom-help{font-size:11px;padding:8px 10px;gap:6px}
 .syscom-welcome{padding:32px 20px}.syscom-welcome>p:last-child{font-size:14px}
 #content{padding:0 16px;margin-top:18px}
 #menubar{padding:14px;border:1px solid var(--sc-border);border-radius:12px;max-width:calc(100vw - 32px);opacity:1}
 #menubar dl{margin:4px 0;line-height:1.6}#menubar dt,#menubar dt a{font-size:16px;min-height:36px}
 #menubar dd{border:0;box-shadow:none;max-height:none}
 .titrePage h2{font-size:18px}.syscom-welcome h1{font-size:32px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media print{.syscom-help,.syscom-skip{display:none}.syscom-brandbar{border:0}.syscom-welcome{padding:20px}}

/* The Modus wide/high-DPI rules have higher specificity than generic IDs.
   Scope overrides to the photo page, and retain the parent action controls. */
html body#thePicturePage #content{width:auto;max-width:1328px}
html body#thePicturePage #imageHeaderBar{background:var(--sc-surface);color:var(--sc-heading);padding:16px 20px;border:1px solid var(--sc-border);border-radius:12px;line-height:1.5}
html body#thePicturePage #imageHeaderBar h2,
html body#thePicturePage #imageHeaderBar a{color:var(--sc-heading);text-shadow:none}
html body#thePicturePage #imageHeaderBar .imageNumber{color:var(--sc-muted);margin-left:16px}
html body#thePicturePage #imageToolBar{display:flow-root;box-sizing:border-box;height:auto;min-height:44px;padding:6px 0;margin-bottom:16px;background:white;color:var(--sc-heading)}
html body#thePicturePage #imageToolBar a{color:var(--sc-blue)}
html body#thePicturePage #theImageAndInfos{display:flex;align-items:flex-start;gap:24px;max-width:100%;overflow:visible}
html body#thePicturePage #theImage{flex:1 1 0;min-width:0;width:auto;margin:0;text-align:center}
html body#thePicturePage #theImage img{max-width:100%;height:auto}
html body#thePicturePage #imageInfos{box-sizing:border-box;flex:0 0 300px;width:300px;min-width:0;min-height:0;padding:20px;border:1px solid var(--sc-border);border-radius:12px;background:var(--sc-surface);color:var(--sc-ink)}
html body#thePicturePage #imageInfos a{color:var(--sc-blue)}
/* No fixed thumbnail-row height: translated text must remain in normal flow,
   including on high-DPI screens where Modus halves the thumbnail dimensions. */
html body#thePicturePage #imageInfos .navThumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;min-width:0;max-width:none;height:auto!important;margin:0 0 20px;padding:0}
html body#thePicturePage #imageInfos .navThumb{position:relative;display:block;float:none;width:100%!important;height:auto!important;min-width:0;margin:0!important;overflow:hidden;text-align:center;border-radius:8px;line-height:1.5}
html body#thePicturePage #imageInfos .navThumb img{display:block;max-width:100%;height:auto;margin:auto;border-radius:8px}
html body#thePicturePage #imageInfos div.thumbHover{position:static;box-sizing:border-box;width:100%!important;height:auto!important;min-height:100px;padding:12px 8px;border:1px solid var(--sc-border);border-radius:8px;background:white;color:var(--sc-blue);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
html body#thePicturePage #imageInfos .imageInfoTable{display:block;clear:both;margin:0;padding:0;font-family:inherit;background:transparent;color:var(--sc-ink)}
html body#thePicturePage #imageInfos .imageInfo{display:block;margin:0 0 14px;line-height:1.5;overflow-wrap:anywhere}
html body#thePicturePage #imageInfos .imageInfo dt{display:block;padding:0;margin:0 0 3px;text-align:left;color:var(--sc-heading)}
html body#thePicturePage #imageInfos .imageInfo dd{display:block;margin:0;padding:0;text-align:left;color:var(--sc-ink)}
html body#thePicturePage #comments{clear:both;box-sizing:border-box;margin:36px 0 0;padding:24px 0;border-top:1px solid var(--sc-border);color:var(--sc-ink)}
html body#thePicturePage #comments h3,
html body#thePicturePage #comments h4{color:var(--sc-heading);margin:0 0 16px}
html body#thePicturePage #commentAdd{max-width:680px}
html body#thePicturePage #commentAdd input[type=text],
html body#thePicturePage #commentAdd input[type=url],
html body#thePicturePage #commentAdd textarea{width:100%;max-width:100%;background:white;color:var(--sc-ink);border:1px solid #b7c6d5;box-shadow:none}
html body#thePicturePage #commentAdd textarea{min-height:140px;resize:vertical;cursor:text}
html body#thePicturePage #commentAdd input[type=text],html body#thePicturePage #commentAdd input[type=url]{cursor:text}
html body#thePicturePage #commentAdd label{display:inline-block;margin:8px 0 6px}
html body#thePicturePage #commentAdd input[type=submit]{background:var(--sc-blue);color:white}
html body #copyright{clear:both;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:960px){
 html body#thePicturePage #theImageAndInfos{flex-direction:column;gap:20px}
 html body#thePicturePage #theImage{flex:0 1 auto;width:100%}
 html body#thePicturePage #imageInfos{flex:0 1 auto;width:100%}
 html body#thePicturePage #imageInfos .navThumbs{max-width:320px}
}
@media(max-width:640px){
 .syscom-brandbar{flex-wrap:wrap}
 .syscom-wordmark{letter-spacing:-.6px}
 html body#thePicturePage #imageHeaderBar{padding:12px;font-size:13px}
 html body#thePicturePage #imageHeaderBar h2{font-size:16px;overflow-wrap:anywhere}
 html body#thePicturePage #imageInfos{padding:16px}
 .syscom-footer-contact{display:block;margin-top:8px}
}
