/* Shared light, compact styling for sign-in, recovery and backup pages. */
:root{color-scheme:light}
*,*::before,*::after{box-sizing:border-box;border-radius:0!important}
body{display:block;min-height:100vh;margin:0;background:#f7f8f5;color:#27382c;font:13px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body>main.card{width:min(390px,calc(100% - 28px));margin:clamp(36px,11vh,120px) auto 36px;padding:25px;border:1px solid #dfe6dc;background:#fff;box-shadow:none}
.mark{width:30px;height:30px;background:#d8e9cd;color:#31563b;font-size:19px;font-weight:600}
h1,body>main.card h1{font-size:27px;font-weight:400;letter-spacing:-.035em;line-height:1.16;color:#27382c;margin:17px 0 7px}
p,body>main.card p{color:#708173;font-size:12px;line-height:1.5;margin:0 0 18px}
label{font-size:12px;font-weight:550;color:#3d5243;margin:13px 0 5px}
input:not([type="hidden"]){min-height:36px;padding:8px 10px;border:1px solid #d8e3d6;background:#fff;color:#27382c;font:inherit}
input:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #699967;outline-offset:2px}
button{min-height:36px;padding:8px 13px;margin-top:17px;border:1px solid #bbd6b0;background:#d9ebd0;color:#2f5037;font:inherit;font-weight:550;cursor:pointer}
button:hover{background:#cce3c0}
a{color:#416e49;text-decoration:none;font-size:12px;margin-top:14px}
a:hover{text-decoration:underline}
.error,.notice{padding:10px;border:1px solid #e5e8dc;font-size:12px}
.error{background:#fcf2f0;color:#9c3735;border-color:#f2ded8}
.notice{background:#eef6e9;color:#416545}
body>main:not(.card){max-width:700px;padding:28px 16px 55px;margin:0 auto}
body>main:not(.card)>a:first-child{display:inline-block;margin-top:0}
body>main:not(.card)>h1{margin:19px 0 6px;font-size:30px}
section.card{margin:17px 0;padding:19px;background:#fff;border:1px solid #dfe6dc;box-shadow:none}
section.card h2{font-size:18px;font-weight:450;letter-spacing:-.025em;margin:0 0 9px}
section.card p{margin-bottom:11px}
section.card button{width:auto}
section.card code{background:#edf3e9;padding:2px 4px;color:#3b6142}
section.card li{font-size:12px;color:#617365;margin-bottom:8px}
@media(max-width:480px){body>main.card{padding:21px;margin-top:40px}body>main:not(.card){padding:21px 13px 38px}body>main:not(.card)>h1{font-size:26px}section.card{padding:15px}}

/* v1.5 — shared black, white and cyan palette */
body{background:#f7f7f7;color:#171717}
body>main.card,section.card{background:#fff;border-color:#dedede}
.mark{background:#080808;color:#29f5ff}
h1,body>main.card h1,body>main:not(.card)>h1,section.card h2{color:#151515}
p,body>main.card p,section.card p,section.card li{color:#666}
label{color:#222}
input:not([type="hidden"]){border-color:#dedede;color:#171717;background:#fff}
button{background:#090909;color:#29f5ff;border-color:#090909}
button:hover{background:#252525}
a{color:#111}
a:hover{color:#008b94}
.notice{background:#e5fcfe;color:#171717;border-color:#a7f8fc}
.error{background:#fcf2f0;color:#9c3735;border-color:#f2ded8}
section.card code{background:#f0f0f0;color:#171717}
input:focus-visible,button:focus-visible,a:focus-visible{outline-color:#29f5ff}
.share-download{display:inline-block;padding:9px 14px;border:1px solid #090909;background:#090909;color:#29f5ff;font-weight:550;text-decoration:none;margin-top:3px}
.share-download:hover{background:#252525;color:#29f5ff;text-decoration:none}
body>main.card.sharedirectory{width:min(760px,calc(100% - 28px));margin-top:40px}
.sharetrail{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid #e5e5e5;padding:10px 0 13px;font-size:12px}
.sharetrail a{margin:0}.sharetrail strong{font-weight:550}
.shareitems{display:grid;gap:0}
.shareitem{display:flex;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid #ebebeb;padding:8px 2px;color:#171717;text-decoration:none;margin:0;min-width:0}
.shareitem>span{display:grid;place-items:center;background:#111;color:#29f5ff;width:27px;height:27px;flex:none;font-size:15px}
.shareitem strong{font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
.shareitem small{color:#777;font-size:11px;white-space:nowrap}
.shareitem>a{margin:0;font-size:11px;color:#111;text-decoration:underline}
a.shareitem:hover{background:#f5fbfb;text-decoration:none}
@media(max-width:480px){body>main.card.sharedirectory{margin-top:18px}.shareitem{gap:7px}.shareitem small{font-size:10px}}
.sharetools{display:flex;justify-content:flex-end;margin:10px 0}.sharetools a{margin:0;padding:5px 9px;border:1px solid #dedede}
.sharegallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:9px;margin-top:12px}
.sharegallery>a{display:block;margin:0;border:1px solid #dedede;min-width:0;color:#111;text-decoration:none}
.sharegallery>a:hover{border-color:#00a6ad}
.sharegallery img,.sharegallery .videotile{display:grid;place-items:center;width:100%;height:125px;object-fit:cover;background:#111;color:#29f5ff;font-size:26px}
.sharegallery a>span:last-child{display:block;padding:6px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
.shareviewer h2{font-size:16px;font-weight:450;overflow-wrap:anywhere}.shareviewer img,.shareviewer video{display:block;max-width:100%;max-height:70vh;margin:12px auto;background:#111}
.shareviewerlinks{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.shareviewerlinks a{margin:0}

.sharecover{display:block;width:100%;max-height:300px;object-fit:cover;background:#f3f3f3;margin:12px 0}
.sharemessage{white-space:normal;overflow-wrap:anywhere;color:#333!important;margin:10px 0 17px!important}
