/* V17.1 — shared inner workspace. No changes to home hero or API. */
html[data-sf171] body #sf153-header .sf153-brand{display:none!important}
html[data-sf171] body{background:#f5f8fc!important;color:#10243e!important}
html[data-sf171] body #sf153-header{position:relative;box-shadow:0 1px 8px #10243e09}
html[data-sf171] body main{width:100%;box-sizing:border-box}
html[data-sf171] body main>h1,html[data-sf171] body main>.intro h1,html[data-sf171] body main>.hero h1{font-size:clamp(29px,3.1vw,42px)!important;line-height:1.15!important;letter-spacing:-.035em!important;margin:8px 0 10px!important;color:#10243e!important}
html[data-sf171] body main>section{border:1px solid #dbe5ef;border-radius:16px;padding:clamp(16px,2vw,24px);min-width:0;box-sizing:border-box}
html[data-sf171] body main>section h2{font-size:clamp(20px,2vw,24px);line-height:1.25;letter-spacing:-.025em}
html[data-sf171] body .sf171-home{display:inline-block;font-size:13px;font-weight:650;color:#0066cc!important;text-decoration:none;margin:0 0 8px}
html[data-sf171] body main>nav:not(.sf-admin-nav){border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0 0 14px!important;font-size:13px;line-height:1.8;width:auto;max-width:none}
html[data-sf171] body main>nav a{color:#0066cc!important}
html[data-sf171] body main>section input,html[data-sf171] body main>section textarea,html[data-sf171] body main>section select{max-width:100%;box-sizing:border-box}
html[data-sf171] body main>section pre{max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap}
html[data-sf171] body main>section button{max-width:100%;white-space:normal;min-height:42px}
html[data-sf171] body main>section button:not(.danger):not([disabled]){border-radius:9px}
html[data-sf171="study"] body main{max-width:1280px!important;padding:24px 20px 44px!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
html[data-sf171="study"] body main>.sf171-home{grid-column:1/-1;margin:0}
html[data-sf171="study"] body main>section{grid-column:1/-1;margin:0!important}
html[data-sf171="study"] body main>section.sf171-half{grid-column:auto}
html[data-sf171="study"] body main>section.hero{text-align:left!important;padding:24px!important;background:linear-gradient(115deg,#fff 40%,#eaf4ff)!important;border:1px solid #dbe5ef!important;box-shadow:0 4px 18px #10243e08!important}
html[data-sf171="study"] body main>section.hero h1{font-size:clamp(30px,4vw,46px)!important;margin:8px 0!important}
html[data-sf171="study"] body .sgquick{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:8px!important;padding:14px 0 0!important;margin:0!important;max-width:none!important;background:transparent!important;box-shadow:none!important;border:0!important}
html[data-sf171="study"] body .sgquick a{background:#fff!important;border:1px solid #d4e1ef!important;border-radius:9px!important;color:#005bb5!important;font-size:13px!important;min-height:40px!important;padding:8px 13px!important;box-sizing:border-box;text-decoration:none!important}
html[data-sf171="study"] body .sgquick a:hover{background:#eaf3ff!important;border-color:#80b5eb!important}
html[data-sf171="study"] body .attachment-panel{background:#f5f8fc;border-color:#dbe5ef}
html[data-sf171="study"] body section[id],html[data-sf171="study"] body form[id]{scroll-margin-top:18px}
html[data-sf171="account"] body main,html[data-sf171="planner"] body main,html[data-sf171="experience"] body main,html[data-sf171="business"] body main,html[data-sf171="intelligence"] body main,html[data-sf171="profile"] body main,html[data-sf171="directory"] body main{max-width:1240px!important;padding:24px 20px 40px!important;margin:auto!important}
html[data-sf171="account"] body .intro{margin:0 0 16px}
html[data-sf171="account"] body #auth{max-width:560px!important;padding:24px!important}
html[data-sf171="account"] body .sf-auth-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:stretch}
html[data-sf171="account"] body .sf-auth-actions button{font-size:13px;padding:9px 11px;min-height:42px;margin:0!important;flex:1 1 auto}
html[data-sf171="experience"] body main>.hero{padding:22px!important;border:1px solid #dbe5ef;border-radius:16px;background:linear-gradient(115deg,#fff,#eaf4ff)!important}
html[data-sf171="experience"] body .tiles a{background:#fff!important;color:#005bb5!important;border-color:#dbe5ef!important;border-radius:12px}
html[data-sf171="planner"] body #plan,html[data-sf171="planner"] body #deadline{padding:20px;background:#fff;border:1px solid #dbe5ef;border-radius:16px;margin:16px 0}
html[data-sf171="planner"] body table{background:#fff;border-radius:12px;overflow:hidden}
html[data-sf171="directory"] body,html[data-sf171="profile"] body,html[data-sf171="legal"] body{max-width:none!important;margin:0!important;padding:0!important}
html[data-sf171="directory"] body main li{background:#fff;border-bottom:1px solid #dbe5ef;padding:10px 12px}
html[data-sf171="legal"] body>h1,html[data-sf171="legal"] body>p,html[data-sf171="legal"] body>nav,html[data-sf171="legal"] body>a{display:block;max-width:760px;margin:16px auto;padding:0 20px;box-sizing:border-box}
/* Private admin: preserve separate navigation and layout; align visual rhythm. */
html[data-sf171] body .sf-admin-nav{border-color:#dbe5ef!important}
html[data-sf171] body .sf-admin-nav a{border-radius:8px!important}
@media(max-width:720px){html[data-sf171] body main{padding:16px 12px 28px!important}html[data-sf171="study"] body main{grid-template-columns:minmax(0,1fr);gap:12px}html[data-sf171="study"] body main>section.hero{padding:18px!important}html[data-sf171="study"] body .sgquick{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-sf171="study"] body .sgquick a{text-align:center;justify-content:center;white-space:normal}html[data-sf171="account"] body #auth{padding:16px!important}html[data-sf171="account"] body .sf-auth-actions button{flex:1 1 auto}html[data-sf171] body main>section{padding:16px!important}}
