.portrait-frame{overflow:visible;box-shadow:0 0 20px 3px #0000000e}.portrait-frame .profile-image{overflow:hidden;box-shadow:none}.ux-cover{display:flex;align-items:center;justify-content:center;gap:28px;background:transparent!important;border-radius:0!important;box-shadow:none!important}.cover-device,.device-outline{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100px;height:174px;border:1px solid #dcdedc;border-radius:20px;background:#fafaf9;color:#a0a29e}.cover-device>span{font-size:20px;font-weight:400}.cover-device small{font-size:10px}.cover-label{font-size:10px;letter-spacing:.06em;color:#737771}.cover-label small{display:block;font-size:11px;letter-spacing:0;margin-top:6px;color:#999d97}.template-page{font-size:14px;line-height:23px}.template-page>main{max-width:720px;width:calc(100% - var(--rail) - 120px);margin-left:calc(var(--rail) + 80px);padding:55px 0 90px}.template-back{font-size:12px;color:#8a8c88;text-decoration:none}.template-intro{margin:48px 0 30px;max-width:608px}.template-kicker{font-size:10px;letter-spacing:.08em;color:#989c95;margin-bottom:16px}.template-intro h1{font-size:26px;font-weight:500;line-height:34px;letter-spacing:-.04em;margin-bottom:13px}.template-intro>p:not(.template-kicker){font-size:14px;line-height:24px;color:#747872;margin:10px 0}.inline-context{display:block}.inline-logo{border:0;background:#f3f4f1;border-radius:7px;padding:3px 7px;font:inherit;color:#686d65;cursor:pointer}.mockup-slot{width:100%;height:260px;display:flex;justify-content:center;align-items:center;gap:40px;border:1px dashed #e1e3de;border-radius:10px;background:#fcfcfb;cursor:pointer;color:#888d84;margin:32px 0 35px;overflow:hidden}.device-outline{width:100px;height:184px;background:white}.mockup-slot>span:last-child{text-align:left;display:grid;gap:6px}.mockup-slot strong{font-size:13px;font-weight:500}.mockup-slot small{font-size:11px}.mockup-slot img{width:100%;height:100%;object-fit:contain}.chapter-nav{display:flex;gap:24px;flex-wrap:wrap;padding:18px 0;border-top:1px solid #eeefeb;border-bottom:1px solid #eeefeb}.chapter-nav a{font-size:12px;color:#8a8e85;text-decoration:none}.chapter-nav a[aria-current]{color:#111}.template-note{font-size:11px;line-height:18px;color:#9c9f98;margin:15px 0 45px;max-width:500px}.chapter{padding:0;margin:0 0 60px;scroll-margin-top:35px}.chapter>h2{font-size:14px;font-weight:600;color:#000;line-height:22px;margin-bottom:32px}.stage{display:grid;grid-template-columns:minmax(0,1fr) 225px;gap:45px;align-items:center;margin:0 0 48px;min-height:175px}.stage-index{font-size:10px;letter-spacing:.05em;color:#b1b4ac;margin-bottom:7px}.stage h3{font-size:14px;font-weight:600;line-height:22px;color:#000;margin:0 0 9px}.stage-copy>p:not(.stage-index){font-size:13px;line-height:22px;color:#74796f}.stage-copy .stage-meta{font-size:10px!important;color:#a3a79e!important;margin-top:11px;line-height:17px!important}.artifact-stack{position:relative;display:block;height:160px;width:225px;border:0;background:none;cursor:pointer;padding:0;isolation:isolate}.stack-paper{position:absolute;width:153px;height:114px;top:13px;left:36px;border:2px solid white;border-radius:12px;background:#f4f5f1;box-shadow:0 3px 14px #0000000b;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;line-height:17px;color:#a0a598;overflow:hidden;transition:transform .25s ease}.stack-paper:nth-child(1){transform:translateX(-25px) rotate(-13deg);background:#f0f1ed}.stack-paper:nth-child(2){transform:translate(25px,-5px) rotate(12deg);background:#f7f7f4}.stack-paper:nth-child(3){transform:rotate(-2deg);background:#fafbf8}.stack-paper img{width:100%;height:100%;object-fit:cover}.stack-paper small{font-size:9px;color:#b6bab0}.slot-mark{font-size:19px;line-height:26px;color:#adb3a4}.artifact-stack:hover .stack-paper:nth-child(1){transform:translateX(-32px) rotate(-17deg)}.artifact-stack:hover .stack-paper:nth-child(2){transform:translate(32px,-9px) rotate(16deg)}.stack-caption{position:absolute;bottom:3px;left:0;width:100%;font-size:10px;color:#a0a59a}.stack-caption>span{margin-left:8px}.drag-over{outline:1px dashed #777e70!important;outline-offset:6px;background:#f6f7f3!important}.template-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #eee;padding-top:24px;font-size:12px;color:#898e82}.template-footer button{border:0;background:none;color:inherit;cursor:pointer}.template-footer a{text-decoration:none}dialog#artifact-viewer{width:min(1000px,calc(100vw - 36px));max-height:90vh;border:1px solid #eeefeb;border-radius:18px;padding:28px 32px;color:#171a15;box-shadow:0 20px 100px #0002}dialog::backdrop{background:#21251e55;backdrop-filter:blur(6px)}body:has(dialog[open]){overflow:hidden}.viewer-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.viewer-header p{font-size:9px;letter-spacing:.07em;color:#a1a69b}.viewer-header h2{font-size:14px;font-weight:600;margin:3px 0}.close-viewer{font-size:24px;border:0;border-radius:50%;background:#f4f5f1;width:34px;height:34px;cursor:pointer}#viewer-guide{font-size:13px;line-height:22px;color:#838a7a;max-width:690px;margin:20px 0}.viewer-tools{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.view-switch{display:flex;border:1px solid #e8eae3;border-radius:8px;padding:3px}.view-switch button,.upload-button{font-size:12px;padding:6px 12px;border:0;border-radius:5px;background:transparent;color:#8c9285;cursor:pointer}.view-switch button[aria-pressed=true]{background:#eff1ea;color:#22281d}.upload-button{background:#22271e;color:white}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery-card{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:180px;background:#f7f8f4;border:1px solid #eceee6;border-radius:12px;padding:18px;font:inherit;font-size:12px;color:#8a927e;cursor:pointer}.gallery-card small{font-size:10px;color:#a6ac9e}.gallery-card img{width:100%;height:200px;object-fit:contain}.gallery-stack{height:320px;position:relative}.gallery-stack .gallery-card{position:absolute;left:50%;top:30px;width:280px;height:230px;transform:translateX(-50%) rotate(var(--rotation));box-shadow:0 7px 22px #0000000b;border:3px solid white}.gallery-stack .gallery-card img{height:190px}.gallery-stack .gallery-card:nth-child(3n+1){margin-left:-100px;--rotation:-12deg}.gallery-stack .gallery-card:nth-child(3n+2){margin-left:100px;--rotation:12deg}.gallery-stack .gallery-card:nth-child(3n){--rotation:-2deg}.drop-hint{font-size:11px;color:#a4aa9c;line-height:18px;margin:24px 0 0}#image-detail img{max-height:65vh;max-width:100%;margin:15px auto;object-fit:contain}#image-detail button{border:0;background:#f3f4ee;padding:7px 12px;border-radius:6px;color:#7d8671;cursor:pointer;font:inherit;font-size:12px}#upload-status{font-size:11px;color:#7c8571;margin-top:10px}[contenteditable]:focus{outline:1px dashed #b3b9ac;outline-offset:5px}[hidden]{display:none!important}@media(max-width:1000px){.template-page>main{width:calc(100% - var(--rail) - 70px);margin-left:calc(var(--rail) + 35px)}.stage{gap:20px;grid-template-columns:minmax(0,1fr) 200px}.artifact-stack{width:200px}.stack-paper{left:24px}}@media(max-width:760px){.template-page>main{margin:0 auto;width:calc(100% - 40px);max-width:608px;padding-top:30px}.template-intro{margin-top:30px}.stage{grid-template-columns:minmax(0,1fr) 190px;gap:15px}.artifact-stack{width:190px}.stack-paper{width:140px;left:25px}.gallery-grid{grid-template-columns:1fr 1fr}.gallery-stack .gallery-card{width:210px}.gallery-stack .gallery-card:nth-child(3n+1){margin-left:-40px}.gallery-stack .gallery-card:nth-child(3n+2){margin-left:40px}}@media(max-width:480px){.stage{grid-template-columns:1fr;gap:12px;margin-bottom:48px}.artifact-stack{justify-self:center}.chapter-nav{gap:15px}.mockup-slot{gap:20px;height:240px}.mockup-slot>span:last-child{max-width:140px}.gallery-grid{grid-template-columns:1fr}dialog#artifact-viewer{padding:20px}.cover-device{width:90px;height:150px}.ux-cover{gap:20px}.template-intro h1{font-size:24px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.stack-paper{transition:none}}

.stack-pager{display:flex;justify-content:center;align-items:center;gap:18px;font-size:10px;color:#8c9481}.stack-pager button{width:28px;height:28px;border:1px solid #e9ece3;border-radius:50%;background:white;color:#69745d;cursor:pointer}
html{scroll-behavior:smooth} .stage-copy [contenteditable]{min-height:44px}

.ux-cover{text-decoration:none}
/* Authoring controls stay compact and disappear from the presentation preview. */
.author-toolbar{display:flex;align-items:center;justify-content:space-between;margin:22px 0 0;color:#6b7362;font-size:11px}.author-toolbar button,.footer-actions button{min-height:36px;padding:6px 10px;background:#f4f5f1;border:1px solid #e7eae1;border-radius:7px;font:inherit;color:#515b46;cursor:pointer}#workspace-status{font-size:11px;line-height:18px;color:#5d684f;margin-top:9px}#workspace-status:empty{display:none}.project-context{display:grid;grid-template-columns:1fr 1fr;gap:18px 25px;margin:25px 0 0}.project-context dt{font-size:11px;color:#171b13;font-weight:500}.project-context dd{font-size:12px;line-height:20px;color:#69735e;margin:3px 0 0}.decision-summary{margin:32px 0}.decision-summary h2{font-size:14px;font-weight:600;color:#000;margin-bottom:9px}.decision-summary p{font-size:13px;line-height:23px;max-width:570px;color:#69735e}.prototype-link{margin-top:15px;display:grid;gap:6px}.prototype-link label{font-size:11px;color:#5f6b52}.prototype-link input{width:100%;padding:8px;border:1px solid #d9decf;border-radius:6px;font:inherit;font-size:12px}.prototype-link small{font-size:10px;color:#66735a}.prototype-link a{font-size:12px;color:#414d35}.footer-actions{display:flex;flex-wrap:wrap;gap:7px}.template-footer{align-items:start}.include-stage{display:flex;gap:7px;align-items:center;margin:0 0 18px;font-size:11px;color:#626e54}.include-stage input{accent-color:#505c43}.artifact-fields{display:grid;gap:13px;margin:20px 0}.artifact-fields label{font-size:11px;color:#5c6850;display:grid;gap:5px}.artifact-fields input,.artifact-fields textarea{width:100%;font:inherit;font-size:13px;color:#303a25;padding:9px;border:1px solid #d9dfd0;border-radius:6px;background:white}.artifact-image-viewport{max-height:60vh;overflow:auto;border-radius:7px;background:#fafbf8}.artifact-image-viewport img{display:block;max-height:55vh;max-width:100%;margin:0 auto!important;object-fit:contain}.artifact-image-viewport.full-size img{max-width:none!important;max-height:none!important;width:auto;height:auto}.inline-logo-image{display:inline-block;width:20px;height:20px;object-fit:contain;vertical-align:middle}#artifact-description{font-size:12px;line-height:21px;color:#5c684e;margin:12px 0}#slot-guidance{padding:24px 0}#slot-guidance h3{font-size:14px;font-weight:600;margin-bottom:12px}#slot-guidance p{font-size:13px;line-height:23px;max-width:620px;color:#657157;margin-bottom:22px}#back-from-guidance{border:0;background:none;font:inherit;font-size:12px;color:#556249;margin-left:18px;cursor:pointer}.gallery-stack .gallery-card[data-stack-position="0"]{margin-left:0;--rotation:-2deg;top:40px}.gallery-stack .gallery-card[data-stack-position="1"]{margin-left:-90px;--rotation:-13deg}.gallery-stack .gallery-card[data-stack-position="2"]{margin-left:90px;--rotation:13deg}.stage-copy .stage-meta,.stack-caption,.template-note,.drop-hint,.stack-paper,.stack-paper small,.gallery-card,.gallery-card small{color:#69735f!important}.stage-index,.template-kicker,.viewer-header p{color:#737b6b}.stage-copy>p:not(.stage-index),#viewer-guide{color:#636e59}.presentation-preview .editor-only,.presentation-preview .template-note,.presentation-preview .stage-meta{display:none!important}.presentation-preview .stage[data-included=false]{display:none}.stage[data-included=false]>.stage-copy:after{content:'Excluded from preview';display:block;font-size:10px;color:#7e8773;margin-top:10px}.presentation-preview [data-edit]{outline:none}.published-artifacts summary{font-size:12px;cursor:pointer;color:#515f42}.published-artifacts figure{margin:18px 0}.published-artifacts img,.published-hero{width:100%;height:auto}.published-artifacts figcaption{font-size:11px;line-height:20px;color:#66735a;margin-top:8px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #536046;outline-offset:4px}.template-page .nav-links{gap:8px}.template-page .nav-links a{display:flex;align-items:center;min-height:32px}.template-page .side-nav .nav-links a[aria-current]::before{top:14px}.presentation-preview .author-toolbar{position:sticky;top:0;background:#fffffff5;z-index:5;padding:8px 0}@media(max-width:760px){.template-page .side-nav{flex-wrap:wrap;gap:12px}.template-page .nav-links{flex-wrap:wrap;gap:6px 14px;display:flex}.template-page .nav-links a{min-height:36px}.template-page .nav-links a:nth-child(3){display:flex}.template-footer{flex-direction:column}.template-page .side-nav .nav-links a[aria-current]::before{display:none}.close-viewer,.stack-pager button{min-width:44px;min-height:44px}.view-switch button,.upload-button{min-height:44px}.gallery-stack .gallery-card[data-stack-position="1"]{margin-left:-38px}.gallery-stack .gallery-card[data-stack-position="2"]{margin-left:38px}}
@media(max-width:480px){.project-context{grid-template-columns:1fr 1fr;gap:15px}.gallery-stack{height:260px}.gallery-stack .gallery-card{width:160px;height:190px;padding:10px;font-size:11px}.gallery-stack .gallery-card img{height:145px}.gallery-stack .gallery-card[data-stack-position="1"]{margin-left:-23px;--rotation:-9deg}.gallery-stack .gallery-card[data-stack-position="2"]{margin-left:23px;--rotation:9deg}.template-page .side-nav{display:block}.template-page .nav-links{margin-top:13px;justify-content:space-between;gap:4px}.template-page .nav-links a{font-size:11px}.stage{min-height:0}.prototype-link input,.artifact-fields input,.artifact-fields textarea{font-size:16px}.template-intro{margin-top:28px}}
.artifact-stack[data-artifact-count="1"] .stack-paper{left:50%;top:13px;transform:translateX(-50%) rotate(-2deg)}.gallery-card img{min-height:0;flex:1 1 auto;object-fit:contain}.gallery-card>span:last-child{flex-shrink:0;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:18px}.gallery-card small{flex-shrink:0}

@media(max-width:480px){.portfolio-home .side-nav{display:block}.portfolio-home .nav-links{display:flex;justify-content:space-between;gap:4px;margin-top:12px}.portfolio-home .nav-links a{min-height:44px;display:flex;align-items:center}.portfolio-home .nav-links a:nth-child(3){display:flex}.portfolio-home .carousel-controls button{width:44px;height:44px}}
